[xen-tools] Re: Seperate /home?
Henning Sprang
henning_sprang at gmx.de
Wed Jan 10 13:59:21 CET 2007
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
More information about the xen-tools-discuss
mailing list