Description of problem: I had encountered the bug https://bugzilla.redhat.com/show_bug.cgi?id=1659211, as per the workaround mentioned I tried disabling/unselecting sda and selected sdb and sdc with resulted in "virt-v2v: error: libguestfs error: mountpoints: stat: /dev/centos/home: No such file or directory" versions are detailed in the snapshot. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
As mentioned in the other bug, please provide all the details about the conversion: - the version of virt-v2v - the version of virt-p2v - the hardware of the machine being converted - the OS on the machine being converted - the complete logs of the conversion You can find more details in the documentation of virt-p2v: http://libguestfs.org/virt-p2v.1.html see the "HOW VIRT-P2V WORKS" section about which files to fetch from the conversion server after a failed conversion.
I have shared it on mail as I couldn't attach all the details here.
I don't think I received the email; however if you cannot attach it, then you can send (not huge) messages to libguestfs, referencing this bug so we know what it refers to. Note this is a public mailing list and anything you send there will be seen by the whole world.
I forward it to libguestfs with the bug id mentioned.
Created attachment 1686368 [details] new set of logs. Added new set of logs.
(In reply to savvy from comment #5) > Created attachment 1686368 [details] > new set of logs. > > Added new set of logs. This is only the virt-v2v conversion logs, and it shows: + lvm pvscan --cache --activate ay Couldn't find device with uuid qYh5Q0-zM9p-LLqV-tfqL-YN5a-z7Nt-BLzI7a. WARNING: Device for PV qYh5Q0-zM9p-LLqV-tfqL-YN5a-z7Nt-BLzI7a not found or rejected by a filter. Refusing refresh of partial LV centos/home. Use '--activationmode partial' to override. Refusing refresh of partial LV centos/home. Use '--activationmode partial' to override. Refusing refresh of partial LV centos/home. Use '--activationmode partial' to override. Refusing refresh of partial LV centos/home. Use '--activationmode partial' to override. Refusing refresh of partial LV centos/home. Use '--activationmode partial' to override. centos: refresh before autoactivation failed. Refusing activation of partial LV centos/home. Use '--activationmode partial' to override. 2 logical volume(s) in volume group "centos" now active centos: autoactivation failed. Which explains why later the mount fails: libguestfs: trace: v2v: mountpoints guestfsd: <= mountpoints (0x93) request length 40 bytes command: lvm 'lvs' '-o' 'vg_name,lv_name' '-S' 'lv_role=public && lv_skip_activation!=yes' '--noheadings' '--separator' '/' command: lvm returned 0 command: lvm: stdout: centos/home centos/root centos/swap command: lvm: stderr: WARNING: Device for PV qYh5Q0-zM9p-LLqV-tfqL-YN5a-z7Nt-BLzI7a not found or rejected by a filter. Couldn't find device with uuid qYh5Q0-zM9p-LLqV-tfqL-YN5a-z7Nt-BLzI7a. guestfsd: error: stat: /dev/centos/home: No such file or directory A possible explanation is that not all the disks are passed to virt-v2v. Sadly, we need the complete set of virt-p2v logs. Please check http://libguestfs.org/virt-p2v.1.html#how-virt-p2v-works out and create a tarball with *all* the files in the directory on the conversion host after a failed migration.
Created attachment 1687148 [details] attached the zip files of all the logs. attached the zip files of all the logs.
OK, the additional data give more details now, although I still cannot figure out why one of the PV devices is not found. Can you please boot the OS that you are try to convert, and paste the result of the following commands as root: - vgs -v - pvs -v - lvs -v - mdadm --examine - ls -lh /dev - ls -lh /dev/centos Also, did you create the virt-p2v disk image on your own? It looks like you installed virt-p2v-maker on CentOS, then ran virt-p2v-make-disk -- is it correct? Thanks again for the additional information.
Pino, I just sent it in a mail, Let me know if not received. Regards, Savitha