[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'qemu-img create' to backup encrypted qcow2 - ?
From: |
Peter Maydell |
Subject: |
Re: 'qemu-img create' to backup encrypted qcow2 - ? |
Date: |
Sat, 14 Aug 2021 11:19:18 +0100 |
On Sat, 14 Aug 2021 at 08:24, lejeczek <peljasz@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
- 'qemu-img create' to backup encrypted qcow2 - ?, lejeczek, 2021/08/14
- Re: 'qemu-img create' to backup encrypted qcow2 - ?,
Peter Maydell <=
- Re: 'qemu-img create' to backup encrypted qcow2 - ?, lejeczek, 2021/08/15
- Re: 'qemu-img create' to backup encrypted qcow2 - ?, Peter Maydell, 2021/08/15
- Re: 'qemu-img create' to backup encrypted qcow2 - ?, lejeczek, 2021/08/15
- Re: 'qemu-img create' to backup encrypted qcow2 - ?, Peter Maydell, 2021/08/16
- Re: 'qemu-img create' to backup encrypted qcow2 - ?, lejeczek, 2021/08/16
- Re: 'qemu-img create' to backup encrypted qcow2 - ?, Peter Maydell, 2021/08/16