this post was submitted on 30 Jul 2021
6 points (87.5% liked)

Linux

49740 readers
814 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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??

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 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".