Skip to contentSkip to conversation

Expanding RAID array?

DISCUSSION John Rowe 8 participants 9 messages Jan 16, 2006 – Jan 23, 2006 MD RAID

lore
Share & tools
lore

John Rowe

author
#0 lore raw

I have a 5-disk RAID5 array. Is it possible to add disks to increase the array size and/or convert it to RAID6? (Indeed, what is the status of RAID6?)

Thanks

John

#1 lore raw
Quoted 3 lines · On Monday January 16, [email protected] wrote:

I have a 5-disk RAID5 array. Is it possible to add disks to increase the array size and/or convert it to RAID6? (Indeed, what is the status of RAID6?)

- add disks to increase size of raid5
Possible offline with raidreconfig
Possible online with alpha-quality patches that I am
working on today. Will publish for experimentation/testing later this week. Hopefully stable by late Feb.

- add disks to convert to raid6.
I don't think this is possible, but you should check the latest raid reconfig.
Might be supported online with a limited raid6 in which the Q syndrome (second 'parity' block) isn't rotated among disks.

- status of RAID6
I believe it is as stable/reliable as raid5.

NeilBrown

#2 lore raw
Quoted 2 lines · Neil Brown

- status of RAID6
I believe it is as stable/reliable as raid5.

FWIW: I've been using RAID-6 since early last year in production environments and so-far so good. Kernels 2.6.11 to 2.6.15 (on a Dell 2850 server I'm building tonight with 6 drives). I did have some early issues with it, but it was actually due to "intersting" hardware... I've not had a disk failure for real yet, but it's "just worked" every time I've done tests on it.

Gordon

#3 lore raw

Hey,

I was wondering where I can find raidreconfig? google doesnt seem to know a website for it.

Quoted 21 lines · Gordon Henderson
Quoted 3 lines · Neil Brown

- status of RAID6
I believe it is as stable/reliable as raid5.

FWIW: I've been using RAID-6 since early last year in production environments and so-far so good. Kernels 2.6.11 to 2.6.15 (on a Dell 2850 server I'm building tonight with 6 drives). I did have some early issues with it, but it was actually due to "intersting" hardware... I've not had a disk failure for real yet, but it's "just worked" every time I've done tests on it.

Gordon
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Gordon Henderson

Quoting Gordon Henderson <[email protected]>:

Quoted 7 lines · Neil Brown
Quoted 3 lines

- status of RAID6
I believe it is as stable/reliable as raid5.

FWIW: I've been using RAID-6 since early last year in production environments and so-far so good.

Ditto. On a VERY loaded system (so loaded that it crash every now and then because of the load). Haven't had ANY trouble what so ever with RAID6. I'm very (!) happy with it!

This on 4x9Gb + 2 spares. Use it on the system/root filesystem only though... Which isn't THAT loaded now when I think about it...

If I could, i'd convert all my RAID5 sets to RAID6. But I don't have time for the downtime. I'll monitor this subject closely though... :)

Quoted 1 line

Kernels 2.6.11 to 2.6.15 (on a Dell 2850 server I'm building tonight with 6 drives).

Mine is a 2.6.12.4 on a Sun Blade 1000 (2x750MHz UltraSPARC III) CPU's (now) with 2Gb mem...

Quoted 2 lines

I've not had a disk failure for real yet, but it's "just worked" every time I've done tests on it.

Same here. I've been fortunate to not have a disk crash so I can't say how stable/good RAID6 is if disks start krashing :)

Signature · 5 lines
PLO SEAL Team 6 domestic disruption jihad nuclear terrorist Clinton
colonel Qaddafi congress Marxist Peking bomb explosion South Africa
[See http://www.aclu.org/echelonwatch/index.html for more about this]
[Or http://www.europarl.eu.int/tempcom/echelon/pdf/rapport_echelon_en.pdf]
If neither of these works, try http://www.aclu.org and search for echelon.
#6 lore raw
In reply to Neil Brown

Hi,

----- Original Message -----
From: "Neil Brown" <[email protected]>
To: "John Rowe" <[email protected]>
Cc: <[email protected]>
Sent: Monday, January 16, 2006 11:37 PM
Subject: Re: Expanding RAID array?

Quoted 10 lines · On Monday January 16, [email protected] wrote:
Quoted 3 lines

I have a 5-disk RAID5 array. Is it possible to add disks to increase the array size and/or convert it to RAID6? (Indeed, what is the status of RAID6?)

- add disks to increase size of raid5
Possible offline with raidreconfig
Possible online with alpha-quality patches that I am
working on today. Will publish for experimentation/testing later this week. Hopefully stable by late Feb.

This patch will can do also chunksize conversion? :-) And / or converting from N disk to N disk with different chunksize?

I think i will test it if i can get a copy. :-)

Cheers,
Janos

#7 lore raw
Quoted 8 lines · On Tuesday January 17, [email protected] wrote:
Quoted 6 lines

- add disks to increase size of raid5
Possible offline with raidreconfig
Possible online with alpha-quality patches that I am
working on today. Will publish for experimentation/testing later this week. Hopefully stable by late Feb.

This patch will can do also chunksize conversion? :-)

Not currently, but it shouldn't be too hard to add.

Quoted 1 line

And / or converting from N disk to N disk with different chunksize?

No. This is impossible to do both efficiently and safely with NVRAM. Even if you give up "efficiently" you need some temporary storage space.

You would need to
copy a stripe to some temporary storage
Update the metadata to record that the stripe has moved copy the stripe back with the new geometry Update the metadata to record the movement
repeat

It certainly could be done, but I doubt the demand would be high enough to justify it.

The situation is similar for raid5-raid6 or raid0-raid5 conversions that done increase the size of the array (i.e. only add one device). They require update-in-place which is hard to do in a way that still protects your data if there is a power failure.

NeilBrown

#8 lore raw
In reply to Neil Brown
Quoted 3 lines · Neil Brown

- add disks to convert to raid6.
I don't think this is possible, but you should check the latest raid reconfig.

It's not. I started work on it Feb last year but then real life got in the way again.
In the longer term, I think raidreconf as it stands is going to die (mainly because it's infrastructure relies on the old raidtab architecture). I thought about perhaps porting it as an addon to mdadm, but then I ran out of drives/machines/time to test it on.

Quoted 2 lines

Might be supported online with a limited raid6 in which the Q syndrome (second 'parity' block) isn't rotated among disks.

In theory I would have thought it not that much different than a raid-5 expand, just inserting an extra block for the Q syndrome.

Quoted 2 lines

- status of RAID6
I believe it is as stable/reliable as raid5.

Mine has been running since Feb last year with fairly moderate use and no hiccups.
I have just upgraded to the latest 2.6.15-git on that machine to give some of the newer raid patches (like check & repair) a whirl. Seems fairly solid.

Let's say I've never had any raid-6 related data loss, or even near misses, but it has saved my bacon in 2 dual drive failures in the last year.

Oh, and the new read and check code (rather than just rebuild the parity blocks) shaves about 1 hour of what was an 11 hour rebuild time on this particular raid-6. Thanks Neil!

Regards,
Brad

Signature · 3 lines
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams