Re: RAID-5 to RAID-6 Reshape Process

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

 



Mikael Abrahamsson <swmike@xxxxxxxxx> writes:

> On Sun, 22 Nov 2009, Joshua Hattersley wrote:
>
>> I have a home server running Ubuntu 9.04 Server (kernel
>> 2.6.28-16-server), which has three drives in RAID-5 using mdadm
>> (version 2.6.7.1 according to mdadm --version).  I would like to
>> reshape this array into a RAID-6 using one additional drive, thereby
>> turning it into a four disk RAID-6 array (with the intention to grow
>> the usable size of the array later on).  I've been scouring the
>> relevant info I can find on the web and haven't come across a
>> well-outlined process by which to accomplish this.
>
> Read the mdadm annoucement from the 19th. You need latest mdadm and
> kernel 2.6.32 to do the reshape. After that is done you can run the
> raid6 on the 2.6.28 kernel you're running already.
>
> Personally I'd make sure my data was properly backed up before doing
> this process, it's quite recent code.

Alternatively you can degarde the raid5, start a new double degraded
raid6 and then copy the data over. If you used LVM on raid that can be
done completly online with pvmove.

MfG
        Goswin
--
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