trying to use raw disks from foreign KVM directly in oVirt

hi, i'm using a KVM system that creates it's disks in raw format as LVM logical volumes. there's one VG with one LV per disk. the physical devices for these LVM entities are iSCSI devices. now my idea was to use these disks directly in oVirt as "Direct LUN". i did the following: - stopped the foreign KVM domain - deactivated the LV that is the disk - reconfigured the SAN so the iSCSI device is removed from foreign KVM host and is visible to the oVirt hosts - created an oVirt "Direct LUN" disk with the iSCSI device - created a VM in oVirt, attached the "Direct LUN" disk to it and set the "bootable" flag - started the VM - console displays "boot failed: not a bootable disk" :-( i tried virtIO, virtIO-SCSI, IDE interfaces for the disk, no change i ran "scan alignment" for the disk, no change i tried without bootable flag, no change strange thing is the wrong virtual size the oVirt GUI display for this disk, GUI says virtual size is 372GB, "qemu-img info" (in the oVirt host) says virtual size is 47GB (which was the size in the foreign KVM system) what could be wrong? can this work at all? could LVM metadata from the old system be a problem? i know the whole operation is a litte crazy, but if this worked the migration process would be so much easier... thx matthias
participants (1)
-
Matthias Leopold