Re: whether can NFS exports option 'nohide' work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 07, 2010 at 04:58:28PM +0800, Bian Naimeng wrote:
> Hi,
> 
> I want to use this option, but i find it doesn't work at RHEL5.4GA and Fedora12.
> 
> My /etc/exports like this:
> # cat /etc/exports
>   /nfsroot/nfsv4	127.0.0.1(rw,nohide,fsid=0)
>   /nfsroot/nfsv4/dir1	127.0.0.1(rw,nohide,crossmnt)
>   /nfsroot/nfsv4/dir2	127.0.0.1(rw,nohide,crossmnt)
> 
> Then:
> 
> # mkdir /nfsroot/nfsv4/dir1/tmpdir
> # echo "best wishes" > /nfsroot/nfsv4/dir1/file1
> # echo "happy new year" > /nfsroot/nfsv4/dir2/file2
> 
> # service nfs restart
> # mount -t nfs4 127.0.0.1:/dir2 /nfsroot/nfsv4/dir1/tmpdir
> # mount -t nfs4 127.0.0.1:/dir1 /mnt
> 
> There is file2 at /nfsroot/nfsv4/dir1/tmpdir, but nothing at /mnt/tmpdir.
> I'm not sure i have used it correctly, and whether it really work? 
> Thanks for your help.

You can't re-export nfs filesystems.

(I wonder why we aren't warning about this?)

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux