LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-15-2011, 05:15 AM   #1
just a man
Member
 
Registered: Feb 2009
Posts: 37

Rep: Reputation: 15
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.
 
Old 12-15-2011, 06:59 AM   #2
Matthew Booth
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
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
 
Old 12-15-2011, 10:44 AM   #3
just a man
Member
 
Registered: Feb 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matthew Booth View Post
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.
 
Old 12-15-2011, 11:19 AM   #4
Matthew Booth
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by just a man View Post

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.
 
Old 12-16-2011, 03:38 AM   #5
just a man
Member
 
Registered: Feb 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matthew Booth View Post
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.
 
Old 12-16-2011, 03:42 AM   #6
Matthew Booth
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mdadm RAID10 failure(s) grimm26 Linux - Server 1 02-14-2011 02:32 PM
Xen to KVM using Virt-v2v abatra.jnu Linux - Virtualization and Cloud 2 12-30-2010 12:51 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM
Many Raid1 vs a Raid10 humbletech99 Linux - Hardware 2 06-21-2006 07:37 AM


All times are GMT -5. The time now is 11:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration