container locked after unsuccessful snapshot removal

michabbs

Active Member
May 5, 2020
135
20
38
I had this:
Code:
TASK ERROR: zfs error: cannot destroy snapshot rpool/data/subvol-101-disk-0@pb1589489673: dataset is busy
Actually nothing special - dataset was indeed busy, so snapshot couldn't be removed. But the container stayed in the "locked" state, so it was impossible to remove it later:
Code:
TASK ERROR: CT is locked (snapshot-delete)
I manually did pct unlock and everything works fine, but... did Proxmox behave correctly? I see no reason why the container stayed locked.
 
I manually did pct unlock and everything works fine, but... did Proxmox behave correctly?
Yes.
Locks stay to inform the admin that something went wrong.
I see no reason why the container stayed locked.
To remove the snapshot what failed to remove.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!