setting up nfs
Posted 07-31-2006 at 11:59 AM by baikonur
this is what I got in the beginning:
% mount 192.168.1.200:/home/nfstest /mnt/nfstest
NFS Portmap: RPC: Program not registered
@ http://nfs.sourceforge.net/nfs-howto/ar01s03.html I learned that rpc.mountd handles the initial mount requests.
Then, after I started /usr/sbin/rpc.mountd (and /usr/sbin/rpc.nfsd) on the server, it told me I didn't have permission.
But this was a test folder, chmod 777 just to make sure for now!?
@ http://nfs.sourceforge.net/nfs-howto/ar01s07.html I was told to run exportfs -ra. a short excerpt from exportfs's manpage:
The exportfs command is used to maintain the current table of exported file systems for NFS. This list is kept in a separate file named /var/lib/nfs/xtab which is read by mountd when a remote host requests access to mount a file tree, and parts of the list which are active are kept in the kernel's export table.
AHA.
works.
% mount 192.168.1.200:/home/nfstest /mnt/nfstest
NFS Portmap: RPC: Program not registered
@ http://nfs.sourceforge.net/nfs-howto/ar01s03.html I learned that rpc.mountd handles the initial mount requests.
Then, after I started /usr/sbin/rpc.mountd (and /usr/sbin/rpc.nfsd) on the server, it told me I didn't have permission.
But this was a test folder, chmod 777 just to make sure for now!?
@ http://nfs.sourceforge.net/nfs-howto/ar01s07.html I was told to run exportfs -ra. a short excerpt from exportfs's manpage:
The exportfs command is used to maintain the current table of exported file systems for NFS. This list is kept in a separate file named /var/lib/nfs/xtab which is read by mountd when a remote host requests access to mount a file tree, and parts of the list which are active are kept in the kernel's export table.
AHA.
works.