How to remove bad disk from LVM2 with the less data loss on other PVs?
- by Walkman
I had a LVM2 volume with two disks. The larger disk became corrupt, so I cant pvmove.
What is the best way to remove it from the group to save the most data from the other disk?
Here is my pvdisplay output:
Couldn't find device with uuid WWeM0m-MLX2-o0da-tf7q-fJJu-eiGl-e7UmM3.
--- Physical volume ---
PV Name unknown device
VG Name media
PV Size 1,82 TiB / not usable 1,05 MiB
Allocatable yes (but full)
PE Size 4,00 MiB
Total PE 476932
Free PE 0
Allocated PE 476932
PV UUID WWeM0m-MLX2-o0da-tf7q-fJJu-eiGl-e7UmM3
--- Physical volume ---
PV Name /dev/sdb1
VG Name media
PV Size 931,51 GiB / not usable 3,19 MiB
Allocatable yes (but full)
PE Size 4,00 MiB
Total PE 238466
Free PE 0
Allocated PE 238466
PV UUID oUhOcR-uYjc-rNTv-LNBm-Z9VY-TJJ5-SYezce
So I want to remove the unknown device (not present in the system).
Is it possible to do this without a new disk ? The filesystem is ext4.