Unable to delete VM Image

infinityM

Well-Known Member
Dec 7, 2019
179
1
58
31
Hey Guys,

I am having an issue deleting a file....

if I run rbd ls -l Default I get a message that reads:
2020-01-28 10:23:44.690 7efe5d7fa700 -1 librbd::io::AioCompletion: 0x559ed057843 0 fail: (2) No such file or directory
2020-01-28 10:23:44.694 7efe5d7fa700 -1 librbd::io::AioCompletion: 0x559ed0611c5 0 fail: (2) No such file or directory
rbd: error opening vm-106-disk-1: (2) No such file or directory
rbd: error opening vm-121-disk-0: (2) No such file or directory
2020-01-28 10:23:44.698 7efe5d7fa700 -1 librbd::io::AioCompletion: 0x559ed0678fd 0 fail: (2) No such file or directory
rbd: error opening vm-122-disk-0: (2) No such file or directory
NAME SIZE PARENT FMT PROT LOCK
vm-100-disk-0 1 GiB 2
vm-100-disk-1 50 GiB 2 excl
vm-101-disk-0 32 GiB 2 excl
vm-102-disk-1 100 GiB 2 excl
vm-103-disk-0 150 GiB 2
vm-103-disk-2 10 GiB 2 excl
vm-104-disk-1 150 GiB 2 excl
vm-105-disk-1 85 GiB 2 excl
vm-107-disk-0 960 GiB 2 excl
vm-107-disk-1 960 GiB 2 excl
vm-108-disk-1 400 GiB 2 excl
vm-109-disk-0 50 GiB 2
vm-110-disk-1 150 GiB 2 excl
vm-111-disk-1 50 GiB 2 excl
vm-112-disk-1 200 GiB 2 excl
vm-113-disk-1 200 GiB 2 excl
vm-114-disk-1 100 GiB 2 excl
vm-115-disk-1 50 GiB 2 excl
vm-116-disk-1 50 GiB 2 excl
vm-117-disk-0 1 GiB 2
vm-117-disk-1 25 GiB 2
vm-118-disk-0 1 GiB 2
vm-118-disk-1 100 GiB 2
vm-119-disk-1 10 GiB 2 excl
vm-120-disk-1 50 GiB 2 excl
vm-124-disk-0 100 GiB 2 excl
rbd: listing images failed: (2) No such file or directory

If I try and remove the images it's complaining about: rbd rm vm-122-disk-0 -p Default
I then get a message that shows it's deleting but it stops at 99% and does not proceed....

How can I get past this? Cause now I can't do almost anything with the storage?
 
Hi,

is your ceph cluster healthy?
Code:
ceph -s
 

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!