On Sat, 14 Aug 2021 at 08:24, lejeczek <pelj...@yahoo.co.uk> wrote:
> -> $ qemu-img create -f qcow2 -b -o
> encrypt.key-secret=3fd57349-3671-4cf2-ab00-f13b8ba00a4d
> /00.GLUSTER-mnt/VMs3/enc.locallan.qcow2 -F qcow2
> ./enc.locallan.qcow2.bkp
> qemu-img: Invalid image size specified. You may use k, M, G,
> T, P or E suffixes for
> qemu-img: kilobytes, megabytes, gigabytes, terabytes,
> petabytes and exabytes.

The '-b' option needs a backing_file argument, but the next thing
on your commandline is "-o". The option parser has thus assumed you
meant to say that the backing-file is named "-o", and has then
completely misinterpreted the rest of your commandline as a
result. Delete the '-o', or, if you wanted to specify options, put
"-o whatever-options-you-wanted" somewhere else than between
the '-b' and its argument.

-- PMM

Reply via email to