Difference between revisions of "Qemu-img"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>qemu-img</code><ref>https://manpages.debian.org/testing/qemu-utils/qemu-img.1.en.html</ref> allows you to create, convert and modify images offline, It can handle all image formats supported by [[KVM/qemu|QEMU]].
+
<code>qemu-img</code><ref>https://manpages.debian.org/testing/qemu-utils/qemu-img.1.en.html</ref> allows you to create, convert and modify images offline include in <code>[[qemu-utils]]</code> package. It can handle all image formats supported by [[QEMU]].
  
  
Line 13: Line 13:
 
* <code>[[qemu-img snapshot]]</code> (See also: <code>[[lvcreate]] --snapshot</code> for LVM snapshots)
 
* <code>[[qemu-img snapshot]]</code> (See also: <code>[[lvcreate]] --snapshot</code> for LVM snapshots)
  
* <code>[[qemu-img convert]]</code>
+
* <code>[[qemu-img convert]]</code> (Related commands: <code>[[virt-clone]]</code>)
  
 
* <code>[[qemu-img check]]</code>
 
* <code>[[qemu-img check]]</code>
Line 22: Line 22:
 
* <code>[[qemu-img commit]]</code>
 
* <code>[[qemu-img commit]]</code>
  
 +
* <code>[[qemu-img compare]]</code>
  
 
== Activities ==
 
== Activities ==
Line 30: Line 31:
 
* <code>[[virt-builder]]</code>
 
* <code>[[virt-builder]]</code>
 
* <code>[[virt-install]]</code>
 
* <code>[[virt-install]]</code>
 +
* <code>[[guestfish]]</code>
 +
* <code>[[virt-rescue]]</code>
 +
* [[Images]]
  
 
== See also ==
 
== See also ==

Latest revision as of 19:04, 30 August 2021

qemu-img[1] allows you to create, convert and modify images offline include in qemu-utils package. It can handle all image formats supported by QEMU.



  • Create a snapshot: qemu-img create -f qcow2 -o backing_file=original snapshot.qcow[3]
  • qemu-img snapshot (See also: lvcreate --snapshot for LVM snapshots)

Activities[edit]

Related commands[edit]

See also[edit]

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source: wikiversity

Advertising: