Recently I have lost a hard drive which contained a physical volume of LVM2.
It contained an insignificant file system with scratch data and a part of a RAID1 logical volume.
To recover, it was necessary to repair the RAID1 LV and remove other partial LV. I was surprised that the network lacked information on how to repair a RAID1 LV.
So here are the commands:
It contained an insignificant file system with scratch data and a part of a RAID1 logical volume.
To recover, it was necessary to repair the RAID1 LV and remove other partial LV. I was surprised that the network lacked information on how to repair a RAID1 LV.
So here are the commands:
lvconvert --repair /dev/mapper/VG-LVraid1 lvremove /dev/mapper/VG-LVpartial vgreduce --removemissing VG
Комментариев нет:
Отправить комментарий