locked LXC, can't delete

manilx

Member
Mar 25, 2022
79
5
13
Hi

tried to clone a LXC container, while it was backing up.
Ended up in a state where it is locked and not created.
ScreenShot 2022-04-26 at 10.23.53.png

I tried to unlock it via terminal:
Code:
root@zotac:~# qm unlock 202
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
Configuration file 'nodes/zotac/qemu-server/202.conf' does not exist

But it continues locked.
Trying to remove it I get:
ScreenShot 2022-04-26 at 10.23.11.png

How can I remove it.

Help much appreciated!

Kind regards
 
pct unlock 202
 
Worked! Thank you so much.

So the command to unlock LXC container is different from unlocking a VM (obvious in hindsight).