Thread: NFS Troubles!!
View Single Post
  #1   (View Single Post)  
Old 11th September 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default NFS Troubles!!

Hi everyone I am currently having NFS set up trouble.
To give you a little background knowledge, I am trying to nfs on these computers:
192.168.1.66 the server
192.168.1.71 is the client.

This is my /etc/exports on 192.168.1.66
Code:
/usr/mount/350gb/  -maproot=disappearedng -alldirs -network  192.168.1.71
where the username is always disappearedng on 192.168.1.71.

showmount -e produces:
Code:
Exports list on localhost:
/usr/mount/350gb/                  192.168.1.71
So I restarted my computer, with
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
in my /etc/rc.conf

On 192.168.1.71, I have done # nfsiod -n 4
and this is what I get when I try to mount
Code:
 
$sudo mount_nfs 192.168.1.66:/usr/mount/350gb /usr/imports/
Password:
[udp] 192.168.1.66:/usr/mount/350gb: Permission denied 
...
This is my /etc/fstab on the server
Code:
# Device        Mountpoint              FStype  Options         Dump    Pass#
/dev/ad4s4b     none                    swap    sw              0       0
/dev/ad4s4a     /                       ufs     rw              1       1
/dev/ad4s4e     /tmp                    ufs     rw              2       2
/dev/ad4s4f     /usr                    ufs     rw              2       2
/dev/ad4s4d     /var                    ufs     rw              2       2
/dev/ad4s1d     /usr/mount/50gb         ufs     rw              2       2
/dev/ad4s2d     /usr/mount/350gb        ufs     rw              2       2
/dev/acd0       /cdrom                  cd9660  ro,noauto       0       0
Why can't I mount??? (I HAVE FOLLOWED THE INSTRUCTIONS EXACTLY).

And how do I restart my nfsdaemon???
Do I need to restart mountd, nfsd and what else whenever I change /etc/exports and if yes, how do I do it?

(I know you can do this by sudo /etc/rc.d/nfsd stop)
Thx
Reply With Quote