CT is locked (failed backup) and /etc/pve is missing

jalouke

Member
Jan 30, 2021
4
1
8
38
Hey everyone,

I attempted to perform a backup of one of my containers, and I accidentally stopped it before it finished. Now this container is locked and I am unable to locate the /etc/pve folder to edit the <VMID>.conf file to release the lock.

here is my console:
PVE-missing.PNG


Also I have several containers and VMs running currently. I am running PVE 6.3-3 currently.
 
Hi, I don't know if the directory privilege solves its job, but my "/etc/pve/" privilege is as follows.
1613949131499.png
 
you know what, I am a total idiot... can this thread be deleted? I was in the wrong shell.

I am still unable to unlock the container. I tried using:

Code:
pct unlock <vmid>

but I get: -bash: pct: command not found
 
Last edited:
/etc/pve is mounted by pmxcfs binary, it should be launch by the "pve-cluster.service"


about /usr/bin/pct, this is the right location, do you have /usr/sbin/ in your PATH ?

# env|grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
 
I am missing sbin from my PATH:

env|grep PATH
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

How do I go about adding it permanently?
 

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!