[ovirt-users] [Libguestfs] OVA import of FC21 VM hangs during virt-v2v conversion?

Derek Atkins derek at ihtfp.com
Wed Nov 16 22:09:56 UTC 2016


Hi,

On Wed, November 16, 2016 5:03 pm, Richard W.M. Jones wrote:
> On Wed, Nov 16, 2016 at 04:49:46PM -0500, Derek Atkins wrote:
>> I suppose there could be a bug.  I just verified that it's absolutely
>> setfiles:
>>
>> 14:07:25 E: commandrvf: setfiles -F -e /sysroot/dev -e /sysroot/proc -e
>> /sysroot/selinux -e /sysroot/sys -r /sysroot -q
>> /sysroot/etc/selinux/targeted/contexts/files/file_contexts /sysroot/
>> 14:07:25 E: Can't stat exclude path "/sysroot/selinux", No such file or
>> directory - ignoring.
>>
>> [ Spacing Emphasis Mine -- there is no break (except time) here ]
>>
>> 16:00:42 E: libguestfs: trace: v2v: selinux_relabel = 0
>
> Yes, this is conclusive.
>
> The guest is Fedora 21?  Does it have an unusually large number of
> files in the filesystem?  Is the host RHEL or Fedora and which
> version?

Guest is Fedora 21.  Host is CentOS 7.2

Guest not have an unusual number of files.  At least looking at the number
of inodes used:
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
/dev/vda3      2894304 164989 2729315    6% /

So... 165,000 files?  My F23 system which imported in 2 minutes has
174,442 inodes used, albeit significantly more free:

Filesystem       Inodes  IUsed    IFree IUse% Mounted on
/dev/vda3      23080448 174442 22906006    1% /

Another difference is ext4 (F21) vs xfs (F23).

> I will see if I can reproduce it.

Thanks.  Worst case I can probably provide you the OVA.

-derek

>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant




More information about the Users mailing list