[pve-devel] [RFC qemu-server 12/13] backup: implement fleecing option

Fiona Ebner f.ebner at proxmox.com
Mon Jan 29 16:28:18 CET 2024


Am 25.01.24 um 15:41 schrieb Fiona Ebner:
> Management for fleecing images is implemented here. If the fleecing
> option is set, for each disk (except EFI disk and TPM state) a new raw
> fleecing image is allocated on the configured fleecing storage (same
> storage as original disk by default). The disk is attached to QEMU
> with the 'size' parameter, because the block node in QEMU has to be
> the exact same size and the newly allocated image might be bigger if
> the storage has a coarser allocation or rounded up. After backup, the
> disks are detached and removed from the storage.
> 
> Partially inspired by the existing handling of the TPM state image
> during backup.
> 
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
> 
> STILL OPEN (see also the TODOs):
>     * Naming for fleecing images and also filtering/prohibiting them
>       with other operations. Currently using -fleecing suffix but
>       those can conflict with user-created ones.

With the current draft, there is another issue when the VM has
A:vm-123-disk-0 and B:vm-123-disk-0, because the names for the fleecing
images will clash.




More information about the pve-devel mailing list