[Vserver] vserver as an image file mounted using loop

2005-12-11 Thread Alexander Kabanov
hi,

is it ok to keep vserver as an image file and then mount it using loop device?

let say I have vs1.img, vs2.img ... vsN.img, all i want to do just
mount them whenever I need, and do vserver vsN start

image contains something like
/conf
/root

and,
/vservers/vs1 (symlink to /mountpoint/vs1/root)
/etc/vservers/vs1 (symlink to /mountpoint/vs1/conf)

thanks

--alex
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver as an image file mounted using loop

2005-12-11 Thread Herbert Poetzl
On Sun, Dec 11, 2005 at 11:42:37AM -0800, Alexander Kabanov wrote:
> hi,
> 
> is it ok to keep vserver as an image file and then mount it using loop
> device?

yep, perfectly fine, although you add one kernel indirection
and lose the ability to unify the guest with others ...

> let say I have vs1.img, vs2.img ... vsN.img, all i want to do just
> mount them whenever I need, and do vserver vsN start
> 
> image contains something like
> /conf
> /root
> 
> and,
> /vservers/vs1 (symlink to /mountpoint/vs1/root)
> /etc/vservers/vs1 (symlink to /mountpoint/vs1/conf)
> 
> thanks

best,
Herbert

> 
> --alex
> ___
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver