[pve-devel] [PATCH-SERIES v6 pve-storage/qemu-server/pve-qemu] add external qcow2 snapshot support

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Thu Jun 12 13:33:18 CEST 2025


> > Later on, I'd like to contribute to a version which
> > enables thin provisioned snapshots.

>>For thin provision, I have done prelimary work in september 2024
>>(check
>>the pve-devel mailing),
>>but I was waiting to have first the snapshot finished.

here the patch series:
https://lists.proxmox.com/pipermail/pve-devel/2024-August/065201.html

The idea is to create a lvm volume smaller than the real qcow2 size,

qemu is sending an event when the used space reach a threshold,

then a daemon should resize the lvm volume by increment.(1GB for
example),
until the next threshold reach....

The only complex thing is to manage some kind of queue in this daemon
and manage
lvm cluster lock, as we can't resize multiple lvm volume at the same
time.
(Not sure if it need a central daemon, or a distributed daemon on each
node with a shared queue in /etc/pve ...)







More information about the pve-devel mailing list