Delete LVM impossible

NeODarK

Member
Dec 3, 2020
28
3
8
45
Hi, I swapped a SDD with an LVM volume and I´m trying to delete and use with FAT32 format but it´s impossible.... I have the SDD with an sata adapter connected in a computer with Debian 11

lvdisplay and I get the VG Name...
then
lvremove proxvg (the name) then ask for remove 22 dependent volumes, I saw yes and I got 22 errors like this:

Thin pool proxvg-proxthin-tpool (254:2) transaction_id is 348, while expected 350. Failed to update pool proxvg/proxthin..... and so

I tried with GParted too, disable partition, delete partition OK but when refresh, the lvm2 volume appears again...

Also I tried to format in windows (diskpart) with no success....

Is any way to delete it?

Thanks!!
 
Last edited:
I dont know how you got into that state, but if you just want to clear things, you can try from Linux:
dd if=/dev/zero of=/dev/SDX bs=512 count=1

replace sdx with specific disk.


Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Hi, yes, I tried this too today with no success... the lvm volume still there.... with dd command terminal saw registers writeds...

It´s too strange
 
Last edited:
Some options are : you have a very peculiar hardware failure or you are not manipulating the disk that you think you are.

Perhaps if you provide more details, for example specific command outputs, community might be able to advise better. Generally, this is not PVE related in any way, so you may get better advice on serverfault/stackoverflow/lvm mailing lists etc.

Things that would be helpful to see:
lsblk
lssci
pvs
vgs
lvs
mount
df
dmesg|egrep sdX
full commands/output of lvremove/pvremove/etc
any related /var/log/messages snippets


Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!