Delete zombie LXCs

da-alb

Member
Jan 18, 2021
121
3
23
Hi,

Issuing lxc-ls I have more lcxs than the web or /etc/pve/lxc/ shows. What am i missing? How can i remove the missing containers?
 
did you use the 'lxc-*' commands manually ?
 
did you use the 'lxc-*' commands manually ?
To remove the containers? No. We've had an issue with the storage so we had to use new drives and we've changed the name of the storage used by the old lcxs, I have removed the old lxcs by deleting the file in /etc/pve/lxc.

Thanks
 
you could use 'lxc-destroy' but note that under normal circumstances you should not call 'lxc-*' directly, only use our own wrapper 'pct' to create/start/etc. containers

my guess is that 'lxc-create' was called, but that circumvents the pve stack...
 

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!