PDA

View Full Version : [xubuntu] [Solved] NFS wont mount



darren2
August 19th, 2015, 04:30 AM
Server Side:
/etc/exports


/media/drseuss/1400 192.168.1.client(rw,nohide,insecure,no_subtree_che ck,async)


/etc/hosts.deny


rpcbind mountd nfsd statd lockd rquotad : ALL


/etc/hosts.allow


rpcbind mountd nfsd statd lockd rquotad : 192.168.1.client 192.168.1.server


Client:


showmount -e 192.168.1.server


gives


Export list for 192.168.1.server:
/media/drseuss/1400 192.168.1.client


----------------and-----------------------


sudo mount -t nfs -v 192.168.1.server:/media/drseuss/1400 /media/htpc/1400


gives


mount.nfs: timeout set for Tue Aug 18 18:52:36 2015
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.server,clientaddr=192.168.1 .client'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.1.server:/media/drseuss/1400




I found out that kodi can access the share, but the mount command stilll cannot.
What gives, why wont this mount?
Thanks in advance.

SeijiSensei
August 19th, 2015, 03:28 PM
Try adding "no_root_squash" to the list of options in /etc/exports.

darren2
August 19th, 2015, 09:13 PM
That looks like it did it, thank you very much.