Re: [vserver] Prevent namespace cleanup

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sun 15 Mar 2009 - 20:58:21 GMT
Message-ID: <20090315205821.GC16213@MAIL.13thfloor.at>

On Sun, Mar 15, 2009 at 09:21:35PM +0100, Oliver Welter wrote:
> -----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.

the namespace cleanup affects only the guest namespace(s)
so the host context and namespace are not affected at all

> > 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.

so simply mounting it at some point (e.g. from the
initialize script) should suffice (or even from a
script manually started at host startup), no?

best,
Herbert

> 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-----
Received on Sun Mar 15 20:58:31 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 15 Mar 2009 - 20:58:32 GMT by hypermail 2.1.8