Created attachment 1459061 [details] error.log Description of problem: command: $ sudo virt-v2v -i libvirtxml "/v2v/data/redhat6.2/redhat6.2.xml" -o local -os "/v2v/target/redhat6.2" -of qcow2 The error message: virt-v2v: error: libguestfs error: filesize: /var/lib/rpm/Name: No such file or directory Version-Release number of selected component (if applicable): libguestfs-hfsplus:amd64 1:1.38.1-1 libguestfs-perl 1:1.38.1-1 libguestfs-reiserfs:amd64 1:1.38.1-1 libguestfs-tools 1:1.38.1-1 libguestfs-xfs:amd64 1:1.38.1-1 libguestfs0:amd64 1:1.38.1-1 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
(In reply to Haigang from comment #0) > command: > $ sudo virt-v2v -i libvirtxml "/v2v/data/redhat6.2/redhat6.2.xml" -o > local -os "/v2v/target/redhat6.2" -of qcow2 First of all, note that if your guest was already running in libvirt, then you do not need virt-v2v at all -- just import it to the target libvirt/hypervisor. The guest seems to be RHEL 6.2, but /var/lib/rpm/Name is not available there. Is yum/rpm running fine in that guest? I see /var is in a separate partition, can you please check that /lib/rpm/Name exists in that partition?
I know why this is. The guest is redhat 6.2, Is not rhel 6.2. So, Libguestfs does not support it. I apologize to you for asking this stupid question.