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] Migrating XEN VMs on CentOS 4.4 to CentOS 5

To: Wayne Mallett <wayne.mallett@xxxxxxxxxx>
Subject: Re: [Xen-users] Migrating XEN VMs on CentOS 4.4 to CentOS 5
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Wed, 09 May 2007 18:52:29 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 09 May 2007 10:51:08 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=A+ZoGEnPyzQCE+3d2DP5fs8zqUVdwVuLZz+mJB840pEy5mH2n/HOttpaG3R9+rGz5Cmd8G/jNjDRsoxM5GYiAyTYrtF+8rhJivED1tMY/+3ZhO8gCI0dnTzSeNtfPuX9c9TA1ZMb34P0jlnaTge+0ID3VhEicW2Kx/HmCqlxG5E=
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=SreZUYryTZStNEUik3ohk4mIccMzViCIQoMR1uGTPnUIrLaM6pu8G9HTFNez9mjGwwUsMWSK2peI6TGo+6GIsE9nSfKVJUqcGbPPPCX/Rboolz5leAWs0crmg7lF6iXMYVAUN5Wuxy8H+8O1VlQ8wVK01SGEqY45DtijpvnRRHA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <77C3EDF9-6711-4360-B2AE-9AF49A53F9FA@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <77C3EDF9-6711-4360-B2AE-9AF49A53F9FA@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Wayne Mallett wrote:
G'day All,

I have a number of VMs that I installed on CentOS 4.4 with custom dom0 and domU kernels. All VMs reside on logical volumes and a
disk = [ 'phy:/dev/vg0/name,sda1,w', ...]
type entry can be found in the XEN configuration file. I have been searching on and off for a week (no success) trying to find out how to move these VMs onto a CentOS-5 system - using the XEN implementation that comes with this O/S.

I suppose what I'm asking is how do I move existing VMs from sda to xvda disks within XEN.
Don't bother. Simply continue to use them as "sda" devices, which is what I do. Also, getting a non-standard kernel to operate correctly in paravirtualizd mode is going to be fun for you! I wound up using the xensource published kernel-xen-2.6.16 kernel for this.

If you really need to migrate to /dev/xdva names, you'll need to edit /etc/fstab on the / partition to match the new layout, and edit your Xen configuration file appropriately.

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