[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] create LVM-based domU using more than one volume group



Adam Gold wrote:
Is it possible to create a guest installation which sources its partitions using more than one volume group. For example, let's saying there are two VGs on dom0, vgxen1 and vgxen2, could I define the guest creation paramters such that root and swap are LVs within vgxen1 and home is an LV within vgxen2?

Xen doesn't care - you just need to specify the right block device for each virtual disk.

Is there an additional flag I can add to xen-create-image maybe?

Ah, now that's a different matter. I don't use tools any more for creating images - I just manually create block devices and either copy a template blank guest onto them, or us debootstrap to install a fresh install (all my hosts and guests are Debian).

Worst case is that you could create the guest using just one (or a small number of) devices, then once it's installed you can mount the disks in Dom0 and move stuff about - eg make a new filesystem for /home, mount it as (say) /mnt2, move everything from /mnt/home/ to /mnt2/ (assuming the guest root is mounted at /mnt), and then edit the guest fstab.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.