Re: Raid 5 to 6 is it do-able/safe?

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

 



On Tue, Dec 29, 2009 at 1:31 PM, John Robinson
<john.robinson@xxxxxxxxxxxxxxxx> wrote:
>
> On 29/12/2009 12:08, Mikael Abrahamsson wrote:
>>
>> On Tue, 29 Dec 2009, Jon Hardcastle wrote:
>>
>>> I run gentoo with kernel 2.6.22-gentoo-r8
>>>
>>> to convert my 6 drive +1 spare raid 5 to a 7 drive raid 6?
>>
>> No, you need at least kernel 2.6.32 to migrate from raid5 to raid6.
>
> But if you don't want to run 2.6.32 permanently/on your live system, iirc you can just run it to do the migration, and once the migration and reshape have completed, you can go back to your production kernel.
>

Besides the kernel version issues, this type of migration is
definitely possible and should be safe. I just did one of these before
christmas - grew a 3 or 4-disk RAID-5 into a 6-disk RAID-6, all on
1.5TB drives. Lots of fun nail-biting moments watching /proc/mdstat!
As it turned out, the thing just started, went about its business, and
finished in a quiet and refined manner. Now my arrays are vast and
comfortably redundant ...

Just give yourself a set of big, physical reminders to update your
mdadm.conf when the reshape / relevel is done.

And you really, preferably ought to back your data up before you do
this. Even though the rearrangement will probably work just fine.

Merry everything!

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