WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Best way to migrate Xen Disk IMG w/LVM's to a block-dev

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Best way to migrate Xen Disk IMG w/LVM's to a block-device? (e.g. DRBD)
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=tp5iJY3CEuV7qa78g3yVoHIs8iUHaMSOwfojJmkd/zs=; b=V3R7ToIW5h58LTIQn0V0JsT7o0xNHbJ72TtGyUoPJiXlB6GYWuDj6DvABS/mZuQHlU 4WlIH9CXCrzxEYAPSGPzGKpfX0g8ljn6i1HDc0TgcU38fczhW5teu9X+TU5aMAx3zHcY gUAc/3i/FPm+ZST1p9Uu5g/Nb+ObKUgM9/o0Q=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4988F3B8.3040009@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4988F3B8.3040009@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> 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

<Prev in Thread] Current Thread [Next in Thread>