I am so confused that why I can’t find on how to do this…

  1. Offline the failing (but still working disk) from the LVM RAID1 side
  2. Physically remove it from the system
  3. Put in new disk
  4. 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??

  • Cysioland@lemmygrad.ml
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    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?

    • DBGamerOP
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      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”.