I've tried to delete a snapshot of a container in Proxmox 6.1-8 web ui.
It was the first one of 13 snapshots. Got a message that the snapshot
doesn't exist. The container was now locked. I've unlocked it in the shell.
pct unlock 103
After that tried to delete the snapshot again, with the same result.
Unlocked again. This time I've decided to restore the local backup of the
container from the day before.
The restore process failed with an error and the container disappeared altogether from the UI.
Restored backup to a new ID (100), started, works fine.
My problem is now that all the snapshots of the old ID 103 container are present in the LVM.
lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [111.50 GiB] inherit
ACTIVE '/dev/pve/data' [<305.15 GiB] inherit
ACTIVE '/dev/pve/vm-103-disk-0' [40.00 GiB] inherit
inactive '/dev/pve/snap_vm-103-disk-0_created_nextcloud_db' [40.00 GiB] inherit
inactive '/dev/pve/snap_vm-103-disk-0_configured_nextcloud_db' [40.00 GiB] inherit
inactive '/dev/pve/snap_vm-103-disk-0_root_external_login' [40.00 GiB] inherit
inactive '/dev/pve/snap_vm-103-disk-0_production' [40.00 GiB] inherit
How to delete the snapshots without causing any further harm?
It was the first one of 13 snapshots. Got a message that the snapshot
doesn't exist. The container was now locked. I've unlocked it in the shell.
pct unlock 103
After that tried to delete the snapshot again, with the same result.
Unlocked again. This time I've decided to restore the local backup of the
container from the day before.
The restore process failed with an error and the container disappeared altogether from the UI.
Restored backup to a new ID (100), started, works fine.
My problem is now that all the snapshots of the old ID 103 container are present in the LVM.
lvscan
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [111.50 GiB] inherit
ACTIVE '/dev/pve/data' [<305.15 GiB] inherit
ACTIVE '/dev/pve/vm-103-disk-0' [40.00 GiB] inherit
inactive '/dev/pve/snap_vm-103-disk-0_created_nextcloud_db' [40.00 GiB] inherit
inactive '/dev/pve/snap_vm-103-disk-0_configured_nextcloud_db' [40.00 GiB] inherit
inactive '/dev/pve/snap_vm-103-disk-0_root_external_login' [40.00 GiB] inherit
inactive '/dev/pve/snap_vm-103-disk-0_production' [40.00 GiB] inherit
How to delete the snapshots without causing any further harm?