how to hide nfs share absolute path to the clients

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Aug 27 13:00:40 UTC 2008


I confirm that the actual path is invisible now to the clients, using what g
suggested:
On the nfs server I have

df
/dev/drbd0            20635024   4964288  14622532  26% /drbd0
/drbd0/nfs       20635024   4964288  14622532  26% /nfsapp

and
/etc/exports
/nfsapp 10.1.1.0/255.255.255.0(ro,all_squash,mp=/drbd0,async)<http://10.1.1.0/255.255.255.0%28ro,all_squash,mp=/drbd0,async%29>

while fstab of client is
nfsserv1:/nfsapp    /nfsapp            nfs    defaults,noauto        0 0

and a df command on it now gives:

nfsserv1:/nfsapp      20635040   4964288  14622560  26% /nfsapp

So the original path is not visible at all to the client.

Thanks again g (whoever you are... ;-)

Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20080827/7eec21e1/attachment-0001.html 


More information about the users mailing list