Description of problem: Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.virt-inspector -a /home/mike/image/ubuntu-10.04-amd64.qcow2 >> a.txt 2. 3. Actual results: it prompts libguestfs: error: lvm_canonical_lv_name: lvm_canonical_lv_name_stub: /dev/mapper/cryptswap1: No such file or directory Expected results: no error should prompts Additional info: 1.Tried w/ ubuntu 10.04-32 bit guest ,did not hit this issue 2.cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/vda1 during installation UUID=336fbf44-8f80-4826-9234-5247e3848f31 / ext4 errors=remount-ro 0 1 # swap was on /dev/vda5 during installation #UUID=f0b68c8d-0dc5-40b3-a3a5-959ef22cf4d0 none swap sw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 ><fs> vfs-type /dev/vda2 ><fs> vfs-type /dev/vda5
This was just a warning as it turned out. I have fixed it in: https://github.com/libguestfs/libguestfs/commit/96b6504b09461aeb6850bb2e7b870a0a4c2f5edf https://github.com/libguestfs/libguestfs/commit/681377f1b274cba0a4881ad18ccf200b9a014e94
Fixed upstream. The fix will appear in 1.17.29 / 1.16.18.