Cannot remove or destroy lxc container

rahmanarif

Member
Dec 11, 2020
3
0
6
Greetings,

We have issue with deleting lxc container, we got error "TASK ERROR: rbd error: rbd: error opening image vm-3001-disk-0: (2) No such file or directory".

Can someone help?


Thanks.
 

Attachments

  • Screenshot 2024-09-03 103140.png
    Screenshot 2024-09-03 103140.png
    8 KB · Views: 14
Have you checked directly on the Ceph storage, does this virtual disk "vm-3001-disk-0" still exist?
 
yes, i checked using
Code:
rbd -p <CEPHPOOLNAME> ls
and I don't find the virtual disk "vm-3001-disk-0"
 
Are there no more virtual disks of this container at all, or is only this one disk missing? Or does the container only have a virtual hard disk?

If these virtual disks no longer exist, you can also simply delete the VM config under “/etc/pve/nodes/<yournode>/lxc/<vmid>”.
 
Last edited:

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!