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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Migrating XEN VMs on CentOS 4.4 to CentOS 5
From: Geert Janssens <info@xxxxxxxxxxxx>
Date: Thu, 10 May 2007 10:22:20 +0200
Cc: Wayne Mallett <wayne.mallett@xxxxxxxxxx>, Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Delivery-date: Thu, 10 May 2007 01:20:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46420A5D.1010904@xxxxxxxxx>
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>
Organization: Kobalt W.I.T.
References: <77C3EDF9-6711-4360-B2AE-9AF49A53F9FA@xxxxxxxxxx> <46420A5D.1010904@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.4
On Wednesday 9 May 2007 19:52, Nico Kadel-Garcia wrote:
> 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.
>
... And on top of that, the grub menu in the domU /boot/grub directory should 
be updated to use /dev/xdva names. If not, pygrub will not work correctly 
(presuming you are using pygrub, at least).

That was a problem I ran into.

Geert

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