I just did a test of this
Bash:
Pre-snapshot delete
root@proxmox1:~# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0
sda
│
└─sda3
LVM2_m LVM2 **************************************
├─pve-swap
│ swap 1 *********************************** [SWAP]
└─pve-root
ext4 1.0 ************************************ 53.1G 70% /
Then I deleted the problematic snapshot
Bash:
root@proxmox1:~# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0
sda
│
└─sda3
LVM2_m LVM2 **************************************
├─pve-swap
│ swap 1 ********************************* [SWAP]
└─pve-root
ext4 1.0 ********************************** 53.1G 70% /
No change in disk usage
Then I figured maybe since the problem started when I had a problem deleting a snapshot the snapshot storage had already been removed. So I created a new snapshot
After new snapshot created
Bash:
root@proxmox1:~# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0
sda
│
└─sda3
LVM2_m LVM2 **************************************
├─pve-swap
│ swap 1 ********************************* [SWAP]
└─pve-root
ext4 1.0 ********************************** 53G 70% /
So it looks like this snapshot at least took only 0.1G
Then I removed this snapshot by deleting it's entry
Bash:
root@proxmox1:~# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0
sda
│
└─sda3
LVM2_m LVM2 **************************************
├─pve-swap
│ swap 1 ********************************* [SWAP]
└─pve-root
ext4 1.0 ********************************** 53G 70% /
No change in space used. So it's still using the 0.1G that it had been using for that snapshot, the snapshot is still taking space, but is just inaccessible in the UI.
How do I regain the space that the snapshot took? the snapshot in question had a lot added to it. I took the snapshot in case there was an issue after I tried to rollback. There wasn't, so I tried to delete it. It sat deleting for a long time before giving an error. There was probably 8GB or more added when that snapshot was taken, so I assume that is taking up space somewhere, how do I reclaim it?
Edit after a bit of time it did actually go back to 53.2G available, so it wasn't immediate but it worked