Problems with NFSv4 client reading mounted directories

Machin, Glenn D GMachin at sandia.gov
Mon Jul 10 08:36:21 EDT 2006


Thanks that did it, and sure enough the CITI documentation had the
nohide attribute.  I just missed it.
 
Glenn
 

________________________________

From: Usha Ketineni [mailto:uketinen at us.ibm.com] 
Sent: Monday, July 10, 2006 12:35 AM
To: Machin, Glenn D
Cc: nfsv4 at linux-nfs.org; nfsv4-bounces at linux-nfs.org
Subject: Re: Problems with NFSv4 client reading mounted directories
Importance: High




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/20060710/cb33f8e0/attachment.htm


More information about the NFSv4 mailing list