exportfs nohide option for nfsv4
Subsystems (2)
what i feel is that when i have explicitly exported exported /export/exp1 and /export i should not require to specify no hide option(I have explicitly exported /export/exp1 and so why should i ask nfs to unhide it)
I am referring to man page of exports.
Please let me know if i am wrong.
thanks,
-- kiran
Quoted 32 lines · --- "J. Bruce Fields
Quoted 3 lines · mehta kiran
Hi ,
I am using RHEL 4 GA.
i created directories /export ,/export/exp1.
Quoted 5 lines
Then i started all the nfs daemons.
I mounted a disk on /export/exp1.Then i exported /export using
exportfs -o rw,no_root_squash,fsid=0*:/export
Quoted 3 lines
I exported /export/exp1 using
exportfs -o rw,no_root_squash*:/export/exp1
Quoted 5 lines
I mounted exported fs on client side using
mount -t nfs4 server:/ /sharebut i am not able to see contents of
/share/exp1
Quoted 1 line
When i used nohide attribute for exporting
fs
Quoted 3 lines
then everyting works fine.
As per man page , nohide is not needed if
the
Quoted 3 lines
filesystems mounted on child directories are exported.
Please let me know if i ma wrong
Quoted 11 lines
Could you point out which part of which manpage you're referring to?
The nohide option *is* (as you've seen) required in this case. (Well,
either that or "crossmnt" on the parent export.)--b.
-------------------------------------------------------
Quoted 6 lines
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 4 lines
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 5 lines · mehta kiran
what i feel is that when i have explicitly exported exported /export/exp1 and /export i should not require to specify no hide option(I have explicitly exported /export/exp1 and so why should i ask nfs to unhide it)
In v4, the client expects *all* of the exports to be stitched together into a single namespace.
In v3, mounting is done with a separate protocol. So, for example, it's possible that you can get a different file by mounting "/a" and then looking up "b" than you would get if you mounted "/a/b".
To v3 clients, exporting /export/exp1 makes it possible for clients to mount /export/exp1, without allowing them to mount /export and then traverse to /export/exp1.
Quoted 1 line
From the point of view of someone that only uses v4, yes, the "nohide"
looks redundant since the only way to get to that export is by traversing from the parent. But for v3 it isn't redundant, so this requirement is not likely to go away.
(I suppose as a special case we could treat "fsid=0" as implying the crossmnt option for v4 clients. I don't know whether that's a good idea.)
Quoted 1 line
I am referring to man page of exports.
Which part of "man exports" are you referring to? Could you quote the relevant passage? I don't see anything that says "nohide" is unnecessary in this case.
--b.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs