Qemu-img create

From wikieduonline
Revision as of 12:26, 5 February 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search
  • qemu-img create -f qcow2 MY_IMAGE_NAME.img
  • qemu-img create -f raw MY_IMAGE_NAME.img
  • qemu-img create -f qcow2 -o preallocation=metadata,compat=1.1,lazy_refcounts=on MY_IMAGE_NAME.img
lazy_refcounts=on Reference count updates are postponed with the goal of avoiding metadata I/O and improving performance. Particularly interesting with cache=writethrough.


  • qemu-img create -f qcow2 MY_IMAGE_NAME.img
qemu-img: MY_IMAGE_NAME.img: Image creation needs a size parameter

See also

Advertising: