From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Tue 26 Apr 2005 - 23:45:48 BST
On Tue, Apr 26, 2005 at 03:31:33PM -0400, Gregory (Grisha) Trubetskoy wrote:
>
> Has anyone here tried using automount with vservers? We've been looking at
> engineering a backup "snapshot" solution and one idea was to use automount
> to let vservers see their files going back 10 days via automounted nfs off
> another server.
>
> Except that it turns out that automount and namespaces do not appear to
> play well together. In fact, if you try this:
>
> 1. start autofs (with a mountpoint somewhere inside a vserver)
> 2. start the vserver
> 3. enter the vserver
> 4. cd into the automounted directory
>
> ...at step 4 you'll get a complete kernel freeze. If you swap steps 1 and
> 2, then, as expected, nothing will happen at step 4 because the vserver
> namespace will not see the autofs mount.
did you try to mount the autofs 'just' inside the
vserver namespace (well, that's what I would do anyways)
btw, which version (kernel/tools) are you using?
best,
Herbert
>
> I've found some interesting stuff about this here:
>
> ftp://ftp-eng.cobalt.com/pub/whitepapers/autofs/towards_a_modern_autofs.txt
>
> Anyway, the point of this e-mail was just to ask around if anyone has
> played with this and how far you got. Because to me this looks like an
> avenue not worth following at this point since making autofs and
> namespaces work together is not a simple matter. But I may be wrong.
>
> Cheers,
>
> Grisha
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver