I am so confused that why I can’t find on how to do this…
- Offline the failing (but still working disk) from the LVM RAID1 side
- Physically remove it from the system
- Put in new disk
- Tell LVM RAID1 to use the newly installed disk
I do not have space in a dual caddy to put in the “to be replaced” disk for the --replace parameter to work. So how do I flipping tell LVM that I want to offline the disk that I wanna remove? Then online the new disk??
If it’s a RAID1 can’t you just replace it without offlining it and just add the new disk to the array and it’ll resilver the array?
I can’t find anything that says LVM Mirroring (RAID1) will do this as automatically or whatever.
Logically I would take out the drive on the way out, redo the LVM on the new disk and then add it to the VG. BUT I am not quite sure if I am missing some steps to avoid “a bricked array”.