Can't delete a LVM?

Nanja

New Member
Feb 6, 2023
17
0
1
Screenshot 2023-02-06 084853.png
I seem to be having issues deleting this. I currently have no VM or CT up and running, so it shouldn't be in use.
Whatever I do, it says cannot be deleted or file system in use. I tried rebooting several times and it wouldn't work.

I followed all the options here in this guide. I just can't seem to get it to work.


Code:
  --- Logical volume ---
  LV Path                /dev/dedi-vg/root
  LV Name                root
  VG Name                dedi-vg
  LV UUID                zDhOgr-aNKl-jBcm-6PuN-kA1V-RikA-bmdpy4
  LV Write Access        read/write
  LV Creation host, time dedi, 2023-02-05 17:42:12 -0500
  LV Status              available
  # open                 1
  LV Size                <445.70 GiB
  Current LE             114098
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
 
  --- Logical volume ---
  LV Path                /dev/dedi-vg/swap_1
  LV Name                swap_1
  VG Name                dedi-vg
  LV UUID                8nRecE-fjtQ-kxvN-J6Sy-4PfZ-WvXj-65Iv08
  LV Write Access        read/write
  LV Creation host, time dedi, 2023-02-05 17:42:12 -0500
  LV Status              available
  # open                 2
  LV Size                980.00 MiB
  Current LE             245
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

Any help would be appreciated =D
unmounting also doesn't help, because it's in use.
 
Last edited:
Hi,
first of all are you sure that this is not your default LVM, also used for PVE? Can you share the output of lsblk -o +FSTYPE
 
eh, I followed this guide.


Code:
wipefs -fa /dev/sda5
dd if=/dev/zero of=/dev/sda5 bs=1M count=1000
udevadm settle
reboot


So I can't check anymore, I can't even boot the machine. I don't have IPMI so I can't reinstall OS on this unmanaged dedicated server. Waiting to see how much this company charges me for a reinstall.
 
eh, I followed this guide.


Code:
wipefs -fa /dev/sda5
dd if=/dev/zero of=/dev/sda5 bs=1M count=1000
udevadm settle
reboot


So I can't check anymore, I can't even boot the machine. I don't have IPMI so I can't reinstall OS on this unmanaged dedicated server. Waiting to see how much this company charges me for a reinstall.
Well, seems like you wiped your system disk, including PVE...

I hope you get a free of charge reinstall.