Re: Expanding array with multiple devices

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

 



On 03/02/2013 12:15 PM, Roy Sigurd Karlsbakk wrote:
>> On 03/02/2013 09:07 AM, Roy Sigurd Karlsbakk wrote:
>>>> While expanding an existing raid is as simple as mdadm --add, 
>>>> followed by an mdadm --grow, How would you go about this when
>>>> expanding it with multiple devices.
>>>
>>> Given a RAID-5 on /dev/sd[bcde], I'd do
>>>
>>> # mdadm --add /dev/md0 /dev/sd[fghi]
>>> # mdadm --grow --level=6 --raid-devices=8
>>> 
>>> No need to create a new RAID and then move the data.
>> 
>> You missed the bit where he states he needs to use mkfs to switch 
>> filesystem features.
> 
> Oh, sorry. Then why not start off with an identical RAID-5, move the
> data, and then expand as above? No dangling "missing" drives, just
> plain and simple.

I agree.  And the file copy to the raid5 would almost certainly run
faster than any raid6 with "missing".  Then the reshape is one operation
to both expand the drive count and switch to raid6.

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