I have a virtual disk for my virtual machine (XCP-NG) that has a broken filesystem and I can't repair it because the (virtual) disk somehow seems to be read only. So I want to clone the (broken) virtual disk to a new virtual disk in the hope that I will be able to write to the new disk and repair the filesystem. I tried dd and clonezilla but both seem to require a working filesystem. Is there another utility that just clones the disk bit-by-bit without needing a functioning filesystem?
The physical disk is fine. Other virtual disks that run on the physical disk work.
Thanks in advance
Patryk
ddrescuefrom that VM's disk to a different image/disk. I haven't tried that with virtual machines yet, though.