Ask Slashdot: IDE Software RAID? 181
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 ;-)"
Linux software RAID0/1/5 GPL-ed, has more features (Score:1)
Re:Yeah, I think he does... (Score:2)
Otherwise the Promise PCI DMA/66 card sounds nice.
-dantheperson
controller/prebuilt system (Score:3)
Re:Try software RAID. (Score:1)
I'd like to point out (or rather, I hoped it would seem as such that I did point out earlier) that a 'problem' (in this case, getting great performance with little money) can be solved in multiple ways. Until you try all of the (at least free) solutions, are you really done looking? He limited himself by saying "no SCSI", but SCSI is probably still a better idea.
Re:Try software RAID. (Score:1)
Vinum does implement RAID-5 in a separate version. As an aside, ccd and other much more primitive striping systems have been doing at least the lowest levels of RAID for years.
Re:dumped freebsd when discovered no sup. for prom (Score:1)
Try software RAID. (Score:5)
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...)
Re:What is RAID? (Score:2)
I could use this info too (Score:1)
More direct controller link. (Score:1)
Re:I could use this info too (Score:1)
I've got old h/w coming out my ears, but I can't use it for various reasons:(. However, I've had fun getting things going:)
Re: What about... (off topic reply) (Score:1)
...phil
IDE controller (Score:1)
In my experience you should not have a problem adding a third ide controller, as long as you have the resources - especially if its pci. Linux does have to support it though, but I think that Linux supports tertiary, and quadriary IDE controllers. Basically, plug it in and it should work..
Re:You can also try RAIDframe. (Score:1)
Actually, I hope it doesn't get moderated down. (Score:1)
Yes, you are wrong. (Score:1)
Correct me if I'm wrong, but I don't think I am.
Incoming correction.
The IDE standard allows for only two IDE controllers in one system. Newer motherboards have both of the allowed controllers built in (hence the four IDE devices). If you plug in another PCI controller it will not work because of the two controllers already opperating in the system.
BIOS can only deal with (currently) two controllers. However, the IDE spec allows at least 4 controllers to be present. Whether this conflicts with anything else in the system is another matter.
Everything I have read on RAID (I'm not an expert but I have read a lot), has said it will not work on IDE systems. Here are the two reasons I can think of;
1) RAID trys to write accross at least 3 drives at once. Exactly what it writes to each drive depends on which type of RAID (0, 5...).
s/3/2/ RAID 0 and 1 require only two drives. RAID 4 and 5 require at least 3 and RAID 5 performs better with more drives.
This is no problem for SCSI drives on the same cable, because each drive operates seperatly. On IDE the drives work in the master/slave fashion and the slave is truly dependant on the master and must wait for the master to respond. Because of the master/slave issue, each drive would need to be on another cable. Which brings up problem...
There is no reason in software RAID that each drive needs to be on its own cable. You may not get as good of speed, but it is possible to run software RAID 0 or 1 on a single controller system while you need 2 controllers for RAID 4, 5, or "10" (RAID 0/1 combined).
If I'm wrong, I'd like to know, because I wouldn't mind running RAID on IDE's too.
It can be done, but it's not recommended.
I had a promise controller (Score:1)
I could set the IRQ to 13 or 11
Re:I could use this info too (Score:1)
I've got a couple SCSI HDs and a burner running off mine. Works like a charm, no coasters on burns and the card cost maybe $80cdn from London Drugs when I got it.
--
rickf@transpect.SPAM-B-GONE.net (remove the SPAM-B-GONE bit)
Re:We had 9 IDE drives with 4 Promise Ultra/33 (Score:1)
IDE RAID Performance (Score:2)
http://www.beowulf.org/bds/disks.html [beowulf.org]
They found that most of the "dual" channel IDE ports built into motherboards are not truly independent because of a shared buffer in the controller. This is a "feature" of the IDE controllers used and effectively limits the collective performance of the two IDE channels to roughly that of a single channel. The IDE channels on the Promise board are truly independent though. As their benchmarks show, placing one drive on one of the motherboard controllers and one on each of the Promise controllers yielded nearly three times the disk bandwidth of a single channel. Of course, this is for data striping, not RAID5, but the principle is the same.
For those interested in building a RAID5 server, this configuration makes a lot of sense. Use two disks on each channel of the Promise and two disk on the motherboard controller...five data and one parity and roughly 3x the bandwidth of a single drive.
IDE is simply not suited for RAID (Score:1)
IDE has no notion of "disconnect" like SCSI, so the bus is held for the full duration of a read or write, which limits the usable full bus bandwidth to one device per bus. Technically there's no reason why you couldn't run a RAID5 on three or four IDE devices on two IDE busses, but it isn't practical since you're basically halving your bandwidth per device.
This shouldn't stop you from playing around, though... I once made a RAID0 with two old 80mb IDE drives on the same bus. It was slower than a single drive, but had twice the capacity. :)
Is Autorun raid specific to RedHat? (Score:1)
So.. I tried upgrading to the newest kernel 2.2.10 but then I lost my raid device. So two questions here..
Any old drive will work (Score:1)
I remember reading that it didn't even care if you use MFM drives although that would really slow things down. Since it's software, I don't see any reason why you couldn't raid0 a set of floppy drives... just to see how slow you can make you disk access
Hot damn. was: Re:Misc. Topics (Score:1)
Re:Correction (Score:1)
All very true. In my own defence, look again, I said "...might see (marginally) better...".
A while back I tried raid0 (2D/1C) with EIDE drives on an early UDMA controller and got roughly 1.3:1.0 speedup. Simply put, the drives were a fair amount slower than the controller.
Misc. Topics (Score:4)
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 [kernel.org]
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...
Works fine! (Score:1)
Re:Try software RAID. (Score:1)
The thing that kills disk performance, be it raid or not, is moving the disk heads, the speed of the disks and the busses, and memory bandwidth in the system.
Parity calculation and calculating what block goes to what disk, seems not to be an issue at all, with modern CPUs. A PII with linux raid-5 is able to do parity calculations on several hundred of megabytes per second. More than the memory/pci bus can do anyway.
However, AFAIK vinum does not yet implement raid-5. Since this guy wanted to play with raid-5 vinum may not be the choice for him. Please correct me if I'm mistaken here.
Re:promise UDMA controllers... (Score:1)
at my old workplace at Austin Community College we had no budget so with a aha2940uw and a couple 4.3gb wide scsi drives they had "just lying around," i set up 2 RAID arrays. a 6GB RAID 0 array which was our main SAMBA share, and a 1GB RAID 1 arrary for nightly backups (no money so no tape drive...). works great. no problems at all.
-l
Re:Do you need three? (Score:1)
Re:Do you need three? (Score:1)
My advice is try it and see. You are gonna buy the extra disk anyway, so it's not going to cost you anything. Maybe even save you from having to screw with another controller if it works fast enough for your needs.
/dev
Re:Extended IDE (Score:1)
I haven't tried the suggestions in the responses, but I just wanted to point out that the Promise card wont work out of the box. If you buy one make sure you can return it.
Promise Ultra/66 (Score:1)
The difference in speed while compiling a kernel on this controller/drive vs my SCSI-3 (80 MB/sec) Tekram DC-390U2W controller and a Quantum 9.1 GB SCSI-3 drive is minimal.
The EIDE drive runs much quieter, cooler, and costs only about 1/3 as much per megabyte.
Daniel Butler
No RAID5, do RAID0 (Score:1)
Of course is fault tolerance is actually what you want, and not speed, then maybe you should just try simple mirroring.
I do not think you can do RAID5 because there is no way to have more than 2 ATA controllers that I know of.
Re:For one thing... (Score:2)
RAID-5 uses a number of disks (minimum three) to store data. The bits are spread across the disks, with one last disk acting as a 'parity' disk (in real situations, parity information is spread across the disks). When data is written to the disk, the parity bit is calculated and written to the final disk. When data is read (in normal circumstances), the parity information is ignored and the normal data read off.
When the parity disk fails, nothing special happens except that the parity information is not stored. When another disk fails, performance dies, as reads have to be 'reverse-engineered' from the parity information. Once the disk is replaced, the information is rebuilt from the parity data.
Mirroring is simply writing the data to two places and reading from a random disk; if one disk dies, data is simply read from the second disk. Since there is no calculation involved (the data is simply written to two places), reads and writes are much faster. However, this is more expensive in terms of hardware required.
As you've pointed out, this is a bad idea! The reason for using RAID-5 is reliability, and dumping 11 partitions of your RAID volume on one disk is asking for trouble! You will gain a little reliability if your disks tend to get bad sectors, but that's about it. Since RAID-5 will slow down your disk writes (and, to a lesser extent, reads) you only ever use it for reliability in the face of disk failures.In addition, that 22GB disk is going to slow down the rest of the system; writes and reads will require data from the entire length of the disk, which is not good.
On a home system, it's not really worth the headaches and performance hit for it. Just take regular backups and you'll be ok. If you really want extra reliability, use mirroring; it's a lot faster.
--
Re:IDE RAID (Score:1)
Re:What is RAID? (Score:1)
You missed the I out. It's generally Redundant Array of Inexpensive Disks, although I've seen other words for the I.
Re:Multiple IDE COntrollers... (Score:1)
matguy
Net. Admin.
Re:Yeah, I think he does... (Score:1)
Something else I had wondered about, would it be possible to have a small adapter type of thing to put a ide drive on a scsi chain, now there you would have something as long as it was pretty low priced. I do think it would be feasable and it would solve the problem. All it would take would be some kind of translation and an autodetecting chipset, it should work real well in an external case. It's something I've been thinking about since my mac days back in school, we had these macs with these little 200mb drives and our pc's over there with their 800mb drives that cost less. I always thought it just made sense, but no one in the industry would want to do it I'm sure.
matguy
Net. Admin.
Re:IDE is simply not suited for RAID (Score:2)
Ah, but it does. In fact the IBM disks mentioned actually implement the ATA-4 disconnect/reconnect and tagged command queueing (depth 32). Kudos to IBM.
This would be a great addition to the Linux IDE driver.
Re:Striping - works for me (Score:1)
I've RAID-0'd the two disks on one controller (master-slave) so it is SLLLLOOOOOOOOOWWWW. The other controller runs the system (RH 6.0) OS disk. It may be slow but it's still functional which is what I was shooting for.
Re: What about... (Score:1)
Ide raid cards (Score:1)
we are out of them at the at this time but here
is the ad for them
http://www.compgeeks.com/cgi-bin/details.asp?ca
Promise caching IDE controller (Score:1)
Re:2 IDE ports != 4 simultaneous drives (Score:1)
One IDE controller can only control one disk at a time, so you can't read a file from two disks simultaneously, and you can't actually read from one disk write to another while you do so, even though it sortof looks like it, when you do something like copy a file from one drive to another, because the task is being swapped between disks so quickly.
Software RAID (Score:3)
Another question is this: Is there any support in Linux for IDE Hardware RAID controllers like the Promise FastTrack, FastSwap Pro, or SuperTrak? Obviously, Hardware IDE RAID solutions are much less expensive than traditional SCSI RAID controllers and drives and can offer comparable performance on smaller workstations or smaller workgroup servers.
~GoRK
Yeah, I think he does... (Score:1)
8Complex
Re:Hotswap IDE (Score:2)
The safest way to handle an IDE hotswap is to unplug the power first and let the drive totally spin down, and then unplug the data cable. When powering a hotswapped drive back up do it the other way - data cable then power cable. Never mess with that data cable if the drive is running. Unplugging the data cable first can cause bad things to happen, or so I have been told. We had a hardware course at the college I attended. The guy who was teaching it really knew his hardware and that was the way he recommended doing it. He explained why but it has been too long... something about toasting the controller.
A neat trick based on this is hotswapping for data recovery. If you lose a hard drive to a bad ondisk controller and you have another identical hard drive, boot from the good drive, then follow the above steps to swap them - chances are that you can get your data back this way unless the controller on your bad drive is really fried.
Just my $0.02
Re:2 IDE ports == 4 drives (Score:1)
drives on the same IDE controller is a waste. Unlike SCSI, IDE can only access one drive on a
controller at a time.
The point of RAID is to read from multiple drives at once. Having those disks on the same IDE controller means you only read from 1 at a time, basically killing any speed benefits from RAID.
Re:Multiple IDE COntrollers... (Score:1)
Re:Multiple IDE COntrollers... (Score:1)
Also, you run out of IRQs quickly, but I don't recall if an IRQ is used per drive or controller. I think things like Promise's IDE HW RAID uses some form of IRQ overlays, using one IRQ for multiple drives/controllers.
Re:Try software RAID. (Score:2)
And not just that, a developer too
There's SOOOOOO much trolling about who's OS is better than who's
For all you confused people. (Score:1)
My Ultra/33 has two connectors and supports up-to four drives.
It is not really a problem sense like 2.0.35, even the dreaded products of M$ will let you use these things I ran two HD, a zip disk, a cdrom, a cdron changer, and a cd-burnner, No problem. But there was a notable differace in speed when you transfered between things on the same cable.
Striping (Score:1)
You might try striping (RAID-0) instead. It offers performance advantages like real RAID but does not provide redundancy. It only requires two disks, though more disks gives better concurrency (unless they're on the same IDE chain!).
It's less reliable than real RAID for sure, but it's also even less reliable than using seperate disks as seperate disks. If one fails you effectively lose the contents of both.
Still, for an experimental box, or a box where you care more about performance than the data safety (USENET server), it's cheaper than RAID-5.
Re:Striping - works for me (Score:1)
Can you not put the system OS disk and one of the striped disks on the primary controller, and the other striped disk on the secondary?
The idea is to split things up so that disks you are likely to be accessing at the same time will be on seperate controllers. The system disk probably doesn't matter as much as the stripped disks, because the frequently accessed stuff on the system disk tends to stay in RAM anyway.
By the way, do you have to do anything special to keep your system cool with three disks? I had a 1 GB and a 340 MB disk in my system not long ago, and they warmed the inside of the whole box, even with two fans. My single 13 GB is cooler. (I guess 5400 RPM produces less heat than 3600 RPM + 3600 RPM)
Re:I could use this info too (Score:2)
Places I've worked at commonly throw old Adaptec ISA controllers in the junk bins never to be seen again until someone rips them off. You might want to check Ebay - an ISA SCSI card + older CD-ROM shouldn't set you back that much. There are also newer 'budget' PCI SCSI cards with no BIOS, which I think is OK if you are booting from IDE.
--
Software raids (Score:1)
So my advice is....if you want to use 3 drives..go ahead.
Kevin
Re:Try software RAID. (Score:1)
If you're interested in doing research on raid, you might want to have a look at RAIDframe [cmu.edu], which is a system for prototyping disk arrays. It was added to NetBSD [netbsd.org] last November [netbsd.org]. It includes a simulator as well as a device driver for doing RAID on real disks, and supports levels 0, 1, 4, 5, hot spares, and more. The base code for level 6 and parity logging is also in there, though I don't know how well it's working.
There's a web page with current notes on RAIDframe on NetBSD here [usask.ca].
cjs
Simple, Straight forward answer (Score:1)
Re:Do you need three? (Score:2)
Each controller can control two (E)IDE devices, but can only actually read or write to ONE of those devices at a given moment. The first device is called the 'master' and the second device the 'slave'.
However, the controllers are independent of each other, meaning that you can access a drive on the primary controller while simultaneously accessing a drive on the secondary controller.
For example, one way to essentially double your disk swapping performance is to put half your swapspace on a drive attached to the primary controller, and the other half on a drive attached to a secondary controller. (Note that when 'swapon'ing the swapfiles or swap partitions, they need to be assigned the same priority. 'man swapon' for details.)
Hope this helps.
mdm
Review of IDE RAID here (Score:1)
He'll still get the fault-tolerance advantage (Score:1)
I got the impression he didn't care much about overall throughput, he's just trying to have fun.
And remember: He'll still get the fault-tolerance advantage of RAID, no matter how he hooks up the drives. Heck, he could even use floppy drives. ;-)
Re:Is Autorun raid specific to RedHat? (Score:1)
Actually in my experience redhat 6 didn't come with raid but then it might have been a module that i didn't see.
Re: What about... (Score:1)
You're all wrong (Score:1)
At home I've been running an old Digital 386DX/16 workstation, as a server for a while. It initially came with an Adaptec SCSI controller and a 40MB Scsi hard drive. It used the SCSI BIOS to boot the HD. The system bios itself could only select a floppy and the SCSI drive as an option to boot. Right now, I don't have any scsi hard drives in it at all. It has 2 small IDE drives and a Hardcard, with a copy of the kernel in the floppy drive. It boots off the floppy, and then uses the IDE drives, despite the fact that the BIOS doesn't support them.
This only thing IMHO that could prevent you from having eight IDE controllers is a lack of IRQ's or some other possible limitation, that I don't know of, placed by the PCI bus.
This is explained in more detail in the Large-Disk mini-HOWTO [unc.edu]
Re:Multiple IDE COntrollers... (Score:1)
Actually, I *believe* you can have 3-4 IDE controllers on a single mobo. Most only have 2 for economic reasons, and the bios only controls the 2 on the mobo. There are adapter cards that can be plugged into the motherboard, which may have seperate bios setups (like SCSI), I'm not sure.
I believe you are correct. As a matter of fact, I would bet a chunk of pretty polly that the number of IDE channels allowed has nothing to do with the mobo or the BIOS. It is merely a function of how many IDE channels are on the mobo and how many are on your "additional" controller.
Of course having more than one "extra" controller in a box might be a bit tricky...
IBM RAID controller - drivers for Linux (Score:1)
Re:Q. Why does 2 drives per channel slow down I/O (Score:1)
That is why SCSI is better (at least as far as multiple drives are concerned,) because SCSI can bunch up the commands, so all of the drives can take care of their responses whenever they get them, and send them back whenever they feel like it, without slowing down the rest of the system.
Check out Thresh's FiringSquad [firingsquad.com]'s IDE vs. SCSI [firingsquad.com] review for the complete info. (It goes very in depth.
BSD Bigot? Linux Bigot? Closed-minded! (Score:2)
And you're helping whichever OS you use... Of course, you're an "Anonymous Coward", so you are probably just one of the 'nets great trolls... Jeez, if you REALLY want a troll, how 'bout this one?
linux sucks, Linus sucks, ESR sucks, Windows rules forever!!!!
Hmmm, I wonder if I can set the record for lowest score on
[rant on] But seriously, the Linux community is in danger of falling in to the same trap that is fighting against the Macintosh. Fans of the system are becoming so rabid in their fanaticism that they take offense at any slight against it, even if it's true. Take the [ominous music here] infamous Mindcraft survey; other, independent sources (Ziff Davis, maybe not the greatest of sources, but still independent) have confirmed that under the testing conditions supplied, Linux really is slower than Windows NT Server. But, do most Linux users sit down and say "Hmmm, well, that's a surprise. Now how do we go about fixing Linux so it is faster?" No, the vast majority of the posts on Slashdot were ones to the effect of "Mindcraft is evil, they must be burned at the stake for heresy!"
Remember, in your religious pursuit, don't go so far as to refuse to accept facts, just because they go against your beliefs. Personally, I think that the worst at this is none other than good 'ol Eric S. Raymond. Yup. He is the Rev. Falwell of the Open Source movement. Fine, fine, he did plenty of good things, but he should stick to coding, as he does not make a good spokesperson.
[rant off] Remember, we should not only be open source, but open minded.
Hotswap IDE (Score:1)
I have done hot swapping of ide drives at my work place. I didn't want to shut the system down (was erasing about 30 ide drives and rebooting would have been a pain). As far as sw goes, linux can reprobe for ide drives provided you compiled ide as a module (there goes booting, but this was an nfs root booting from floppy). I hear there is an ioctl() you can call to have it do the same thing. Basically, just rmmod ide-probe and insmod ide-probe.
Now as far as hardware goes, this has always worked for me but I won't be responsible for someone trying this on their hardware and frying it! The way I have always done this is to plug in the power cable first and let the drive spin up (this goes for all ide and scsi drives). Once they have spun up, plug in the ide cable. Make sure you plug it in right! rmmod and insmod the ide-probe and you should be in business. I did hot adding of a cdrom to a linux server today (scsi bus) and didn't have any problems, had to reboot since the sync rate was set in the scsi bios to 5mb/sec instead of 20.
WARNING: You could fry your drives. I have been lucky and waiting for the day when the fryguy comes =)
RAID5 is striping with distributed parity (Score:1)
Re:Multiple IDE COntrollers... (Score:1)
-Ted
Here's what you need.. (Score:2)
Promise (and most likely, other companies,) makes a port expander card. This is an older card, but still does the job. EIDE compatible, no UDMA on this one. This will give you 4 IDE channels (most modern motherboards have 2 built in, this gives you an ADDITIONAL 2 channels.) It can be found here [promise.com]. Note: This is an ISA card.
Promise also makes their Ultra33 expander card. This card supports UDMA33, and once again, adds an additional 2 channels. It can be found here [promise.com]. Note: This is a PCI card.
For those who really want speed, once again, Promise comes through with their Ultra66 expander card. This card supports UDMA66, and, like their previous cards, adds 2 channels, leaving your original 2 free for other devices (or more hard drives). It can be found here [promise.com]. Note: This is a PCI card.
By giving your machine 4 IDE channels, you will have the option of connecting up to 8 IDE devices, including hard drives, cd-rom drives, and the like. You should (if I'm thinking correctly..) be able to read/write from 4 of these devices simultaneously (one device from each channel). This is probably what the HOWTO or whatever is talking about (needing 3 controllers/channels/whatever). Accessing 2 devices on the same channel will be somewhat slower.
Re:linux soft raid stability: pretty good (Score:1)
Stefan.
Promise & WD (Score:1)
Re: What about... (Score:1)
Re:2 IDE ports != 4 simultaneous drives (Score:1)
Re:IDE RAID Performance (Score:1)
Read-ahead in the drive firmware can sort-of supply some of the benefits of SCSI's bus disconnection feature too. ATA-33 and now ATA-66 can manage transfers from the drive's buffer cache to the system at more than twice the media rate, so the dual-drive channel isn't hurting for bandwidth... you just need to keep it from stalling. If the RAID chunk size is fairly small, say 4K, then while you're transfering that data from drive0 to memory drive1 will be filling it's buffer with the next 4K from automatic read-ahead. This means on purely sequential transfers the combined transfer rate approaches the sum of the media rates. The bus will still stall on random seeks of course... it's still no SCSI subsystem. But it does well enough to suprise a lot of SCSI fans.
I'd rather have a new SCSI drive than a new IDE drive, but I'd take a new IDE drive over a SCSI drive a generation behind.
Re:Multiple IDE COntrollers... (Score:1)
The IDE standard allows for only two IDE controllers in one system. Newer motherboards have both of the allowed controllers built in (hence the four IDE devices). If you plug in another PCI controller it will not work because of the two controllers already opperating in the system.
Everything I have read on RAID (I'm not an expert but I have read a lot), has said it will not work on IDE systems. Here are the two reasons I can think of;
1) RAID trys to write accross at least 3 drives at once. Exactly what it writes to each drive depends on which type of RAID (0, 5...). This is no problem for SCSI drives on the same cable, because each drive operates seperatly. On IDE the drives work in the master/slave fashion and the slave is truly dependant on the master and must wait for the master to respond. Because of the master/slave issue, each drive would need to be on another cable. Which brings up problem...
2) only two controllers work in one system but three are needed to avoid slaving any drives. Three cables, three master drives, three controllers.
IMHO it can't be done.
If I'm wrong, I'd like to know, because I wouldn't mind running RAID on IDE's too.
Do you need three? (Score:1)
Re:I could use this info too (Score:1)
Re:Take a look at Abit (Score:1)
Re:Yes, you are wrong. (Score:1)
Linux doesn't need drives to be on a BIOS recognized controller does it? I thought it talked directly to the controller.... I've been running more (and larger) drives on my 486 than my BIOS recognizes for a long time. I thought this was possibly because linux does the conversing on a lower level (to my newer controller)...maybe not.
If so, then provided there is no limitaion in the (E)IDE specifications as bkosse thought and you can get the IRQ, etc to agree then it should be possible to address the drives... Perhaps this is different on newer systems (PCI, etc.) but i thought the controller would just be seen as another adapter by the BIOS. I know that's how it worked before they started sticking them on motherboards...
Re:Multiple IDE COntrollers... (Score:1)
You may be able to find controller cards that came with CD-ROM that are dedicated tertiary controllers. I found that they no longer make these boards anymore (too bad) You also had to get special drivers or OS support for them.
The BIOS will only reconize the primary and secondary controllers. It used to be that it would only reconize the primary controller. They made boards with on-board BIOS extentions to reconize the secondary and/or tertiary/quatinary cards. Then you could add hard drives and/or CD-roms to any system. (Anyone remember the 40mb HARDcards?)
Re:I could use this info too (Score:1)
You can get it in rolls in the plumbing department at a hardware store. It is cheap, metal and has holes about every 1/2 inch and can be cut with a pari of side cutters. I used it to hang two extra drives in my tower system.
IDE Successfully running of Linux (RedHat 6.0) (Score:3)
You can also try RAIDframe. (Score:1)
Dunno whether it works with Linux, but it's already been integrated into NetBSD. (http://www.cs.usask.ca/staff/oster/raid.html)
you can only have 4 I think (Score:1)
Re: What about... (Score:1)
This is all true except for the "2=1" thing if X=0 and Y=0.
i.e. you have proven nothing.
SIIG UltraIDE Pro PCI (Score:1)
~Kevin
:)
Re:I could use this info too (Score:1)
Multiple IDE COntrollers... (Score:1)
That being said, there could be some wierd freaky mobo which allows it... I've had experience with several types & versions of SuperMicro Boards (they are THE BEST(tm) IMHO) and I'm fairly sure none of them will support it - you have to disable the onboard IDE channel to get a offboard one to work type idea...
Perhaps someone knows of a mobo/bios combo which allows this? Or has a hack around it? heh, feel like coding in hex? (or whatever they make BIOSes out of these days)
Re:Promise IDE RAID CONTROLLER! (Score:1)
Re:RAID & IDE?? Ick! (Score:1)
Re:Review of IDE RAID here (Score:1)
Re:Try software RAID. (Score:1)
This is what I refer to as 'that guy who brings us down'. You get them everywhere, best thing to di is 1) ignore the prick, 2) assure he cannot reproduce if possible, and 3) get him kicked off the net, so he bothers people who aren't trying to do something important.
As for the response "appreciate life and love and happiness and live in harmony together
If we do that, that means we can't do any micros~1 bashing anymore..
Quick answers for the home user (Score:1)
1. Reliability
You need to buy another controler and get disks as similar as possible. Use Raid 5 or 1 (mirroring).
2. Performance
Buy another controler (as MB controlers aren't independent (as mentioned)) and run RAID 0 _and_back_it_up_to_tape_ for fastest reads/writes or RAID 1 for faster reads.
Again, get similar disks as you will be limited by the weakest link in the chain
3. Just want to play/can say you have RAID
If you can't justify buying a controler/disks (read: no real reason to run RAID), do Linear Append on two disks on your "seperate" IDE cables.
Because of the way the ext2 FS statistically distributes data across the disks you should get slightly better performance if both disks are reasonable fast (don't do this with a old slow dog and a fast new disk).
The real answers for "the best RAID setup" depend on exactly what you want to do with it. eg., most web servers want fast reads an don't care too much about writes vs. production database servers want fast reads and writes but care most about data integrity (RAID 5 or 0+1).
or in mantra form:
If you want performace stripe it; if you want reliability mirror it; if you neeed space append it.
The kernel doc's seem to say this is okay... (Score:2)
are a couple bits of info that may be relevant. I
haven't tried any of this yet.
First, http://www.linuxhq.com/doc23/ide.txt
This claims 2.1/2.2 kernels have:
> - support for up to *four* IDE interfaces on one or more IRQs
> - support for any mix of up to *eight* IDE drives
And further in the document there is info on
configuring such a system, which claims that you
can run as many as 6 interfaces (3 controllers?):
> This is the multiple IDE interface driver, as evolved from hd.c.
> It supports up to six IDE interfaces, on one or more IRQs (usually 14 & 15).
> There can be up to two drives per interface, as per the ATA-2 spec.
>
> Primary: ide0, port 0x1f0; major=3; hda is minor=0; hdb is minor=64
> Secondary: ide1, port 0x170; major=22; hdc is minor=0; hdd is minor=64
> Tertiary: ide2, port 0x1e8; major=33; hde is minor=0; hdf is minor=64
> Quaternary: ide3, port 0x168; major=34; hdg is minor=0; hdh is minor=64
> fifth.. ide4, usually PCI, probed
> sixth.. ide5, usually PCI, probed
For UDMA/66, the only controller I know of is the
Promise one. From the Ultra-DMA Mini-Howto:
> 5.2 Promise Ultra66
>
> This is essentially the same as the Ultra33 with
> support for the new UDMA mode 4 66 MB/sec transfer
> speed. Unfortunately it is not yet supported by
> 2.2.x
>
> There is a patch for 2.0.x and 2.2.x kernels
> availabe at
> http://www.dyer.vanderbilt.edu/server/udma/, and
> support is included in the 2.3.x development
> kernel series at least as of 2.3.3.
>
> However to get far enough to patch or upgrade the
> kernel you'll have to pull the same dirty tricks
> as for the Ultra33 as in the section above.
You mail also want to check out the linux raid
mailing list
http://linuxwww.db.erau.edu/mail_archives/.
Good luck! Please post your results to the mailing
list and/or comp.os.linux.hardware.
Joel Auslander
ausland@digital-integrity.com
Promise IDE RAID CONTROLLER! (Score:1)
YOUR QUEST IS OVER (Score:1)