Re: Replace disks

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

 



On Tue, 27 Mar 2018 15:32:11 +0200
Andreas Klauer <Andreas.Klauer@xxxxxxxxxxxxxx> wrote:

> If you have three free slots, add your new drives, partition them 
> and grow your 3-drive RAID-1 to a 6-drive RAID-1.
> 
>   mdadm --grow /dev/md0 --raid-devices=6 --add /dev/newX1 /dev/newY1 /dev/newZ1

Other than showing off that you're gung-ho with command-lines, there's not a
single reason in combining these two operations like this. If this was RAID5/6
with a 4 or 5 to 6 change, can you guarantee it wouldn't FIRST reshape the
array onto a number of missing devices, massively degrading or eliminating
redundancy, and only then would start with the "add" operation (to "fill in
the blanks" and start a rebuild)?

As such, combining grow and add is a very bad habit to have. First add
whatever devices you have, only then start a reshape.

-- 
With respect,
Roman
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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