summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2909.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/2909.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/2909.toml30
1 files changed, 30 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/2909.toml b/gitlab/issues/target_missing/host_missing/accel_missing/2909.toml
new file mode 100644
index 00000000..b6e639c9
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/2909.toml
@@ -0,0 +1,30 @@
+id = 2909
+title = "Corrupt qcow2 images with broken bitmap unfixable"
+state = "opened"
+created_at = "2025-04-02T06:54:12.215Z"
+closed_at = "n/a"
+labels = ["Storage"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/2909"
+host-os = "AlmaLinux 9"
+host-arch = "x86_64"
+qemu-version = "qemu-img-9.0.0-10.el9.2.1.x86_64"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """During a backup of a VM (via bitmaps), the disk of the VM/Snapshot went out of space.
+The VM was stopped, leaving the image in a bad state.
+
+But now when trying to repair it, it was stuck:
+```
+# qemu-img check -r all /dev/mapper/e1d2ff33--c3fd--4c1a--bcd1--2047e4efc362-efbd8056--720a--47b6--bede--4325d576ffb9
+qemu-img: Could not open '/dev/mapper/e1d2ff33--c3fd--4c1a--bcd1--2047e4efc362-efbd8056--720a--47b6--bede--4325d576ffb9': Bitmap '' doesn't satisfy the constraints
+```
+
+But if you want to remove the bitmap:
+```
+# qemu-img bitmap --remove /dev/mapper/e1d2ff33--c3fd--4c1a--bcd1--2047e4efc362-efbd8056--720a--47b6--bede--4325d576ffb9 ''
+qemu-img: Could not open '/dev/mapper/e1d2ff33--c3fd--4c1a--bcd1--2047e4efc362-efbd8056--720a--47b6--bede--4325d576ffb9': qcow2: Image is corrupt; cannot be opened read/write
+```
+
+It seems like qemu-img check needs some option to clear invalid bitmaps. So the image can be repaired including dropping the invalid bitmap."""
+reproduce = "n/a"
+additional = "n/a"