Skip to contentSkip to conversation

exportfs nohide option for nfsv4

DISCUSSION mehta kiran 2 participants 2 messages Mar 10, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi ,
I am using RHEL 4 GA.
i created directories /export , /export/exp1. 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

I exported /export/exp1 using
exportfs -o rw,no_root_squash *:/export/exp1

I mounted exported fs on client side using
mount -t nfs4 server:/ /share

but i am not able to see contents of /share/exp1 When i used nohide attribute for exporting fs then everyting works fine.

As per man page , nohide is not needed if the filesystems mounted on child directories are exported.
Please let me know if i ma wrong

thanks,
--kiran

__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

-------------------------------------------------------
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

#1 lore raw
Quoted 15 lines · mehta kiran

Hi ,
I am using RHEL 4 GA.
i created directories /export , /export/exp1. 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

I exported /export/exp1 using
exportfs -o rw,no_root_squash *:/export/exp1

I mounted exported fs on client side using
mount -t nfs4 server:/ /share

Quoted 8 lines

but i am not able to see contents of /share/exp1 When i used nohide attribute for exporting fs then everyting works fine.

As per man page , nohide is not needed if the filesystems mounted on child directories are exported.
Please let me know if i ma wrong

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.

-------------------------------------------------------
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