Skip to contentSkip to conversation

nfs exports & bind mounts

DISCUSSION [email protected] 1 participant 1 message Nov 10, 2007

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

ok, that explains why bind-mounting and exporting directories works, but no= t files.

thanks!
=

Quoted 8 lines

-----Urspr=FCngliche Nachricht-----
Von: Trond Myklebust <[email protected]>
Gesendet: 10.11.07 23:26:35
An: [email protected]
CC: [email protected]
Betreff: Re: [NFS] nfs exports & bind mounts

Quoted 19 lines

=

=

Quoted 14 lines · On Sat, 2007-11-10 at 22:36 +0100, [email protected] wrote:

Hi !
=

i think everybody knows bind mounts.
=

i can do:
=

touch /otherpath/dummyfile
mount -bind /path/file /otherpath/dummyfile
=

so /path/file becomes accessible via /otherpath/dummyfile - dummyfile h=

as the same size as file after successful bind-mount

Quoted 3 lines
Quoted 3 lines

=

i can loopback-mount /otherpath/dummyfile to /otherpath/mnt if file/dum=

myfile contains a filesystem

Quoted 3 lines
Quoted 3 lines

=

when i export /otherpath via nfs (crossmnt), from the client side i can=

access the contents of the filesystem inside file/dummyfile via /otherpath=
/mnt - but i cannot access the contents of dummyfile itself, i.e. the bind= -mount seems to get lost on export.

Quoted 5 lines
Quoted 3 lines

=

can someone tell if this is expected behaviour or if this is a bug ?

=

Quoted 8 lines

The NFS client will not cross a mount point unless the target is a directory. That is not a bug, it is expected behaviour. =

Trond
=

=

______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! =

Jetzt testen! http://produkte.web.de/club/?mc=3D021130

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs