Hi,
When trying share and mount, the behaviors of mount are different when 
using the part of the path of exported fs with vers=2,3,4
On server:
# share /a/b/c
On client:

# mount server:/a/b /mnt
or
# mount -o vers=4 server:/a/b /mnt
It succeeds, and c is under /mnt.
# nfsstat -m
/mnt from server:/a/b
 Flags:         
vers=4,proto=tcp,sec=sys,hard,intr,link,symlink,acl,rsize=1048576,wsize=1048576,retrans=5,timeo=600
 Attr cache:    acregmin=3,acregmax=60,acdirmin=30,acdirmax=60

# mount -o vers=2 server:/a/b /mnt
or
# mount -o vers=3 server:/a/b /mnt

It will return "Permission denied"

So is it expected result of pseudo-fs?

Thanks,

-- 
John Cui
x82195



Reply via email to