[Libguestfs] Possible bug in preview version of virt-v2v

Jeff Forbes jeff.forbes at mail.nacon.com
Mon Sep 22 15:02:32 UTC 2014


Hi,

I have been testing:
virt-v2v preview packages for RHEL and CentOS 7.1<http://rwmj.wordpress.com/2014/09/17/virt-v2v-preview-packages-for-rhel-and-centos-7-1-are-available/>

and have been able to almost get it to work. There seems to be a bug where the software tries to mount a disk partition as /sysroot. An attempt is made to make /dev/sda2 as sysroot; however, the root partition is an LVM partition (/dev/mapper/centos-root). An error is given when an attempt is made to cop the virtio drivers to the VM: (a snippet of the verbose debug log)


cp /sysroot/usr/share/virtio-win/drivers/amd64/Win2012R2/viostor.sys /sysroot/Wi
ndows/System32/drivers/viostor.sys
cp: cannot stat '/sysroot/usr/share/virtio-win/drivers/amd64/Win2012R2/viostor.s
ys': No such file or directory
guestfsd: error: cp: cannot stat '/sysroot/usr/share/virtio-win/drivers/amd64/Wi
n2012R2/viostor.sys': No such file or directory
guestfsd: main_loop: proc 87 (cp) took 0.06 seconds
libguestfs: trace: cp = -1 (error)
libguestfs: trace: hivex_close
guestfsd: main_loop: new request, len 0x28
hivex: hivex_close: hivex_close
libguestfs: trace: hivex_close = 0
virt-v2v: error: libguestfs error: cp: cp: cannot stat
'/sysroot/usr/share/virtio-win/drivers/amd64/Win2012R2/viostor.sys': No
such file or directory


I have attached the entire output of the verbose debugging log.


Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20140922/86890ec5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_virt-v2v-1.out.gz
Type: application/gzip
Size: 5706708 bytes
Desc: test_virt-v2v-1.out.gz
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20140922/86890ec5/attachment.gz>


More information about the Libguestfs mailing list