4 node cluster with ISCSI LVM ghost locked VM

yaboc

Renowned Member
Nov 13, 2012
85
2
73
hi

i have 4 nodes in a cluster and i see that my SAN (ISCSI with LVM) sotrage has extra disks that look like are leftovers from the deleted VMs

i have two config files for old VMs


May 10 2016 113.conf.1939.tmp
Sep 15 2016 200.conf.14637.tmp

-------------------
cat /etc/pve/qemu-server/200.conf.14637.tmp
bootdisk: ide0
cores: 1
cpu: qemu64
ide0: NYPHSTORE:vm-200-disk-1,size=50G
ide2: none,media=cdrom
memory: 2560
name: pdc
net0: e1000=DA:89:29:51:57:B7,bridge=vmbr0
ostype: l26
sockets: 1
-----------------

lvdisplay

--- Logical volume ---
LV Path /dev/NYPH/vm-200-disk-1
LV Name vm-200-disk-1
VG Name NYPH
LV UUID AhwYGw-GPU7-7yU8-pP8b-W1UM-gxaI-lZQIgE
LV Write Access read/write
LV Creation host, time px1, 2016-09-15 10:50:23 -0400
LV Status NOT available
LV Size 50.00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
-------------------------

cat /etc/pve/qemu-server/113.conf.1939.tmp
bootdisk: ide0
cores: 1
ide0: NYPHSTORE:vm-113-disk-1,size=62G
ide2: none,media=cdrom
memory: 1024
name: opsi
net0: e1000=22:A5:17:2E:AE:3A,bridge=vmbr0
ostype: l26
smbios1: uuid=d8b31419-5102-4aac-90bb-7308b0c05cca
sockets: 1

-------------------------------
lvdisplay

--- Logical volume ---
LV Path /dev/NYPH/vm-113-disk-1
LV Name vm-113-disk-1
VG Name NYPH
LV UUID 4JbAeQ-zmEc-m1JG-TirC-BZeH-wXue-xDebrA
LV Write Access read/write
LV Creation host, time px1, 2016-05-10 14:44:20 -0400
LV Status NOT available
LV Size 62.00 GiB
Current LE 15872
Segments 1
Allocation inherit
Read ahead sectors auto

how can i get rid of this ghost VMs and disks. They don't appear in proxmox gui can i just delete the conf file and lvremove the disks to free up the SAN storage ?

I do have VM 113
Apr 23 17:22 113.conf

cat 113.conf
bootdisk: ide0
cores: 1
ide0: NYPHSTORE:vm-113-disk-2,size=32G
ide2: none,media=cdrom
memory: 1024
name: cipher
net0: e1000=8A:05:61:46:82:D0,bridge=vmbr0
ostype: l26
protection: 1
smbios1: uuid=0b0844b3-6ecf-482d-b8ef-e026d7cb1784
sockets: 1
unused0: NYPHSTORE:vm-113-disk-1

but it's using a different disk. so would it be safe to remove those two temp conf files and the lvremote for the disks that are in those conf files ?
Thanks

Y
 

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!