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

adrian_vg

Active Member
Mar 8, 2020
78
37
38
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:

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!