LVM Group Unable to be Removed?

GregoInc

New Member
Jul 25, 2022
13
1
3
Hello,

Have tried a number of approaches to removing an LVM disk I created, but seem to have got myself stuck. Here's what I've tried...

Here's what I see in the web interface

1661583312724.png

And here's what I tried to gain more info...
1661583197412.png
As you can see all of the above commands dont show anything.

Here's more detail...
1661583419612.png

Have tried rebooting, and no matter what options I try I cannot remove this group?

Appreciate any tips, or additional information I can provide.

Thanks, Mark
 
May have ended up solving myself... here's the steps I took.

sgdisk -N 1 /dev/sda
pvcreate --metadatasize 250k -y -ff /dev/sda1
vgcreate lvm1 /dev/sda1

Here's how it looks now...

1661584957016.png
1661585003235.png
1661585098408.png

So I think it's good, but not sure?
 
Hi,
well, you didn't remove the storage, but re-created it ;)
In Proxmox VE, the admin is responsible for ensuring that the storage configuration matches the actually available storages. So in your case, the issue likely was that the storage was still configured in Proxmox VE's storage configuration (/etc/pve/storage.cfg or Datacenter > Storage in the UI), but not actually available on the node.

Now that you made the storage available, Proxmox VE is happy again. The other way would've been to remove the outdated configuration.

If you have multiple nodes and a storage is not available on all of them, you can restrict the storage via the nodes property, which can also be edited in the UI.
 

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!