Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Does anyone know if there is an issue with using the virt-v2v tool to output vm's to a RAID10 volume?
I ask because I got an error when attempting to do so once conversion was completed (converting from VMWare to KVM)...
Quote:
MyVirtualMachine: 100% [======================================================================================]D 0h31m26s
virt-v2v: No root device found in this operating system image.
and googling the error got me this...
Quote:
virt-p2v does not support raid devices in /etc/fstab and fails with inspection
error "virt-v2v: No root device found in this operating system image."
I'm guessing you're referring to writing to a backing store which is hosted on a RAID10 volume? If so, that's not problem the BZ is referring to. The BZ is specifically referring to guests which use MD devices internally. The underlying storage of the backing store doesn't affect qemu. It's actually already been fixed, too. I missed it when we were doing the latest libguestfs build, though, so it wasn't automatically updated. I just did it manually.
The issue you're having here is that libguestfs inspection isn't finding an operating system. There are numerous potential reasons for that. The quickest way to debug that is to run inspection on its own against the source VM. To help, I'm going to need a bit more information, though. Specifically:
* The versions of virt-v2v and libguestfs you're using
* The full virt-v2v command line you ran
* The operating system running in the guest
Incidentally, the best forum for virt-v2v discussions is the libguestfs mailing list (libguestfs@redhat.com).
I'm guessing you're referring to writing to a backing store which is hosted on a RAID10 volume? If so, that's not problem the BZ is referring to. The BZ is specifically referring to guests which use MD devices internally. The underlying storage of the backing store doesn't affect qemu. It's actually already been fixed, too. I missed it when we were doing the latest libguestfs build, though, so it wasn't automatically updated. I just did it manually.
The issue you're having here is that libguestfs inspection isn't finding an operating system. There are numerous potential reasons for that. The quickest way to debug that is to run inspection on its own against the source VM. To help, I'm going to need a bit more information, though. Specifically:
* The versions of virt-v2v and libguestfs you're using
* The full virt-v2v command line you ran
* The operating system running in the guest
Incidentally, the best forum for virt-v2v discussions is the libguestfs mailing list (libguestfs@redhat.com).
Matt
Hi Matt, thanks for reply, the info is....
yum --version virt-v2v
3.2.29
yum --version libguestfs
3.2.29
Full virt line ran:
virt-v2v -ic esx://SOURCE_IP?no_verify=1 -o rhev -os DESTINATION_IP:/home/exports --network rhevm MyVM
MyVM running Win2003 SP2
/home/export is on a RAID10 volume. I've since had to go back to VMware for production reasons, but if anything occurs to you about the above setup it would be good to know as I intend to try again as soon as possible.
The command you're looking for is: 'rpm -q virt-v2v libguestfs'. The above is just printing out the version of yum
Quote:
Full virt line ran:
virt-v2v -ic esx://SOURCE_IP?no_verify=1 -o rhev -os DESTINATION_IP:/home/exports --network rhevm MyVM
MyVM running Win2003 SP2
/home/export is on a RAID10 volume. I've since had to go back to VMware for production reasons, but if anything occurs to you about the above setup it would be good to know as I intend to try again as soon as possible.
Yeah, /home/export on a RAID10 volume is fine. Is the host system RHEL? If it is, you additionally need to install a package called libguestfs-winsupport in order to support converting Windows guests. You'll find it in a separate channel on RHN called RHEL V2VWIN. If the host system is Fedora, the windows support is built in to the main libguestfs package. If it's CentOS, it's presumably kicking around somewhere. I'm not personally familiar with it, though.
I'd try that before anything else. It's a pretty common issue.
The command you're looking for is: 'rpm -q virt-v2v libguestfs'. The above is just printing out the version of yum
Yeah, /home/export on a RAID10 volume is fine. Is the host system RHEL? If it is, you additionally need to install a package called libguestfs-winsupport in order to support converting Windows guests. You'll find it in a separate channel on RHN called RHEL V2VWIN. If the host system is Fedora, the windows support is built in to the main libguestfs package. If it's CentOS, it's presumably kicking around somewhere. I'm not personally familiar with it, though.
I'd try that before anything else. It's a pretty common issue.
The RHEV 3 hypervisor is a spin of RHEL 6, so you'll definitely need to dig out libguestfs-winsupport from somewhere. I'm almost 100% sure that's your problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.