var/lib/vz/private/$CTID is deleted but CT is operational

mathx

Renowned Member
Jan 15, 2014
177
3
83
I see for some of my containers that var/lib/vz/private/$CTID is deleted, but the containers are operational as their mounts exist in /var/lib/vz/root. The dirs under private/ are empty (but exist).

$ grep 114 /proc/mounts
/var/lib/vz/private/114 /var/lib/vz/root/114 simfs rw,relatime 0 0
/dev/mapper/pve-data \040(deleted)/var/lib/vz/private/114 ext4 rw,noatime,nodiratime,relatime 0 0

However, I fear if I reboot, they'll disappear of course. I am not sure how this occurred: I dont recall deleting their dirs, certainly not while operational. I dont think it was a failed migration operation either (this host is standalone, not part of a cluster).

Was this a botched removal of these containers? (except they're not supposed to be removed at all...) - what other situation would explain this? What's the best way to restore them? (Recopy to a new ctid and restart on that ctid?)

This is on pve-manager/3.3-1/a06c9f73 (running kernel: 2.6.32-32-pve)
 

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!