[pve-devel] [PATCH pve-storage 09/10] lvmplugin: add qcow2 snapshot
DERUMIER, Alexandre
alexandre.derumier at groupe-cyllene.com
Wed Jul 9 10:06:20 CEST 2025
> +
> + # we can simply reformat the current lvm volume to avoid
> + # a long safe remove.(not needed here, as the allocated space
> + # is still the same owner)
> + eval { lvm_qcow2_format($class, $storeid, $scfg, $volname,
> $format, $snap) };
>>what if the volume got resized along the way?
Ah indeed, I didn't have thinked about that. We'll have extra space in
the lvm volume in this case.
I'll fix it with a clean removal
More information about the pve-devel
mailing list