[xen-tools] Re: Seperate /home?

From: Henning Sprang <henning_sprang_at_gmx.de>
Date: Wed, 10 Jan 2007 13:59:21 +0100
On 1/10/07, Terry Churchill <terry_at_sleek.net> wrote:
> Hi,
>
> I couldn't find anything in the list archives regarding this, are
> there any plans to allow /home to be stored in a separate disk image/
> lvm? I thinking a default of no, but an option to pass something like
> --home (with the ability to change it's size as with the existing
> images) would be useful.

Apart form my previous mail some ides that might help you get done faster:

Something you can do to get your extra parition:
- write a role script that creates your extra partition
- set home=MYPARTITION as environment variable on the command line
when calling xen-create-image
- use this value to fill in the value of a home partition in a special
config template you use for this domain
- add a role script that changes fstab to use the partition named in
$home, and that moves the stuff from home in the target dir to this
location
This script could also decide if the /home partition should be
formatted or left alone, so you could use xen-.tools maybe to
reinstall machines.

But I think I must admit that for such and other more complex
scenarios, I rather use xen-tools only to initially create block
devices, and then do network installations for VMs with FAI.

Henning
Received on Wed Jan 10 2007 - 12:59:31 GMT

Mailing list overview.