You are not logged in.
Hi,
Could anybody tell me why I got an error when mounting this way:
sudo mount -v -t nfs 10.1.1.1:/home/geza/pub /mnt/test
and why not with this:
sudo mount -v -t nfs -o vers=3 10.1.1.1:/home/geza/pub /mnt/test
Server side: Archlinux kernel 3.12.5 with net-tools, nfs-utils
cat /etc/exports
/home/geza/pub 10.1.1.10(rw,no_subtree_check,all_squash,anonuid=1000,anongid=100,fsid=2434421862)
Client side: Cent OS 6.4 kernel 2.6.32
Offline
I had a similar problem while attempting to mount on any os, except for OS X.
https://wiki.archlinux.org/index.php/NFS#File_system
For example,
# mkdir -p /srv/nfs4/music
# mount --bind /home/pawel/Music /srv/nfs4/music
And then client side
# mount -t nfs4 Server:/srv/nfs4/music /mnt/music
Binding the mount point to somewhere in /srv/nfs4 then mounting that directory seems to fix it for me.
But it is odd that forcing version 3 works
Last edited by hibajugala (2013-12-21 19:37:01)
Offline
Thanks for the tip. It looks like you are right, that did the tick. :-)
But I am wondering where is the NFS root (/srv/nfs4) defined. If I could change it, it might made the mount binding step unnecessary.
Offline