[SOLVED] Remove vm-disks visible in the web-gui

adrian_vg

Well-Known Member
Mar 8, 2020
81
40
58
Sweden
Hi all,

One of my cluster-nodes crashed the other other day and trashed its local-lvm.
After some work, the local-lvm is up again but the web-gui shows the raw vm-disks, when in fact there is no trace whatsoever on the node it self.
Where are these coming from, and how do I get rid of them?
The vm-disks aren't referenced anywhere in any vm-id.conf-file I can find.

This is on a Proxmox 6.4 server, and again, I have no conf-files in /etc/pve/qemu-server folder.
If I do a "lvs -a" the vm-disks as well as the snapshots are visible too.

Is there a way to clean up the leftovers on the local-lvm=

Thanks.



1638281608103.png
 
Running this now, since the test seemed to go through.

Code:
root@dragonborn:~# vgcfgrestore pve --test --force
  TEST MODE: Metadata will NOT be updated and volumes will not be (de)activated.
Volume group pve has active volume: swap.
Volume group pve has active volume: root.
WARNING: Found 2 active volume(s) in volume group "pve".
Restoring VG with active LVs, may cause mismatch with its metadata.
Do you really want to proceed with restore of volume group "pve", while 2 volume(s) are active? [y/n]: y
WARNING: Forced restore of Volume Group pve with thin volumes.
Restored volume group pve

Will continue with "lvchange -a y pve/data", when done.
 
Last edited:
Too many errors to fix, so I just removed the node from the cluster and resinstalled Proxmox.
Problem solved.