Can't delete container: rbd error: rbd: error opening image vm-113-disk-1: (2) No such file or directory

proximoxi2

Member
Nov 1, 2019
10
0
21
47
When I try to delete the container in the web ui, I only get the following error:
Code:
rbd error: rbd: error opening image vm-113-disk-1: (2) No such file or directory

When I run pct destroy 113 manually I get the excat same error. There is only a vm-113-disk-0 when I loot at `CT Volumes`.

Should i simply change
rootfs: ceph_containers:vm-113-disk-1,size=8G
to
rootfs: ceph_containers:vm-113-disk-0,size=8G
in /etc/pve/lxc/113.conf ?
 
Last edited:
Answered in another thread:
Hi,
one of the following should work around the issue:
  • edit the configuration file /etc/pve/lxc/<ID>.conf and remove the line with the disk.
  • allocate a new volume where it's missing pvesm alloc <storeid> 113 vm-113-disk-1 1G.
 

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!