Difference between revisions of "Qemu-img check"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{{lc}}
  
 
  [[qemu-img]] check ubuntu-18.04.qcow2
 
  [[qemu-img]] check ubuntu-18.04.qcow2
Line 5: Line 5:
 
  22143/98304 = 22.53% allocated, 0.19% fragmented, 0.00% compressed clusters
 
  22143/98304 = 22.53% allocated, 0.19% fragmented, 0.00% compressed clusters
 
  Image end offset: 1451884544
 
  Image end offset: 1451884544
 +
 +
qemu-img check disk.qcow2
 +
No errors were found on the image.
 +
3277/3277 = 100.00% allocated, 0.00% fragmented, 0.00% compressed clusters
 +
Image end offset: 215089152
 +
 +
[error] [daemon] Caught an unhandled exception: Internal error: qemu-img failed (Process returned exit code: 1) with output:
 +
qemu-img: Could not open '/var/root/Library/Application Support/multipassd/qemu/vault/instances/your-instance/ubuntu-22.04-server-cloudimg- arm64.img': [[Too much extra metadata in snapshot table entry 0]] You can force-remove this extra metadata with qemu-img check -r all
  
  
 +
qemu-img check -r [ leaks | all ]
 
  [[qemu-img check -r all]]
 
  [[qemu-img check -r all]]
 
   -r, repair. <code>qemu-img</code> tries to repair any inconsistencies found during the check
 
   -r, repair. <code>qemu-img</code> tries to repair any inconsistencies found during the check
Line 16: Line 25:
 
* <code>[[qemu-nbd]]</code>
 
* <code>[[qemu-nbd]]</code>
 
* <code>[[.vdi]]</code>
 
* <code>[[.vdi]]</code>
 +
[[multipassd]]
  
 
== See also ==
 
== See also ==

Latest revision as of 05:35, 12 September 2022

qemu-img check ubuntu-18.04.qcow2
No errors were found on the image.
22143/98304 = 22.53% allocated, 0.19% fragmented, 0.00% compressed clusters
Image end offset: 1451884544
qemu-img check disk.qcow2
No errors were found on the image.
3277/3277 = 100.00% allocated, 0.00% fragmented, 0.00% compressed clusters
Image end offset: 215089152

[error] [daemon] Caught an unhandled exception: Internal error: qemu-img failed (Process returned exit code: 1) with output:

qemu-img: Could not open '/var/root/Library/Application Support/multipassd/qemu/vault/instances/your-instance/ubuntu-22.04-server-cloudimg- arm64.img': Too much extra metadata in snapshot table entry 0 You can force-remove this extra metadata with qemu-img check -r all


qemu-img check -r [ leaks | all ]
qemu-img check -r all
  -r, repair. qemu-img tries to repair any inconsistencies found during the check

Related terms[edit]

multipassd

See also[edit]

Advertising: