Delete LVM storage proxmox

gamernorbi

New Member
May 28, 2022
3
0
1
31
Romania
Hi Guys I want to delete LVM storage and create that 1.75TB drive to be a LVM Thin.I've delete it from datacenter but its still there and I cant create a new LVM Thin storage.How do I remove that?

I want that 1.75TB drive to be LVM Thin

root@drprox1:~# vgdisplay
--- Volume group ---
VG Name SSDnew
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.75 TiB
PE Size 4.00 MiB
Total PE 457599
Alloc PE / Size 0 / 0
Free PE / Size 457599 / 1.75 TiB
VG UUID lDWsLc-RdF0-eAQV-VGUO-JFis-8Hl7-yqqNBj

--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 9
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 7.28 TiB
PE Size 4.00 MiB
Total PE 1907327
Alloc PE / Size 1907327 / 7.28 TiB
Free PE / Size 0 / 0
VG UUID o2yJMk-3EZC-jTH1-MGfU-BlFB-9uf8-tvnuH5

--- Volume group ---
VG Name SSD
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 17
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 893.25 GiB
PE Size 4.00 MiB
Total PE 228671
Alloc PE / Size 228671 / 893.25 GiB
Free PE / Size 0 / 0
VG UUID jwvoP5-pDP1-90fn-TBgt-uZQv-e40e-RyKTRw

============================================
root@drprox1:~# pvdisplay
--- Physical volume ---
PV Name /dev/sdc
VG Name SSDnew
PV Size 1.75 TiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 457599
Free PE 457599
Allocated PE 0
PV UUID V8Gd8x-RjkH-P3nL-pLud-lfAu-i6Es-Xj3SQF

--- Physical volume ---
PV Name /dev/sdb3
VG Name pve
PV Size 7.28 TiB / not usable 2.98 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 1907327
Free PE 0
Allocated PE 1907327
PV UUID qpWuvB-UxIk-t3uC-j1DL-1lUk-d8HK-MBlDLu

--- Physical volume ---
PV Name /dev/sda
VG Name SSD
PV Size 893.25 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 228671
Free PE 0
Allocated PE 228671
PV UUID kTBwFl-Wxp2-6QM5-4Xjl-KJND-MJgU-t0Hxbu
 
Removing a storage from Datacenter -> Storage will only remove the storage that points to your LVM. I won't delete the LVM itself. To create that disk with LVM-Thin you have to go to YourNode -> Disks -> LVM-Thin and create a new thin pool. But PVE will only allow you to do that when that disk isn't already partitioned, so you can't delete your existing data by accident. So you need to wipe your disk first, which can also be done from YourNode -> Disks with the Wipe button.
 

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!