[SOLVED] Unable to delete volumes in LVM no SAN over iSCSI

Oldsocks

Member
Mar 1, 2018
22
1
23
50
Updae: one of the cluster members was somehow holding that file open, once I forced a reboot I was able to delete it. I now have new problems, naturally, but this is no longer one of them.

Hello,

I am sleep deprived so please bear with me.

In additon to sudden mysterious performance trouble, I am having great difficulty deleting a guest's drive. I initiall migrated between hosts and then deleted the VM, leaving me with orphans. When I try to remove the orpon, an error message appears:

Code:
error during cfs-locked 'storage-biglvm' operation: can't activate LV 'VMData/vm-106-disk-0' to zero-out its data: device-mapper: create ioctl on VMData-vm--106--disk--0 LVM-WApeYdWby3f0w7UYZiNgXpnzSMvxRpuB5KIMtTvir6uRIG2xgP42fNPLVlf1bbEn failed: Device or resource busy

I am at a bit of a loss as to how to proceed. I'll keep looking but hopefully someone here knows how to get my space back! Similar threads have asked for the output of vgdisplay and lvs; here they are:

root@ta-p1-s01:~# vgdisplay
/dev/sdb: open failed: No medium found
--- Volume group ---
VG Name VMData
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 102
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 25
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 6.82 TiB
PE Size 4.00 MiB
Total PE 1788137
Alloc PE / Size 1698314 / <6.48 TiB
Free PE / Size 89823 / 350.87 GiB
VG UUID WApeYd-Wby3-f0w7-UYZi-NgXp-nzSM-vxRpuB

--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 22
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 10
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size <558.38 GiB
PE Size 4.00 MiB
Total PE 142944
Alloc PE / Size 138850 / 542.38 GiB
Free PE / Size 4094 / 15.99 GiB
VG UUID 13oQKC-xMJ0-H0Kl-pZYG-O6Cq-mW2V-Sd413G

root@ta-p1-s01:~# lvs
/dev/sdb: open failed: No medium found
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vm-100-disk-0 VMData -wi-ao---- 10.00g
vm-100-disk-1 VMData -wi-ao---- 10.00g
vm-102-disk-0 VMData -wi-ao---- 32.00g
vm-103-disk-0 VMData -wi-a----- 250.00g
vm-104-disk-0 VMData -wi-a----- 250.00g
vm-104-disk-1 VMData -wi-a----- 4.00m
vm-106-disk-0 VMData -wi------- 1000.00g
vm-106-disk-1 VMData -wi------- 4.00m
vm-108-disk-0 VMData -wi-a----- 250.00g
vm-108-disk-1 VMData -wi-a----- 4.00m
vm-109-disk-0 VMData -wi-a----- 320.00g
vm-109-disk-1 VMData -wi-a----- 4.00m
vm-111-disk-0 VMData -wi-a----- 250.00g
vm-111-disk-1 VMData -wi-a----- 4.00m
vm-112-disk-0 VMData -wi-a----- 3.17t
vm-112-disk-1 VMData -wi-a----- 4.00m
vm-113-disk-0 VMData -wi-a----- 250.00g
vm-113-disk-1 VMData -wi-a----- 4.00m
vm-114-disk-0 VMData -wi-a----- 250.00g
vm-114-disk-1 VMData -wi-a----- 4.00m
vm-115-disk-0 VMData -wi-a----- 250.00g
vm-115-disk-1 VMData -wi-a----- 4.00m
vm-116-disk-0 VMData -wi------- 200.00g
vm-116-disk-1 VMData -wi------- 4.00m
vm-117-disk-0 VMData -wi------- 64.00g
data pve twi-aotz-- <429.61g 19.79 1.34
root pve -wi-ao---- 96.00g
snap_vm-100-disk-0_beforerefresh pve Vri---tz-k 200.00g data vm-100-disk-0
snap_vm-100-disk-1_beforerefresh pve Vri---tz-k 4.00m data vm-100-disk-1
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-aotz-- 200.00g data 15.83
vm-100-disk-1 pve Vwi-aotz-- 4.00m data 3.12
vm-101-disk-0 pve Vwi-a-tz-- 200.00g data 14.30
vm-101-disk-1 pve Vwi-a-tz-- 4.00m data 3.12
vm-102-disk-0 pve Vwi-aotz-- 32.00g data 41.67
 
Last edited:

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!