Sometimes a backup or snapshot process is killed blocking any further backup. An LXC (or QM) may be left in a locked state and can not be unlocked. An IO error like this is thrown:
$ pct unlock $VMID
unable to open file '/etc/pve/nodes/$NODEID/lxc/$VMID.conf.tmp.32442' - Input/output error
Neither file nor process exist. The file can also not just be created, because it’s on a protected fuse mount. What usually helps is restarting the PVE-Cluster service (even on a single cluster node):
$ systemctl restart pve-cluster
$ pct unlock $VMID

Leave a Reply

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)