NFSv4 Mount Problems on RHEL 5.1
Hi There,
I am working to export a directory on dom0 that can be used by the virtual machines that run on this machine. I would like to use NFSv4 so only one port needs to be open on the firewall (and allows for a SSH client to encrypt the data in the future).
Server side (10.43.11.20) we have:
[root@dom0 ~]# cat /etc/exports
/home/greg/dom0share 10.43.11.1/24(rw,fsid=0,sync,insecure,no_subtree_check)
[root@dom0 ~]# exportfs -rv
exporting 10.43.11.1/24:/home/greg/dom0share
[root@dom0 ~]# exportfs -v
/home/greg/dom0share
10.43.11.1/24(rw,wdelay,insecure,root_squash,no_subtree_check,fsid=0,anonuid=65534,anongid=65534)
[root@dom0 ~]#
Client side (10.43.11.21) we have:
[root@orr01 ~]# mount -t nfs4 10.43.11.20:/home/greg/dom0share /home/greg/dom0share
mount.nfs4: 10.43.11.20:/home/greg/dom0share failed, reason given by server: No such file or directory
[root@orr01 ~]# mount -t nfs 10.43.11.20:/home/greg/dom0share /home/greg/dom0share
[root@orr01 ~]#
It seems that the mount works if we don't use file system type nfs4. When we try to use nfs4, we see this "No such file or directory" error message from the server. This error is very strange as we know the mount works using nfs. By the way, the firewall on both systems are disabled for this test.
Are we seeing a defect in nfs4 or is there a simpler answer to this problem?
Thanks, Greg
|