Ask Slashdot: IDE Software RAID?
Edward Schlunder asks:
"After setting up
Software RAID on a SCSI system at work,
I want to do the same at home for fun.
Call me crazy, but I'm just completely
geeked up about this after seeing it working.
The Software RAID documentation says that
each hard disk should be on a separate IDE
cable and that RAID5 requires at least 3
hard drives. I want to use my two existing
IDE hard drives and get the large, fast,
and cheap IBM IDE ATA/66
Deskstar 22GXP hard drive to make up
the third..." There's one small problem
though. Hit the link for more.
"My motherboard only has two IDE ports. So, my question is, what IDE controller card can I get that satisfies the following:
- Supports Linux (obviously!)
- High speed, preferrably ATA/66 and PCI
- Lets you use multiple controllers in one system (that is, it can co-exist with the onboard IDE controller on my SuperMicro P6DBE motherboard)
Please refrain from suggesting that I should just use SCSI -- the goal here isn't absolute greatest speed and reliability, but a cheap way to teach myself more about RAID5 and provide a test system to blow things up on without causing users unnecessary grief ;-)"
As long as you have good IDE controllers (no huge bottlenecks), try FreeBSD's RAID/LVM system "Vinum." It would require trying an OS other than the media baby of today, but that's definitely worth it anyway.
If you _REALLY_ want to see great performance, try FreeBSD using Vinum and setting SoftUpdates on on the Vinum volume.
(Now just watch this be moderated down for being a troll, because I suggested something different...)
Brian Fundakowski Feldman
No. In fact with 2D/1C (2 disks on 1 ctrlr), you will still get getter performance 1D/1C in most cases. Under general use, you're doing small-size reads distributed across the disk, so the real bottleneck is head-seek. Even with big contiguous-block reads, you'll still notice an improvement.
First off, RH-kernels are far from stock linux kernels. Do an 'rpm -qpl [file].src.rpm' on one of their kernel SRPM's and you'll see a bunch of (non-dist) patches. Amoung them is the raid patch
Support for the new Ultra/66 hasn't hit the 2.2.x tree yet(I think). Check 2.3.5+ for new Ultra/(33,66) support.
( I've never tried it ) I suspect that you'd might see (marginally) better read-speeds, but you might even see degradation on write or mixed rdwr perfs ( since every write yanks two out of three heads across the platters )
This won't work for raid5, not unless you want most of the large disk unprotected. Consider instead striping (for example) hda3+hdb3==md0, and then making a raid0 or raid1 volume md0+hdc3==md1.
Better yet, get four disks of the same size...
For hardware raid controllers, yes, go with identical disks. This is not needed for any kind of s/w raid I've dealt with (linux, disksuite, veritas-vm, xlv). For linux s/w-raid, you should be safe making a raid5-vol by mixing two ide-partitions, a scsi-disk, a loopback off of a file and a few NBD's (so long as they are the same size).
Scary, risky and very unwise.
So I'm not the only one...
/* MAGIC THEATRE
ENTRANCE NOT FOR EVERYBODY
MADMEN ONLY */