Cannot remove ghost/orphaned volume groups

wa_ca_pve

New Member
Sep 7, 2023
3
0
1
Hello, I'm a supernoob Proxmox user and have tried to find answers to this problem but couldn't find anything that describes my issue here. I made a few stupid mistakes, and am now stuck with a couple of ghost or orphaned volume groups that show up in the UI but that I can't figure out how to get rid of.

What I was attempting to do was to partition a 4TB drive into multiple partitions so that I could pass one of the partitions to one of my VMs, without having to dedicate the whole disk to it... BTW I'm still trying to figure out how to do that in case it's possible.

I created a couple of Volume Groups (Disks > LVM > Create: Volume Group), which I named Disk1 and Disk2, then realized that wasn't what I wanted, and tried to remove them. I ended up going to that disk in the Disks list and invoked "Wipe Disk". After rebooting PVE it looks like I'm left with the now orphaned Disk1 and Disk2 volumes in the UI (see picture).

They don't show up with lvdisplay or pvdisplay, nor with lvs or pvs, but they still show up in the UI with a question mark next to them... How can I get rid of these?
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    39.9 KB · Views: 4
Nevermind... I figured out that these orphaned volumes show up under Datacenter > Storage, and I was able to remove them from there.
 
What I was attempting to do was to partition a 4TB drive into multiple partitions so that I could pass one of the partitions to one of my VMs, without having to dedicate the whole disk to it... BTW I'm still trying to figure out how to do that in case it's possible.
Partition, format and mount them yourself and then add a new storage at "Datacenter -> Storage -> Add". To passthrough a partition into a (non-Windows) VM you can use disk passthrough like described here: https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)
 

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!