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

proximoxi2

Active Member
Nov 1, 2019
15
0
41
49
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.