Luiz Angelo Daros de Luca
2008-Feb-25 22:39 UTC
[Xen-users] Problem upgrading a opensuse virtual machine when using LVM
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@gmail.com
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@lists.xensource.com
http://lists.xensource.com/xen-users