From: Gregory (Grisha) Trubetskoy (grisha_at_ispol.com)
Date: Tue 26 Apr 2005 - 20:31:33 BST
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.
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