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

Re: [Xen-users] Best way to migrate Xen Disk IMG w/LVM's to a block-device? (e.g. DRBD)


  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Stefan Kögl <koeglstefan@xxxxxxxxx>
  • Date: Wed, 4 Feb 2009 09:42:31 +0100
  • Delivery-date: Wed, 04 Feb 2009 00:43:18 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IW8swURfRtKGbWzcLprQSeX4wdt8T+2lixCndCdm2uheQzxOUtkzcC4BilzSFNoqc8 HWwGHjTNfjLCcNE/zoWeViwTDuhsqgvC1+JT+2lF8DEFb8dUBeE+/yqqlpgdQEacFVro 2o+n+icPKqeis0NoBlMiwNmETbXjomezsJ6jY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> I was hoping to pick someone's brain about the best way of moving a Xen disk
> image (which has LVM's inside of it) to a new block-device?  I have the
> target DRBD device ready but unsure what's the best & safest way to do it.
I did that once by dd'ing data from all filesystems except for the
root-fs onto the new device from withing DomU, then shutting down the
virtual machine, and copying the root-fs from Dom0. kpartx is your
friend for that ;)

Regards,

Stefan

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