kvm_repair_qcow2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
kvm_repair_qcow2 [2015/05/22 11:29] – [KVM repair qcow2 image] admin | kvm_repair_qcow2 [2015/05/22 13:59] – [KVM repair qcow2 image] admin | ||
---|---|---|---|
Line 22: | Line 22: | ||
Image end offset: 27071414272</ | Image end offset: 27071414272</ | ||
* Check again, if you're lucky you might try to boot the VM in rescue mode and repair the fileystem there. | * Check again, if you're lucky you might try to boot the VM in rescue mode and repair the fileystem there. | ||
- | * If not, try to mount the image with nbd and fix it:< | + | * If not, try to mount the image with nbd and fix it (eg. with testdisk):< |
qemu-nbd -c /dev/nbd0 image.qcow2 | qemu-nbd -c /dev/nbd0 image.qcow2 | ||
partprobe /dev/nbd0 | partprobe /dev/nbd0 |
kvm_repair_qcow2.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1