I tried to create a fully (ie, not only for the metadata) preallocated qcow2 image file, with the following command, but I am receiving errors:
Why isn't full preallocation understood?
Code:
# qemu-img create -f qcow2 -o preallocation=full vm-100-disk-3.qcow2 128G
Formatting 'vm-100-disk-3.qcow2', fmt=qcow2 size=137438953472 encryption=off cluster_size=65536 preallocation='full' lazy_refcounts=off
Invalid preallocation mode: 'full'
qemu-img: vm-100-disk-3.qcow2: error while creating qcow2: Invalid argument
Why isn't full preallocation understood?
Last edited: