Subject: Re: [vserver] Prevent namespace cleanup
From: Oliver Welter <mail@oliwel.de>
Date: Sun, 15 Mar 2009 21:21:35 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Herbert,

Herbert Poetzl schrieb:
> On Sun, Mar 15, 2009 at 12:27:34PM +0100, Oliver Welter wrote:
> Hi All,
> 
> It seems that I am misunderstanding the namespace cleanup thing...
> 
> I use unionfs (aufs) for my guests rootfs - a basic root stub and a
> physical data partion are assemlbed in a script in prepre-start and
> mounted to the actual guests root.
> 
> In parallel, I have a script in post-start that mounts the physical
> device to a backup mountpoint /mnt/backup/<server>.
> 
> I now try to use "namespace-cleanup-skip" settings, to prevent this
> backup mountpoint to disapear from the root context but I am
> unsuccessful. 
> 
>> what do you mean by 'root context'?

Sorry, I guess I should say namespace - the system state I see from the
host system.

> I tried putting the parent /mnt/backup as well as the directr path
> /mnt/backup/www1 into either the gloabl as also the guests own
> settings file - but it wont work.
> 
>> what are you trying to achieve?

I want to have the Device containing the data mounted on a mountpoint
visible from the host system to run a backup via the host.

TIA

Oliver
- --
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm9Y0wACgkQyrew3TmFFyFlWwCcCKn4zs6TSi52czEvIDfiVikH
W0MAn29NUHoeCQBRLR3zPv3TGn75/Uqp
=zmgD
-----END PGP SIGNATURE-----