error during cfs-locked rbd: error opening image

stefek143

Member
Aug 30, 2019
8
1
8
41
Hello,
I would like to delete disk from VM but when I click remove from GUI i get:
Code:
error during cfs-locked 'storage-HDD' operation: rbd error: rbd: error opening image vm-001-disk-0: (2) No such file or directory
.

When I type command:
Code:
 rbd ls -l HDD

Then I don't see such disk. Look like it doesn't exist.
How could I delete this one with safe way from my VM?
 
  • Like
Reactions: proximoxi2
I get the same error when I try to delete a container:
Code:
TASK ERROR: rbd error: rbd: error opening image vm-113-disk-1: (2) No such file or directory
Have you found a solution how to delete the container/VM anyway?
 
Workaround was move vm to another node or change some value in "option" for example protected mode.
After update Proxmox to 6.4-9 I do not notice such problem .
 
Hm ok, I moved the container to a new node and changed some option, but still get the same error when I try to remove the container :(
 
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.
 
  • Like
Reactions: proximoxi2