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

[Xen-users] Problem upgrading a opensuse virtual machine when using LVM


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Luiz Angelo Daros de Luca" <luizluca@xxxxxxxxx>
  • Date: Mon, 25 Feb 2008 19:39:16 -0300
  • Delivery-date: Mon, 25 Feb 2008 14:39:57 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GBYcUO/+skPd5y+dF5YNWQP1hiGg01DGq9k8B+7vUPr4jSHNwW/q6GEgCiwqnJdH/p2fO/dJKFQVp/+dnC2esxKL/pF+N1WazMBvsBT+MtVZDSUxXuD/GiI+xoEuSZjdJqRZgztyYsp4LpmXj+ApYSoHY47U818tB4ulAj4/3Sw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

I'm using xen with opensuse 10.2/10.3 for a while. I use LVM to keep
virtual partitions,

disk = [
        'phy:/dev/system/campeche_root,xvda1,w',
        'phy:/dev/system/campeche_mail,xvda2,w',
        'phy:/dev/system/campeche_maillist,xvda3,w'
        ]

As Yast does not like the LVM+Xen stuff, I installed all the system
using a virtual disk in a file. After it is ready, I mount the virtual
disk partitions and copy its files to the LV. After reconfiguring the
virtual machine file, everything goes fine.

Now I need to upgrade this OS. I'm able to load the installer changing
the kernel/ramdisk params. But at this point, yast refuses to install
again as it can't read a "partition table" with virtual partitions.

I can solve this fusing the LV's partitions back into a virtual disk
and using this to upgrade the system. After installing, I would,
again, copy the files to LV partitions. This is too much work and it
doesn't look nice for me.

When using virtual partiions, xen doesn't create a xvda device, just
xvda1, xvda2... Couldn't Xen create a virtual "xvda" that presents a
readonly dos partition table and maps its access to xvda1, xvda2, ...
disks? I think that this can save some incompatible problems.

Please, any other solutions?

Thanks,

-- 
      Luiz Angelo Daros de Luca
            luizluca@xxxxxxxxx
              ICQ: 19290419

 I Know, "Where you wanted to go today",
    but I decided to stop here instead!
                        MS Windows

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