Skip to contentSkip to conversation

What raid to build on that drives?

DISCUSSION Timo Boettcher 4 participants 6 messages Nov 26, 2003 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi,

I have 3 * 36GB discs and 5 * 18GB discs on two u160 scsi channels? What possibilities do I have to build a raid on them? I want to be able to survive one failed disc, but get as much space and performance out of the discs as possible.

Timo

#1 lore raw
Quoted 7 lines

Hi,

I have 3 * 36GB discs and 5 * 18GB discs on two u160 scsi channels? What possibilities do I have to build a raid on them? I want to be able to survive one failed disc, but get as much space and performance out of the discs as possible.

Best I can suggest is a raid 5. You'll get 72GB of space, good performance (roughly what you'd get from a sigle drive), and if one of the drives goes south, the other two will keep your raid set up till the drive can be replaced.

--- Dan

#2 lore raw

Hi Dan,

* Dan Egli , Wednesday, November 26, 2003, 8:59:02 PM:

Quoted 8 lines
Quoted 7 lines

Hi,

I have 3 * 36GB discs and 5 * 18GB discs on two u160 scsi channels? What possibilities do I have to build a raid on them? I want to be able to survive one failed disc, but get as much space and performance out of the discs as possible.

Quoted 4 lines

Best I can suggest is a raid 5. You'll get 72GB of space, good performance (roughly what you'd get from a sigle drive), and if one of the drives goes south, the other two will keep your raid set up till the drive can be replaced.

I hoped to integrate all discs in that raid....
I tried to run raid0 over pairs of the 18GB discs (leavin the fifth as spare) and run a raid 5 over these raid0's and the three 36gb drives, but that gives me 50mb/s reading as opposed to 100mb/s with 8*18GB raid5 on the same machine (three of these discs failed, so I got bigger ones). Why did I loose that much performance?

Timo

#4 lore raw
In reply to Timo Boettcher
Quoted 5 lines · Timo Boettcher

I have 3 * 36GB discs and 5 * 18GB discs on two u160 scsi channels? What possibilities do I have to build a raid on them? I want to be able to survive one failed disc, but get as much space and performance out of the discs as possible.

How about two RAID5 arrays, one with the 3*36GB=72GB and the other using the 5*18GB=72GB. Then throw both of these under a RAID0 which will get you 144GB and still be able to survive 1 disk failure.

-Dave

#3 lore raw
In reply to Timo Boettcher
Quoted 18 lines · On Wednesday November 26, [email protected] wrote:

Hi Dan,

* Dan Egli , Wednesday, November 26, 2003, 8:59:02 PM:

Quoted 8 lines
Quoted 7 lines

Hi,

I have 3 * 36GB discs and 5 * 18GB discs on two u160 scsi channels? What possibilities do I have to build a raid on them? I want to be able to survive one failed disc, but get as much space and performance out of the discs as possible.

Quoted 4 lines

Best I can suggest is a raid 5. You'll get 72GB of space, good performance (roughly what you'd get from a sigle drive), and if one of the drives goes south, the other two will keep your raid set up till the drive can be replaced.

Quoted 7 lines

I hoped to integrate all discs in that raid....
I tried to run raid0 over pairs of the 18GB discs (leavin the fifth as spare) and run a raid 5 over these raid0's and the three 36gb drives, but that gives me 50mb/s reading as opposed to 100mb/s with 8*18GB raid5 on the same machine (three of these discs failed, so I got bigger ones). Why did I loose that much performance?

It's hard to say... It would depend in the chunksizes that you used and the exact configuration. Probably is just wasn't keeping all the drives busy all the time.

The "best configuation" for you depends on things like:
1/ do you want one large filessytem, or will two filesystems be ok? 2/ If another 18GB drives dies and you replace it with a 36GB drive,
will you be keen to incorporate that drive into the array?
3/ How do you do backups? How big a filesystem can you dump/restore
to allow for raid reconfiguration?

The only general rule I can give you is to *not* do raid5/raid1 over
raid0/linear. Always do raid5/raid1 out of real drives, and then if
you want to, join those raids together with raid0/linear. This gives much better reliability in the case of failure.

I would probably partition the 36GB drives into 2 18GB partitions, then use raid5 overall 8 drives (maybe 7 and a hot-spare if you want that), and then raid1 with a hot spare for the 3 remaining "top-half" 18GB partitions. Finally raid-linear the raid5 together with the raid1.

NeilBrown

#5 lore raw
In reply to David Rees

Hi David,

* David Rees , Wednesday, November 26, 2003, 10:44:59 PM:

Quoted 10 lines · Timo Boettcher
Quoted 5 lines

I have 3 * 36GB discs and 5 * 18GB discs on two u160 scsi channels? What possibilities do I have to build a raid on them? I want to be able to survive one failed disc, but get as much space and performance out of the discs as possible.

How about two RAID5 arrays, one with the 3*36GB=72GB and the other using the 5*18GB=72GB. Then throw both of these under a RAID0 which will get you 144GB and still be able to survive 1 disk failure.

that way i'll loose 54gb... but it seems reasonable... i'll try it.

Timo