NFS Consists of the following:
/etc/exports –> /etc/exports contains all the NFS shares
/usr/sbin/exportfs -r
#exportfs -r is used to synchronize nfsd in memory with the /etc/exports file
#Use exportfs -v to see which shares nfsd is currently exporting
/etc/rc.d/init.d/nfslock - which has 2 parts
/sbin/rpc.lockd
/sbin/rpc.statd
/etc/rc.d/init.d/nfs - which has 3 parts
/usr/sbin/rpc.rquotad
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
At bare minimum you need to have portmap (or portmapper), mountd (or rpc.mountd), and nfsd (or rpc.nfsd) running; otherwise NFS isn’t running.
#Sample nfs /etc/exports file:
/home/ftp/pub (ro,insecure,all_squash)
/home/ftp/pub adminsvr(rw,insecure,all_squash)
#Above we have two entries, one for everyone, and one
for the adminsvr machine.
/etc/exports –> /etc/exports contains all the NFS shares
/usr/sbin/exportfs -r
#exportfs -r is used to synchronize nfsd in memory with the /etc/exports file
#Use exportfs -v to see which shares nfsd is currently exporting
/etc/rc.d/init.d/nfslock - which has 2 parts
/sbin/rpc.lockd
/sbin/rpc.statd
/etc/rc.d/init.d/nfs - which has 3 parts
/usr/sbin/rpc.rquotad
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
At bare minimum you need to have portmap (or portmapper), mountd (or rpc.mountd), and nfsd (or rpc.nfsd) running; otherwise NFS isn’t running.
#Sample nfs /etc/exports file:
/home/ftp/pub (ro,insecure,all_squash)
/home/ftp/pub adminsvr(rw,insecure,all_squash)
#Above we have two entries, one for everyone, and one
for the adminsvr machine.
No comments:
Post a Comment