KfWiki : LinuxNFS

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [1874]

Most recent edit made on 2008-08-06 21:05:21 by WikiAdmin

Additions:
/data 192.168.0.2(rw,no_root_squash,async)


Deletions:
/data 192.168.0.2(rw,no_root_squash)




Revision [785]

Edited on 2007-07-15 22:15:06 by WikiAdmin

Additions:
Make the mount permanent, edit /etc/fstab
192.168.0.1:/data /nfs.data nfs defaults 0 0




Revision [784]

The oldest known version of this page was edited on 2007-07-15 22:12:50 by WikiAdmin
HomePage » Linux » LinuxFilesystem » LinuxNFS


Setting up NFS server

Edit the export file in /etc/exports
exports
/data 192.168.0.2(rw,no_root_squash)


Enable and start NFS service
chkconfig --level 35 portmap on
chkconfig --level 35 nfs on
service portmap start
service nfs start


If portmap is not started, you will get an error similiar to the following:
Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register


Mounting the NFS share on remote machine

Create the mount point directory, then mount the NFS share
mkdir /nfs.data
mount 192.168.0.1:/data /nfs.data
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.2125 seconds