Problems with NFSv4 client reading mounted directories

Usha Ketineni uketinen at us.ibm.com
Mon Jul 10 02:34:39 EDT 2006


nfsv4-bounces at linux-nfs.org wrote on 07/09/2006 07:27:29 PM:

> On the server /export/DFS is the NFSv4 root.  I have mounted (--bind
> ) the /export/src directory under /export/DFS/dce.sandia.
> gov/fs/proj/src. I also set up a referral to see if that would work. 
> On the client I am mounting the root fh of the server to the directory 
/... 
> On the server I can do an "ls /export/DFS/dce.sandia.
> gov/fs/proj/src" and see the files in that directory.  However from 
> the client I do not see the data that should be in src.  From the 
> client  I can see other data just not anything mounted via the mount 
--bind.
> What am I doing wrong?  Any help would be appreciated. 

I noticed from the man page of /etc/exports, if a server exports two 
filesystems one of which
is mounted on the other then the client has to mount both the filesystems 
explicitly to get access
to the files.
 
> /etc/exports: 
>         /export/DFS gss/krb5i(rw,fsid=0,insecure,no_subtree_check,acl) 
>         /export/DFS/dce.sandia.gov/fs/proj/src gss/krb5i(rw,
> insecure,no_subtree_check,acl) 

 So, you might want to try giving "nohide" option in your second export on 
the server to see the hidden files.

> 
> Mount Command Output: 
> /export/src                                             on 
> /export/DFS/dce.sandia.gov/fs/proj/src type none (rw,bind)
> _______________________________________________
> NFSv4 mailing list
> NFSv4 at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/nfsv4/attachments/20060709/fd73c0d7/attachment.htm


More information about the NFSv4 mailing list