Re: RAID 1 | Changing HDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03.09.25 17:45, Roman Mamedov wrote:
Do you have a free drive bay and connector in your computer (or just the
connector)?

If so, the safest would be to connect all three drives, and then:

   mdadm --add (new drive)
   mdadm --grow -n3 (array)
   mdadm --fail --remove (old drive).
   mdadm --grow -n2 (array)

I like this method, hopefully I have a free connector on the board.

But still two questions left:
- Do I need to turn off the computer for the new (3rd) disk to be known? If I remember correct I had try a hot spare in another scenario and wasn't able to expose the new hard disk to be recognized by lsblk or similar.

Also I see problems with the device naming as long as no hd uuids are not used by having a drive appearing as /dev/sdx and with next reboot as /dev/sdn. Are my concerns reasonable or am I just too afraid?

Thanks.





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux