Cannot remove or destroy lxc container

rahmanarif

Member
Dec 11, 2020
3
0
21
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: 21
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: