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

Re: [Xen-users] Migrating XEN VMs on CentOS 4.4 to CentOS 5



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.