Red Hat This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-15-2011, 05:15 AM
|
#1
|
Member
Registered: Feb 2009
Posts: 37
Rep:
|
virt-v2v and RAID10
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."
|
from here: https://bugzilla.redhat.com/show_bug.cgi?id=749828
anyone esle come across this?
Last edited by just a man; 12-15-2011 at 05:18 AM.
|
|
|
12-15-2011, 06:59 AM
|
#2
|
LQ Newbie
Registered: Dec 2011
Posts: 4
Rep: 
|
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
|
|
|
12-15-2011, 10:44 AM
|
#3
|
Member
Registered: Feb 2009
Posts: 37
Original Poster
Rep:
|
Quote:
Originally Posted by Matthew Booth
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.
|
|
|
12-15-2011, 11:19 AM
|
#4
|
LQ Newbie
Registered: Dec 2011
Posts: 4
Rep: 
|
Quote:
Originally Posted by just a man
yum --version virt-v2v
3.2.29
yum --version libguestfs
3.2.29
|
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.
|
|
|
12-16-2011, 03:38 AM
|
#5
|
Member
Registered: Feb 2009
Posts: 37
Original Poster
Rep:
|
Quote:
Originally Posted by Matthew Booth
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.
|
Thanks Matthew
rpm -q virt-v2v libguestfs
virt-v2v-0.8.3-5.el6.x86_64
libguestfs-1.7.17-26.el6.x86_64
The host is actually the hypervisor RHEV 3 beta by the way.
Last edited by just a man; 12-16-2011 at 03:39 AM.
|
|
|
12-16-2011, 03:42 AM
|
#6
|
LQ Newbie
Registered: Dec 2011
Posts: 4
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 12:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|