[pve-devel] [PATCH pve-storage 08/10] qcow2: add external snapshot support

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Jul 7 12:53:16 CEST 2025


> DERUMIER, Alexandre <alexandre.derumier at groupe-cyllene.com> hat am 07.07.2025 12:18 CEST geschrieben:

> >>for the DirPlugin we need to add another level for the snapshots
> >>on-disk, else we cannot differentiate between weirdly-named image
> >>files and snapshot files..
> >>
> >>so we could add a directory "snapshots" and put all the snapshot
> >>files in there. since snapshots are never references a volume ID,
> >>this just affects the on disk structure, not the volume ID format.
> 
> ok, no problem, I'll do it like this.
> 
> Do you want the a snapshot sub directory like ?
> /var/lib/vz/images/<vmid>/snapshots/ 

I think this makes the most sense, as it logically groups the snapshot
files below the main ones..

> 
> or a global snapshots like
> 
> /var/lib/vz/snapshots/<vmid>/
> 
> ?




More information about the pve-devel mailing list