]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/LvmThinPlugin.pm
lvmthin: Match snapshot remove regex to allowed names
authorDominic Jäger <d.jaeger@proxmox.com>
Wed, 28 Oct 2020 10:04:54 +0000 (11:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 Nov 2020 17:24:22 +0000 (18:24 +0100)
commit9b6ff01b7925a1b6551cd7048f15eabcd4636f23
tree9c3bd4eecf8a086dfc9f829493ff41d79c2612f2
parent343ca2570c3972f0fa1086b020bc9ab731f27b11
lvmthin: Match snapshot remove regex to allowed names

We allow snapshot names that match pve-configid but during qm destroy we have
not removed all snapshots that match pve-configid so far. For example, the name
x-y was allowed but the resulting snap_vm-105-disk-0_x-y was not removed.

Reported-by: Hannes Laimer <h.laimer@proxmox.com>
Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
PVE/Storage/LvmThinPlugin.pm