Created attachment 319442 [details] virt-p2v.log Description of problem: virt-p2v doesn't understand linux software raid. Version-Release number of selected component (if applicable): virt-p2v-0.9.7.iso How reproducible: Always. Steps to Reproduce: 1. Install Linux (my case, RHEL4) on a physical multi-drive (my case, 3 SCSI drives) system. 2. Create a Software RAID1 (This contained my /boot) and a Software RAID5 (This contained my single LVM Physical Volume) that spans the disks (I would assume this fails equally for RAID0, but did not test that). 3. Use virt-p2v LiveCD to transfer the image over to a Fully Virt Xen Host (in my case, RHEL5). Actual results: Failure due to not detecting that the partitions are software RAID, and instead is trying to read the partitions as Logical Volumes or some other formatted partition. Expected results: Should be able to detect the software raid and construct the disks in the virtual guest image. Additional info: Original dialog: ========================================================== Hello, I was in the process of moving a server using virt-p2v this evening, when I came across the issue described at: https://www.redhat.com/archives/et-mgmt-tools/2008-February/msg00037.html https://www.redhat.com/archives/et-mgmt-tools/2008-February/msg00038.html https://www.redhat.com/archives/et-mgmt-tools/2008-February/msg00039.html https://www.redhat.com/archives/et-mgmt-tools/2008-February/msg00040.html I was wondering if there is any progress on getting linux software raid support. I'm not really qualified to help with patches, but I'd be more than happy to test any patches to get this functionality in. It appears I have a similar setup where I have three physical drives, three identical partitions in a software RAID-1 (/boot), three identical partitions for swap, and three identical partitions in a software RAID-5 (/). And of course it bails out because it doesn't understand the software raid type. If there is a bug, or anything I can do to help on this front, please let me know, as this has thrown a bit of a monkey-wrench into a migration plan that I had, but could not test until now. Thanks! Brandon ========================================================== Response: ========================================================== On Fri, Sep 19, 2008 at 07:23:22PM -0400, Brandon Perkins wrote: > > I was wondering if there is any progress on getting linux software raid > > support. I'm not really qualified to help with patches, but I'd be more > > than happy to test any patches to get this functionality in. It appears > > I have a similar setup where I have three physical drives, three > > identical partitions in a software RAID-1 (/boot), three identical > > partitions for swap, and three identical partitions in a software RAID-5 > > (/). And of course it bails out because it doesn't understand the > > software raid type. Sorry I wasn't concentrating very hard on this list for the past couple of weeks. virt-p2v doesn't understand RAID devices at all. There's no real limitation here, it's just that you're the first person who has asked about it. Can you open a bug report, and also send the virt-p2v.log file from your attempted installation. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v ==========================================================
Created attachment 319443 [details] fdisk -l output fdisk -l output
Created attachment 319444 [details] dmesg output dmesg output
Very old thread here: https://www.redhat.com/archives/et-mgmt-tools/2008-April/msg00131.html Yes, I need to look at this. It's probably as simple as adding a kernel module to the kickstart file, but unfortunately I have no hardware to test this on.
There is a new version of virt-p2v and virt-v2v: http://libguestfs.org/virt-v2v/