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

Re: [Xen-users] Using lvm for domUs


  • To: Goswin von Brederlow <brederlo@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
  • Date: Sun, 06 May 2007 23:54:23 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Tijl Van den Broeck <subspawn@xxxxxxxxx>
  • Delivery-date: Sun, 06 May 2007 15:50:52 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=AudO79+96nchrSPJaR04hnplVBmb7xctKT4V7qvywrbxD2Zu7dcXOzLJ+AB8nYkJfEUBUUPNLYHhGG8QUUTlWvNHjnBElGrQx2nTRUl34T6wORuMJMw+h0VPeOAZY2u4nDJXKjzXqsrQTMqk2+LwYucvlLQw1Kpsdkhtl3nLlh8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Goswin von Brederlow wrote:
Nico Kadel-Garcia <nkadel@xxxxxxxxx> writes:

Goswin von Brederlow wrote:
You can always create LVs in dom0 and export them as sda1/2/3/... to
domU. You have to reboot domU to resize anyway. That way you can then
snapshot them in dom0, mount the snapshot and run your backup.

I do that now, but I can't do a raw install that way using
virt-install or virt-manager, so doing that virst install is a pain in
the neck to get a working image. The jailtime.org images are good, but
not so useful for non-RPM based OS's.

In debian there is xen-create-image that you can tell a lvm VG and it
creates its own root and swap volumes there and installs debian. After
that you just have to add additional volumes and move data as needed.

Neat tool.
That's precisely what virt-manager and virt-install do. This does not solve my difficulty of accessing the contents of the LVM partitions from Dom0 to do backkup.

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