Difference between revisions of "Qemu-img create"
Jump to navigation
Jump to search
(Removed redirect to Qemu-img) Tag: Removed redirect |
|||
Line 3: | Line 3: | ||
** <code>qemu-img create -f qcow2 -o preallocation=metadata,compat=1.1,lazy_refcounts=on MY_IMAGE_NAME.img</code> | ** <code>qemu-img create -f qcow2 -o preallocation=metadata,compat=1.1,lazy_refcounts=on MY_IMAGE_NAME.img</code> | ||
:::<code>lazy_refcounts=on</code> Reference count updates are postponed with the goal of avoiding metadata I/O and improving performance. Particularly interesting with cache=writethrough. | :::<code>lazy_refcounts=on</code> Reference count updates are postponed with the goal of avoiding metadata I/O and improving performance. Particularly interesting with cache=writethrough. | ||
+ | |||
+ | |||
+ | |||
+ | == See also == | ||
+ | * {{qemu-img}} |
Revision as of 12:25, 5 February 2020
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.
See also
Advertising: