Remove LVM / Volume Group

randy404

Member
Feb 24, 2021
7
0
6
57
I have a fairly new pve 6.3-3 Cluster that I originally created LVM using an ISCSI Target. I'd like to remove LVM and add LVM-Thin on the ISCSI target. I removed LVM from the Cluster through the GUI, but the issue I'm running into is the original Volume Group I created when I created LVM is still claiming the ISCSI target and not letting me use it for LVM-thin.

How can I remove the volume group to free up the ISCSI target so I can recreate with LVM-Thin?

I bow to the PromMox Gods... Your assistance is appreciated. Thank you in advance.
 
First of all, removing the LVM from the GUI only means, that it cannot be used as storage anymore. Nothing on the disks is altered.
To remove the LVM you have destroy it (command lvremove) and setup a new thin-lvm. This is best done on the console.
lvcreate -L <size> --thinpool is basically the way.
After creating the thin pool you can add it as storage to Proxmox.