Im trying to mount a partition with dd based on this article: https://www.utilities-online.info/articles/Mount-an-LVM-partition-image-cloned-with-dd.
However I keep getting the same error.
My steps:
root@vagrant:/root# fdisk -l out.dd
Disk out.dd: 3.1 GiB, 3371216896 bytes, 6584408 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
losetup /dev/loop0 out.dd
root@vagrant:/root# pvs
WARNING: Device /dev/loop0 has size of 6584408 sectors which is smaller than corresponding PV size of 20555776 sectors. Was device resized?
One or more devices used as PVs in VG ubu-xyz have changed sizes.
PV VG Fmt Attr PSize PFree
/dev/loop0 ubu-xyz lvm2 a-- 9.80g 100.00m
/dev/sda1 vagrant-vg lvm2 a-- <64.00g 0
root@vagrant:/root# vgchange -a y ubu-xyz
WARNING: Device /dev/loop0 has size of 6584408 sectors which is smaller than corresponding PV size of 20555776 sectors. Was device resized?
One or more devices used as PVs in VG ubu-xyz have changed sizes.
device-mapper: resume ioctl on (253:2) failed: Invalid argument
Unable to resume ubu--xyz-ubuntu--lv (253:2)
device-mapper: resume ioctl on (253:3) failed: Invalid argument
Unable to resume ubu--xyz-swap (253:3)
2 logical volume(s) in volume group "ubu-xyz" now active
Following the post, now there should be /dev/ubu-xyz/..
which however does not exist. I assume it is caused by previours error messages, but googling them doesnt help me further.
Thanks!