Slashdot Mirror


Which RAID for a Personal Fileserver?

Dredd2Kad asks: "I'm tired of HD failures. I've suffered through a few of them. Even with backups, they are still a pain to recover from. I've got all fairly inexpensive but reliable hardware picked out, but I'm just not sure which RAID level to implement. My goals are to build a file server that can live through a drive failure with no loss of data, and will be easy to rebuild. Ideally, in the event of a failure, I'd just like to remove the bad hard drive and install a new one and be done with it. Is this possible? How many drives to I need to get this done, 2,4 or 5? What size should they be? I know when you implement RAID, your usable drive space is N% of the total drive space depending on the RAID level."

898 comments

  1. RAID 1 by Oculus+Habent · · Score: 5, Informative

    For personal use, a two-drive RAID 1 is probably the easiest way to go, and involves the fewest drives, but loses the most space (half). Raid 5 is the standard, but the hardware is more expensive and it involves at least one additional drive.

    For simplicity and low expense, even though you lose a full drive worth of capacity, go with RAID 1.

    You might want to read The Tech Report's recent article mentioned on Slashdot if you haven't already.

    --
    That what was all this school was for... to teach us how to solve our own problems. -- janeowit
    1. Re:RAID 1 by Anonymous Coward · · Score: 0

      Of course, one hard drive (since the other is used for mirroring) hardly makes a file server now does it?

    2. Re:RAID 1 by Anonymous Coward · · Score: 5, Informative

      You should really try out some of the SATA RAID solutions. They offer the best bang for your buck. I know that the next time I have a few hundred dollars lying around I'm going to go with a 1 TB RAID 5 with some WD SATA 250s. Also, Supermicro makes a very nice 5 drive chassis that only takes up 3 - 5.25" bays. This is the ideal home setup in my mind.

    3. Re:RAID 1 by Linux_ho · · Score: 3, Informative
      Of course, one hard drive (since the other is used for mirroring) hardly makes a file server now does it?
      Whether it's a file server or not doesn't depend on the amount of available drive space. And considering the size of current hard drives, for a *personal* file server, I would expect very few people would find it necessary to buy a hardware raid controller.
      --
      include $sig;
      1;
    4. Re:RAID 1 by Anonymous Coward · · Score: 0

      The only problem with RAID 5 is if two drives go down, you're totally screwed. Of course, it's relatively rare that even one goes down, but imagine what would happen if a manufacturer produced a bad lot of drives; if you bought, say, 6 drives from a supplier, they're likely of the same lot, and thus if there's a defect two might go down. If you're diligent enough and fix the bad one right away, then you're probably fine (unless, while you're rebuilding the array, another one goes down in the process!).

    5. Re:RAID 1 by Anonymous Coward · · Score: 0

      *shrug*. I couldn't imagine living with so little space. Any serious computer user should have far more to store than that. Hell, I have more than 2.5 terrabytes just in porn.

    6. Re:RAID 1 by arth1 · · Score: 4, Interesting

      For a file server, I'd use the combination of RAID 1 and striping known as RAID 1+0 or RAID 10.
      The benefits are that you get the same protection as with RAID 1, but lose the speed penalty, all without needing special hardware or spare CPU power for expensive CRC calculations.
      With a 4 drive RAID 1+0, you'll get read performance of 2x-4x a single drive, while writes will be from 1x-2x. In theory, that is. In reality, if using a RAID PCI card or motherboard solution hooked to the south bridge, you'll most likely max out the read speed.

      Anyhow, it's a very cheap solution that doesn't tax your CPU too much even if done through software (like with a highpoint controller), and it does give you piece of mind.

      The worst downside is that you will have to take the system down to change a drive (correct me if I'm wrong, but I've never seen a hot-swappable RAID 1+0 solution), and the performance before you do that will take a substantial hit.

      Raid 4/5 is nice because it doesn't waste a lot of drive space, but it comes at the price of very slow writes, and very high CPU use unless you also get a hardware controller with an onboard CPU.

      Regards,
      --
      *Art

    7. Re:RAID 1 by Linux_ho · · Score: 0

      And you have to store all that on hard drives why? Ever heard of a DVD burner?

      --
      include $sig;
      1;
    8. Re:RAID 1 by ArsonSmith · · Score: 3, Informative

      One thing I did rather than actual raid 1 is have two patitions for /usr/local and /usr/localmirror. I would use rsync nightly to copy everything from /usr/local to /usr/localmirror and biweekly I would do the rsync with the --delete flag. this way I would also have a nightly "snapshot" like file recovery option if need be.

      I had heard that the new VM for linux supports snapshots so I will probably be looking into that soon but I haven't messed with my file server in over 3 years. It just works (TM).

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    9. Re:RAID 1 by ryanwright · · Score: 5, Informative

      The really best way is RAID 1 + a third drive for backups, on another system. If you can afford to pay 3 times the normal cost to store your data, this will virtually guarantee you'll never lose it.

      My fileserver has a mirrored pair of drives in front mounted, hot-swap bays. I have a third drive on my workstation and I sync to that every time I add significant amounts of data to my server. The mirroring protects against drive failure and the third drive protects against server failure, operator error, filesystem corruption or other problems that can wipe out a RAID array.

      Lastly, the stuff that changes often and is worth the most to me - small documents and other things I create - gets a nightly sync to the server's boot drive and I keep a month's worth of revisions. This lets me "go back in time" to retrieve things if I need to. Considering the relatively small size of this type of material, this doesn't take up a lot of space. I think the whole month's worth of revisions only takes up 10GB or so.

      The hot swap bays let me yank a drive out on my way out of the house if the place catches on fire. Yes, I know I should be storing that third drive at a friend's house, but it's too inconvenient to retrieve it every time I want to backup my array. So a fire may destroy everything if I'm not home or can't safely pull a drive on my way out. I'm comfortable with that.

      --
      -Ryan, with the unoriginal sig
    10. Re:RAID 1 by Anonymous Coward · · Score: 0

      Let's see, store all of my porn on a dozen hard drives ($1200) consolidated on one single file server with the entire collection available 24x7 or waste time burning it all to 531 4.7gb per disc DVD-Rs ($1600).

      For price and convenience, I'll take the single file system over 531 DVDs.

    11. Re:RAID 1 by Carnildo · · Score: 2, Informative

      For my home system, I'm planning to go with RAID 1 for both backup and protection. Two hard drives in hot-swap mounts. Weekly backup procedure is to remove one of the drives, put in a third drive, and take the removed drive to work with me as an off-site backup.

      It'll be cheaper than tape, but more work.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    12. Re:RAID 1 by strictnein · · Score: 2, Insightful

      And you have to store all that on hard drives why? Ever heard of a DVD burner?

      Lets see... 2.5 TB ~ 600 DVDs

      And you store all of those DVDs where? And you access them quickly how?

    13. Re:RAID 1 by gcaseye6677 · · Score: 1

      Its a question of how much redundancy you need in a personal file server. How many people make regular offsite backups of personal data? Unless its really important, I'd say nobody does. Most people are willing to assume the risk of the extremely unlikely possibility of 2 drives failing at the exact same moment. If this is a concern for you, back up onto external media.

    14. Re:RAID 1 by Abcd1234 · · Score: 1

      if you bought, say, 6 drives from a supplier, they're likely of the same lot

      And that is why if I'm building a raid, I buy drives from multiple vendors. In fact, in my simple RAID-0 array that I have at home, I deliberately purchased two drives from completely different manufacturers. Of course, you may have problems with mismatched drive specs (for a large-scale RAID, you want the drives as similar as possible) but if you can purchase the drives from a number of sources, you reduce the chances of mass failures.

    15. Re:RAID 1 by ArsonSmith · · Score: 1

      this time I was referring VM to Volume Manager. Not Virtual Machine, or Virtual Memory, or Vomit Mucus or any other VM acronym.

      thanks

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    16. Re:RAID 1 by kfg · · Score: 5, Informative

      The really best way is RAID 1 + a third drive for backups, on another system.

      At a different site.

      KFG

    17. Re:RAID 1 by Tenareth · · Score: 1

      No need to take down, the Sun A3500 series used Raid 1+0 in it's standard config and was fully hotswappable.

      I've since switched to RAID-5, but that's due to a very, very high-end array that removes the write overhead (at least to the Host).

      --
      This sig is the express property of someone.
    18. Re:RAID 1 by Anonymous Coward · · Score: 0

      I have three 80GB IDE drives running RAID-5 on a server in a colo that is pounded 24x7. It's been in operation for more than two full years and hasn't failed.

      Also, if you're paranoid, you could buy each drive from a seperate manufacturer. The drive sizes might vary minutely (IBM's might be 80.72gb while Samsung's might be 79.89) but RAID will just build the drives out to whatever the smallest drive is and as long as all three drives have relatively the same speeds, sizes, etc - you shouldn't have to worry about problems.

      Of course, if one of my drives ever craps out on me, I'll just pick up another 80gb drive at the computer store on my drive out to the colo to replace the bad one in the server.

    19. Re:RAID 1 by ryanwright · · Score: 5, Informative

      I need to amend this, in case it wasn't perfectly clear:

      DO NOT RELY ON RAID TO PROTECT YOUR DATA. If you do, you will lose it some day. Raid only protects against hardware failure. There are plenty of other ways you can lose data and one of them will catch up to you eventually.

      If you can't afford to lose it, back it up to another drive on another computer. If you really can't afford to lose it no matter what, store your backup drive with a friend.

      --
      -Ryan, with the unoriginal sig
    20. Re:RAID 1 by JWW · · Score: 1

      Just a question. Do you work from home? I ask because you have a business level of disaster recovery for your home PC. It is an impressive and well thoughtout solution nonetheless.

    21. Re:RAID 1 by Cromac · · Score: 1

      Maybe because he doesn't want to take the time to burn 500+ DVD's, or store them or have to swap through them to get to that juicy bit he's downloaded.

    22. Re:RAID 1 by swv3752 · · Score: 2, Interesting

      Most raid 10 solutions don't give a spead boost, and are much more vulnerable than you would first believe. If any two drives fail in the array, 1/2 of the time the array is toast. Some of the cheaper raid hardware may not even allow rebuilding one drivein a raid 10.

      Pretty much the solution is Raid 1 or Raid 5. Besides on most raid controllers, Raid 1 is faster read throughput than a single drive, though writing does take a bit of a performance hit. Raid 5 is expensive, while most any Raid controller can do decent Raid 1.

      --
      Just a Tuna in the Sea of Life
    23. Re:RAID 1 by Anonymous Coward · · Score: 0

      Clearly you missed the "Yes, I know I should be storing that third drive at a friend's house..." part.

    24. Re:RAID 1 by robi2106 · · Score: 5, Interesting

      No kidding. I wonke up one morning, turned on my system and found my one an only partition for my storage drive (non-raid) totally gone. WinXp Pro just decided to wipe it clean. I surfed around a while and find a nice Russian (or some other foreign site) that served up a juicy hacked exe for a harddrive recovery app. It did the trick and recovered my data by rebuilding the partition table based on the data (or something like that).

      I was even thinking of buying the app until I surfed to the company's site and found it was >$2K US. Screw that. If it happens again, I may not reciver my stuff.

      I didn't have anything critical on there, but it woudl have been very time consuming to re-rip my CDs again.

      jason

    25. Re:RAID 1 by itwerx · · Score: 1

      ...all of my porn on a dozen hard drives...or waste time burning it all to 531 4.7gb per disc DVD-Rs...

      So, heh-heh, one [smart-ass] question: How exactly do you back it up? :)

    26. Re:RAID 1 by The_K4 · · Score: 1

      And as I recently ran into, if the raid card dies, you need a compatiable card to read those disks. Sometimes it can be difficult (and take a day or two) to get a new raid card and durring that time your data is not avaliable. I use the multi-PC approach with scripts that keep them up-to-date (no one of the 3 drives is ever more then 24 hours out of date and I can force a sync sooner if I need to). The only down side is that if there is a significat amout of changes then the network get get a little bogged down durining the moves.

    27. Re:RAID 1 by shroudedmoon · · Score: 1

      If 2 drives fail concurrently in most RAID solutions, you're pretty much screwed. I don't think this should be considered a weakness of RAID 5...

    28. Re:RAID 1 by slaker · · Score: 2, Interesting

      The Sony ES-series 400-disc jukeboxes can be daisy-chained in groups of up to three per one logical unit. As long as you have something on-hand to act as an index (I use a trivial little web database), it's very easy access a substantial number of video DVDs quickly. ... but then I use the same web database to access approximately 6TB computer files that I ALSO keep on-line.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    29. Re:RAID 1 by JWSmythe · · Score: 1


      Off-site backups are always a very good choice. When your house burns down, or an ex-girlfriend goes to all your electronics with a baseball bat, your data is still safe. :)

      --
      Serious? Seriousness is well above my pay grade.
    30. Re:RAID 1 by dead+sun · · Score: 4, Interesting
      And if two drives go down in a RAID 1 you're how much better off than in RAID 5? RAID 1 consists of two drives. At least with RAID 5 you'd still have at least one good drive that you could hastily format and use if need be.

      The only semi-common RAID I know of that could handle two drives failing at the same time would be RAID 10, A mirrored set of striped drives, and then only if one side of the mirror died.

      For your diligence bit, I've actually worked with a machine that had a drive fail in the RAID 5 set and then as the hot spare came online and started rebuilding the data needed to keep the R in RAID another drive died. The whole set was then completely unusable and somebody probably would have been fired if there weren't a set of recent backups around. As it was a couple people got to work about 12 more hours on top of their 8 for the day to make sure the machine was running again by the next day.

      Thus my moral, RAID isn't a replacement for backups, as there still can be failures. RAID will reduce the frequency with which you need said backups, hopefully to never, but it can still fail. Nothing replaces a good backup.

      Oh, and also another good reason for RAID 5 instead of 1, there should be a bit of speedup since there's multiple disks involved, assuming, of course, your RAID card can handle all the XORs.

      --
      If not now, when?
    31. Re:RAID 1 by jsebrech · · Score: 4, Interesting

      DO NOT RELY ON RAID TO PROTECT YOUR DATA.

      Amen. I have vivid memories of typing rm -rf * in the wrong directory (and that was WITH pwd in my prompt). It took an entire week to duplicate the work lost.

      Combining the rm command and lack of sleep is like combining a loaded gun and your forehead. You can only do it so often before you destroy something valuable.

    32. Re:RAID 1 by Tenareth · · Score: 1

      Agreed, RAID 10 should only be used if you have at least 2 completely seperate arrays, so that the only single point of failure is the computer itself.

      -- Keith

      --
      This sig is the express property of someone.
    33. Re:RAID 1 by Anonymous Coward · · Score: 0

      My A80 is pumping out 1000 images a month.

      I need a storage solution that's long term. This is going to be a serious problem when I start hitting HD limits.

    34. Re:RAID 1 by pezzonovante1 · · Score: 1

      Just wondering, what software do you use for the nightly backup and what OS is it? was it easy to configure?

    35. Re:RAID 1 by Cecil · · Score: 4, Interesting

      Yeah, because if two drives fail in a RAID 5 configuration it'll work just fine. And a 2-drive RAID 1 also works fine if two drives fail.

      If you're having two drives fail before you can get one replaced you need better hardware or a better failure notification system, or both.

      And, speaking from personal experience, and both the theoretical and real-world benchmark tests, I can say quite firmly that the software RAID 1+0 on my dual P3 1GHz fileserver does give a 'spead boost'. Not the theoretical maximum of 4x read 2x write, obviously, but certainly a noticable speed boost.

      And finally, you complain about a writing performance hit under RAID 1? Have you ever even used or benchmarked a RAID 5 system? Computing parity information, unelss you have a *very* expensive RAID 5 controller, puts RAID 5 well behind every other type of RAID when it comes to writing speed.

      Like seriously man, have you ever even experimented with different RAID setups, or are you just extrapolating these ideas from something you read on the web?

    36. Re:RAID 1 by kfg · · Score: 1

      Clearly you missed the "Yes, I know I should be storing that third drive at a friend's house..." part.

      Which was followed by an excuse as to why he didn't do it, making the whole exercise 98% pointless.

      By backing up the drive on a seperate system as he suggests (as opposed to just making a copy of the drive and putting it on a shelf somewhere) one uses a network connection between the two machines, eliminating the sneaker netting.

      I'll RAID yours if you RAID mine.

      It's a good way to share pr0n too.

      KFG

    37. Re:RAID 1 by Rib+Feast · · Score: 1

      This is slashdot remember, odds are it will be a meteor or giant gorilla causing data loss before there is even a girlfriend in the scenario.

    38. Re:RAID 1 by kpgalligan · · Score: 1

      Raid 1 is good, but be careful what hardware you get. I've been through a few months of system trouble. I had a machine with built in raid that was having other trouble. I built a new system, put in 1 new sata drive for the system drive, and bought a HighPoint rocket raid 100 to use the ide drives in raid 1 for data backup. The sata drive died (about 2 months old). I set up the machine again with just the raid card and drives (I actually have 3 identicle 80g WD SE's, so left one alone with the data and set up the other 2 fully formatted). Ran this system for a little while, but was having trouble. Turned out that sometimes files were either not being fully read or written! It took me a while to figure this out. Anyway, started over again, this time with just 1 80g ide drive. I still have to figure out my plan for backups. Its only been running for about a week, so I haven't got to it yet. In short, raid 1 is good. HighPoint sucks.

    39. Re:RAID 1 by Anonymous Coward · · Score: 2, Insightful
      If any two drives fail in the array, 1/2 of the time the array is toast.



      a1 - b1
      a2 - b2
      a3 - b3 ...
      aN - bN

      In RAID 0+1, aN mirrors bN and we stripe downwards. The array fails if and only if both aX and bX fail, for any given X.


      All else being equal, for N drives, after one failure there is a 1/(N*2)-1 chance that the next failed drive will bring the array down. For 2 drives, that chance is 100%. For 4 drives 33%, 6 drives is 20%, 8 drives is 14%, and for 10 drives it's 11%.

      For 10 drives total, let's say two drives fail, a1 and b2. Now either b1 or a2 must fail to bring down the array - that's 2 out of 8 drives, 25% chance. If a3 dies next, we're at 3/7 drives that can down the array, 43% chance. If b4 goes next, a failure on any one of 4 out of 6 drives can bring the system down, 66% - now we've crossed your 50% threshold.

      For optimal stability, 'a' and 'b' should be separate channels and a hot spare should be available on both channels.

      The other benefit of RAID 1+0 is that once a drive is replaced, only one submirror needs resyncing, not the whole array. In RAID 5, the whole array must be resync'd and in RAID 0+1 half the array gets resync'd. This means that your hotspare becomes effective a lot quicker, and your time in degraded mode is a lot shorter.

    40. Re:RAID 1 by harrkev · · Score: 1

      Why not just get a USB or Firewire hard drive and do a manual copy one a week? It seems saner than swapping drives in a RAID.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    41. Re:RAID 1 by rbgaynor · · Score: 1
      Lets see... 2.5 TB ~ 600 DVDs

      Man that's a lot of porn :)

      --
      "Good things don't end with eum, they end with mania or teria." - H. Simpson
    42. Re:RAID 1 by Anonymous Coward · · Score: 0

      So, heh-heh, one [smart-ass] question: How exactly do you back it up? :)

      It's porn! No worries mate, they'll make more.

    43. Re:RAID 1 by ryanwright · · Score: 1

      No, I don't work from home, but my much of day job is maintaining a quarter petabyte archive. So I'm very careful to protect my own data. :)

      --
      -Ryan, with the unoriginal sig
    44. Re:RAID 1 by MasTRE · · Score: 5, Funny

      >> The really best way is RAID 1 + a third drive for backups, on another system.

      > At a different site.


      In a galaxy far, far away..

      --
      Must-not-watch TV!
    45. Re:RAID 1 by devilspgd · · Score: 4, Funny

      So, heh-heh, one [smart-ass] question: How exactly do you back it up? :)

      You've heard of usenet? It's just this guy's hard drive being posted over and over.

      --
      Give a man a fish, he'll eat for a day, but teach a man to phish...
    46. Re:RAID 1 by Anonymous Coward · · Score: 0

      0 0 * * * root mv /bin/rm bin/REALLY-rm
      0 9 * * * root mv /bin/REALLY-rm bin/rm

    47. Re:RAID 1 by 2000+Britneys · · Score: 1

      it DOES happen boy my face was red when I had to explain to my client (small office server) why two drives in RAID one config failed on the same day at the same time lossing about 1 days worth of data (failed b4 that nights backup run) so much for the "redundancy" crap - never ever buy WD drives - they are crap

    48. Re:RAID 1 by kfg · · Score: 1

      >>> The really best way is RAID 1 + a third drive for backups, on another system.

      >> At a different site.

      >In a galaxy far, far away..

      I suggest a wireless satellite ( as opposed to the wired kind) solution for this. Latency is going to suck anyway.

      KFG

    49. Re:RAID 1 by Pieroxy · · Score: 1

      Well, you are really stupid, or misinformed on what is RAID-0 then. RAID-0 doesn't use redundancy, it uses stripping. Which means your data is spread over both drives.

      So by buying two different drives, not only do you lower the global performances of your RAID-0 array, but you don;t add any data security: If one drive dies, ALL your data is gone.

    50. Re:RAID 1 by ryanwright · · Score: 1

      The OS, I'm sorry to admit, is Windows 2000 Server. It was necessary for many of the home automation apps I run. Software RAID 1. The script that backs up my documents is just a batch file executing out of Windows' scheduler. It's a simple routine that takes as input the day of the month. It then wipes that directory, recreates it, and copies my \documents directory tree into it.

      The sync to the third drive is via rsync on Linux and an smbmount of the Windows volume.

      --
      -Ryan, with the unoriginal sig
    51. Re:RAID 1 by Anonymous Coward · · Score: 0

      I don't share pr0n. I don't want anyone to know how much of a pervert I am.

    52. Re:RAID 1 by arth1 · · Score: 1
      If any two drives fail in the array, 1/2 of the time the array is toast. Some of the cheaper raid hardware may not even allow rebuilding one drivein a raid 10.

      Sorry? What hardware does not support rebuilding a drive in RAID 10? Please specify.

      As for two drives failing, that can cause an outage with RAID 5 too -- it's not unique to RAID 1+0. And the solution here with RAID 1+0 is the same as for RAID 5: Add more drives. The more drives, the less chance of a fatal breakdown. And when *one* drive fails, it's time to change that drive as quickly as at all possible.

      Regards,
      --
      *Art
    53. Re:RAID 1 by z84976 · · Score: 5, Funny
      I have three 80GB IDE drives running RAID-5 on a server in a colo that is pounded 24x7. It's been in operation for more than two full years and hasn't failed.


      Of course it hasn't failed. See, there is some sort of weird universal law that applies in these situations. If you take the time to put in some redundancy (raid 5, or just mirroring) then none of your hard discs will ever fail. However, if you had used the exact same physical drives in a non-redundant fashion, you can bet your buttons they would have failed. It's just one of those things... like the drives know your situation or something. If they know that their failure won't really cause you major headaches, they figure it's just not worth their time to fail. They only strike when they know they're going to hurt you.

    54. Re:RAID 1 by Anonymous Coward · · Score: 2, Informative
      In RAID 0+1, aN mirrors bN and we stripe downwards.


      Typo, should have been RAID 1+0

    55. Re:RAID 1 by Sloppy · · Score: 1
      Raid 5 is the standard, but the hardware is more expensive
      Just a note on RAID5: processors are getting so fast compared to drive speeds, that even doing it in software may not really be such a horrible idea (provided that you RAID1 your boot/root partitions so that you get get booted ;-) .

      And if this is a dedicate fileserver, the processor is probably mostly idle anyway. Might as well give it something to do.

      I wouldn't just assume RAID5 needs expensive hardware.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    56. Re:RAID 1 by tedgyz · · Score: 4, Interesting

      The hot swap bays let me yank a drive out on my way out of the house if the place catches on fire. Yes, I know I should be storing that third drive at a friend's house, but it's too inconvenient to retrieve it every time I want to backup my array. So a fire may destroy everything if I'm not home or can't safely pull a drive on my way out. I'm comfortable with that.

      You can resolve this issue with high-capacity, portable storage. I keep all most critical stuff (software, licenses, photos, pr0n, etc.) on my 40GB portable drive. Forget those keychain things. The FireLite SmartDisk is a USB 2.0, aluminum encased laptop drive. It draws power from USB - it even worked on my old USB 1.l system. They provide a special power cable, in case your old USB ports aren't pushing enough power. I toss thing in backpack every day and lug it all over - it has yet to show signs of weakness.

      I totally agree with your configuration. For my Linux server, I've been using Linux (RH7.2) Software RAID-1 mirrored for ~3 years without a single issue.

      --
      "No matter where you go, there you are." -- Buckaroo Banzai
    57. Re:RAID 1 by OS24Ever · · Score: 1

      On a personal file server?

      No way. that's a huge waste of money.

      By definitition this is a server, so your bottleneck is the NIC which at most is 1GB/s. You will see no speed benefit with a 'home' user on this. I'm thinking 'home' as 3 - 5 people.

      Based on the rotational speed of the hard drives, and a 70/30 mix of random read/writes you're going to see at most 10 - 15 MB/s transfer rates with RAID5 or RAID1 or RAID 0. The RAID Checksumming will not be a bottleneck unless you buy a really crappy controller.

      My home file server is a Adaptec 2400A with 256MB Cache upgrade & 4x120GB IDEs. I loose a whole drive of space and have 360GB to work with. Doing it your way. This is personal use stuff, 50% overhead is a waste of money. RAID it for drive failure recovery, and then back it up for keyboard driver errors.

      --

      As a rock-in-roll Physicist once said, No matter where you go, there you are.

    58. Re:RAID 1 by Tongo · · Score: 1

      if a manufacturer produced a bad lot of drives

      Which is why if your going to buy identical drives, you should try to buy them from different suppliers. If you ensure that the drives have different lot numbers (or whatever HD manufacturers use) you have a much lower probability of two drives failing at once or close together.

    59. Re:RAID 1 by Thundersnatch · · Score: 2, Informative
      ...correct me if I'm wrong, but I've never seen a hot-swappable RAID 1+0 solution...

      You're wrong. Hot-swap ability is a function of the RAID controller and the drive's mounting hardware (or 'cage'). It has nothing to do with the RAID level at all (except that a RAID 0 array can't be hot-swapped, since it has no redundancy and removing a drive would take down the whole array).

      We have a bunch of RAID 0+1 systems, some use 80-pin SCSI hot-swap disks and cages, some use ATA hot-swap cages. A wide variety of manufacturers make hot-swap cages for 80-pin SCSI (SCA), Ultra-ATA, and Serial-ATA drives (DataStor, Adaptec, Promise, and SuperMicro to name a few). And of course the bigger server manufactures make their own with hot-swap cages as well to build into their servers.
    60. Re:RAID 1 by b.e.n.n.y_b.o.y_1234 · · Score: 2, Informative

      This is very true. Really, the term RAID-0 is misleading and shouldn't be called RAID at all, becuase there's nothing Redundant about it.

      By adding the second physical disk as part of the volume you just double your chances of losing all your data if either drive fails.

    61. Re:RAID 1 by kfg · · Score: 1

      I don't share pr0n. I don't want anyone to know how much of a pervert I am.

      You just haven't woken up to the many inherent benefits of the "many eyes" model of, ummmm, "open source" pr0n distribution.

      I wouldn't worry about people thinking you're a pervert, they don't also call it the "Bizarre" Model for nothing.

      KFG

    62. Re:RAID 1 by RealityThreek · · Score: 1

      rm -r .* did bad things for me. and I typed it in the right directory. ;)

      --
      :wq
    63. Re:RAID 1 by Alien+Being · · Score: 1

      Who modded this as insightful? It's completely wrong.

    64. Re:RAID 1 by tedgyz · · Score: 1

      HighPoint rocket raid 100

      Aiiiiieeeeehhhhhhh!!! The horror. The horror.

      You have dredged up my worst memories of dealing with HighPoint technology. I had an old mobo with a HighPoint IDE controller. ATA66 had just come out and Abit threw it on the board to say they had a fast controller.

      Not working would have been great. But instead, they decided to lull you into a false sense of hope and let it function just long enough to trash your data. :-(

      ...Shudder... The doctor says I might live a normal life again, but to avoid any mention of the word Highpoint. ...Twitch...

      --
      "No matter where you go, there you are." -- Buckaroo Banzai
    65. Re:RAID 1 by Fjord · · Score: 3, Funny

      Using RSync to do snapshots is a good way to go. With the snapshot structure on the RAID system, you cannot accidentally wipe out data: it'll remain in the past versions.

      --
      -no broken link
    66. Re:RAID 1 by dnoyeb · · Score: 1

      you claim the bottleneck is the nic at 1GB/s then go one to claim HD transfer rates of 10-15MB/s. I'm gonna assume tere is a type in there somewhere...

      I use RAID 1 with 2 40MB drives. Its Linux Software raid, and works fine without 1 drive. Though I have not the faintest how to rebuild a failed node...

      One does not care about speed from a 1-5 person file server at home. Hes not playing games and its extremely unlikely there will be any contention. Even if your playing mp3s from it as i do.

    67. Re:RAID 1 by Pieroxy · · Score: 1

      All your post is quite interesting except for the WinXp Pro just decided to wipe it clean piece, which makes it look cretinistic at best. But after all, we are on slashdot, so why not bashing MS for free?

    68. Re:RAID 1 by Marillion · · Score: 1
      keyboard driver errors

      Oh, so that's caused this error:

      $ rm * .o
      rm: .o not found
      $
      --
      This is a boring sig
    69. Re:RAID 1 by Pieroxy · · Score: 2, Funny

      And you access them quickly how?

      I would say:

      And you access them quickly how with the one hand available left?

    70. Re:RAID 1 by Fazlazen · · Score: 1
      I was even thinking of buying the app until I surfed to the company's site and found it was >$2K US. [...] I didn't have anything critical on there, but it woudl have been very time consuming to re-rip my CDs again.

      Like, say, maybe more than $2k worth of your time?

    71. Re:RAID 1 by Anonymous Coward · · Score: 1, Insightful

      I wonke up one morning, turned on my system and found my one an only partition for my storage drive (non-raid) totally gone. WinXp Pro just decided to wipe it clean. I surfed around a while and find a nice Russian (or some other foreign site) that served up a juicy hacked exe for a harddrive recovery app.

      me thinks the indiscriminate downloading and running of previously-unknown software(s) from "Russian (or some other foreign site[s])" has a lot more chance of being part of the original problem ("drive...totally gone") then "WinXp Pro just decided to wipe it clean."

      oh, that's right, I'm reading /. where any MS bashing goes! I guess I shouldn't complain, it was only mod +4 Interesting, usually it would have been +5 Informative...

    72. Re:RAID 1 by Abcd1234 · · Score: 1

      Damnit, typo. I meant RAID-1. Given the very subject line in the discussion, I would think that mistake was evident.

    73. Re:RAID 1 by wirespring · · Score: 1

      Backup is definitely the way to go, and if your fileserver runs something UNIXy, you can use rdiff-backup to do a remote incremental backup to another local server or an off-site server over the Internet. Cheap, fast, easy to set up, and easy to restore from (even restore multiple past versions).

    74. Re:RAID 1 by antiMStroll · · Score: 1

      Perhaps true, probably irrelevant on most home networks. Unless the NICs are gigabit the throughput bottleneck is the LAN. The last server I had which couldn't saturate 100 Mbits was P133-based

    75. Re:RAID 1 by darkheavy · · Score: 1

      Well, that is fantastic for data loss due to happy rm -fr or filesystem errors, but the man is asking for a solution against HD failure.

      If I were you I would read through this answers, your file server have been working for 3 years and HD tend to fail when the guarantee ends. (Murphy's Law)

    76. Re:RAID 1 by aarfb · · Score: 1

      "a 2-drive RAID 1 also works fine if two drives fail." Oops - 2 drives failing in a two drive array means you're dead!

    77. Re:RAID 1 by Anonymous Coward · · Score: 0

      Uh... doofus... mirror the drives... then stripe over your mirrors. 6 drives equals 3 mirrors one stripe with the equivalent of 3 drives of space.

      That way you can loose three drives... if they happen one per mirror that is. (two drives could still fck you up). But now if you also had a 7th drive as a hot spare one of those mirrors could be automagically rebuilt with md.

      Linux md is very fine imho.

    78. Re:RAID 1 by DoctorHoe · · Score: 1

      RAID 1 would be the best way and you can use as little as two drives like the parent post states. But if you don't want to have to worry about the rebuild if a drive fails you'll want a hot spare which increases your hard drive minimum to three. A hot spare will automatically take over for the failed drive and when you replace the failed drive, the new becomes the new hot spare.

    79. Re:RAID 1 by Anonymous Coward · · Score: 0
      I wonke up one morning....

      T.M.I.
      Too Much Information.

    80. Re:RAID 1 by msmikkol · · Score: 1
      WinXp Pro just decided to wipe it clean

      That is not as far-fetched as it might sound. Something very similar happened to me when I bought an external hard drive for my laptop. The drive was pre-partitioned and formatted as one 160 GB FAT32-drive. Stupid me, but didn't know at that time that W2k can't play nice with FAT32 partitions larger than 32 GB.

      Everything worked fine for some weeks, until one day I booted up W2k to play some BGII and noticed that the external drive was missing from the Explorer view. The drive was so messed up that I couldn't even re-format it.

      I bought a drive recovery program and was able to save most of the data I had on the drive. Fortunately I didn't lose any important stuff, since I used that drive to store music and movies. Still, paying $75 for recovery software sounded a far better idea than re-ripping most of my CD collection.

      The funny thing is that the manual of the drive doesn't give any reasons why partitions larger than 32 GB are a bad idea with FAT32. It just recommends using NTFS for large partitions.

      --
      The aim of science is not to open the door to infinite wisdom, but to set a limit to infinite error.
      -Bertolt Brecht
    81. Re:RAID 1 by devnullify · · Score: 1

      LOL I like this. How often has it saved your ass?

    82. Re:RAID 1 by robi2106 · · Score: 1

      Hey... I'm not bashing. I have had my RedHat system fsk up much more frequently (probably after I try some change and don't know how to reverse out my config changes). That is why I legally bought and use WinXP Pro.

      Still doesn't explain why my XP NTFS partition disappeared. Who knows, I could have a virus/trojan. I am behind a rock solid firewall and have no freeware/GAIN apps installed and keep my OS patched on a weekly basis, but that doesn't mean I am safe from virii.

      jason

    83. Re:RAID 1 by Anonymous Coward · · Score: 0

      "The worst downside is that you will have to take the system down to change a drive (correct me if I'm wrong, but I've never seen a hot-swappable RAID 1+0 solution), and the performance before you do that will take a substantial hit."

      Adaptec 2410SA with enclosure kit.
      SATA RAID with a hotswap enclosure RAID 0,1,5,10
      Storage Manager Browser Edition
      Windows, Redhat9 (with tools) Fedora, FreeBSD (Without tools; only RAID bios config)

    84. Re:RAID 1 by Anonymous Coward · · Score: 0

      The benefits are that you get the same protection as with RAID 1, but lose the speed penalty, all without needing special hardware or spare CPU power for expensive CRC calculations.

      Expensive CRC calculations?? Every RAID array I've seen uses simple parity calculations!

    85. Re:RAID 1 by Lawrence_Bird · · Score: 1

      i have a 4 drive raid 10 using a 3ware 7500 pci raid card.
      Its been great. Ditto what was put in by artrh1, but add
      that the rebuild on a 10 is superior to a 5 or 53.

    86. Re:RAID 1 by Glonoinha · · Score: 1

      Personal file server? RAID is good, RAIC is better. Here's how I would set it up :

      Two partitions : your OS partition (4G) and your shared partition (the rest). Back up your OS partition by making a drive image / ghost image - burn that image to CD. Make a directory on the second partition and share it.

      Second computer (RAIC stands for redundant array of inexpensive computers) : same thing, but don't share the shared partition to the public, just to the admin user tasked with maintaining the system. From time to time synch your shared drive to the new computer.

      Benefits :

      No downtime if the first computer crashes for any reason (RAID doesn't protect you against power supply, CPU, drive controller, liquid spills, psycho ex-girlfriend with a baseball bat, or other failures), instantly be back online by powering down the primary computer, renaming the second computer to the name of the first computer, and making the share on the backup computer public.

      Protection against user errors, deleted files, mistakes, virus / worm infection, file corruption. RAID doesn't protect against any of these but having the files on a hot spare that isn't actively being shared does protect against all of these. When you know everything is good, synch the drives manually.

      Not particularly complicated.

      Any reason to add a new computer to your network is a good reason.

      If that is out of the question, I agree : RAID 1 is the best cheap way to go. Better than nothing, that is, but it doesn't alleviate the need for backups.

      --
      Glonoinha the MebiByte Slayer
    87. Re:RAID 1 by Anonymous Coward · · Score: 0

      Combining the rm command and lack of sleep is like combining a loaded gun and your forehead. You can only do it so often before you destroy something valuable.

      Yeah, after pulling the trigger, you stand a good chance of dropping the gun and ruining the finish. I hate when that happens!

    88. Re:RAID 1 by bersl2 · · Score: 4, Interesting

      I've done that once. This is why I've started to touch -- -i in every directory with important data. In case of accidental rm -rf *, you're not fucked. I forget where I learned that trick, but I'm sure it will be a life-saver someday.

    89. Re:RAID 1 by Anonymous Coward · · Score: 0

      your users storing their mp3's on the server too, eh? *sigh*

    90. Re:RAID 1 by doormat · · Score: 1

      One nit I need to pick.

      Rebuild times are what to factor in. If one drive fails and another one fails before you rebuild the array, its toast for Raid 1 and 5. Its not necessarily replacement time, but rebuild time as well. This can range from a few hours to two or three days if you have a gigantic HD (300+GB).

      --
      The Doormat

      If you're not outraged, then you're not paying attention.
    91. Re:RAID 1 by 3terrabyte · · Score: 1

      No doubt about the convenience...
      But DVD-R's are not $3 each.
      One of the best brands, Princo, can be had under a dollar each. Well under if you're buying that QTY.

      --

      Why are there only 19 people folding@home for slashdot?

    92. Re:RAID 1 by PacketKing · · Score: 1
      Don't forget the problem that sometimes you add a space where you shouldn't, like at the beginning of a path, e.g.:
      rm -rf / home/joeblow
      ^
      space
      rm gets quite far before you realise what youv'e done, if you realise it at all. Damnit if I haven't done this one a time or two. I'll agree that combining the rm command with a lack of sleep is definitely a Bad Thing(TM)
      --
      Ignorance is lacking knowledge, stupidity is a choice of ignoring knowledge.
    93. Re:RAID 1 by Eric+Damron · · Score: 1

      "The only semi-common RAID I know of that could handle two drives failing at the same time would be RAID 10"

      They actually have a RAID 6 which is just like RAID 5 except that it allows two drives to fail before you're toast.

      The think is with RAID 5 verses mirroring is that in order to mirror you lose exactly half of your disk space to the redundancy. With RAID 5 you lose 1 disk and with RAID 6 you will lose 2 disks.

      --
      The race isn't always to the swift... but that's the way to bet!
    94. Re:RAID 1 by Matthew+Weigel · · Score: 1

      Eh?

      You don't lose "a full drive worth" of capacity- you lose half capacity.

      If you have two drives, you get one. If you have four drives, you get two.

      With RAID5, you lose "a full drive worth," and you have to start with three. For one disk worth of capacity, RAID1 is the way to go- two disks, full redundancy, yadayada. For two disks or more, RAID5.

      As mentioned by other people, software RAID5 isn't as bad as you make it out- at 2n capacity, hardware RAID5 costs about as much as RAID1, and for 3+n capacity, RAID5 wins out.

      --
      --Matthew
    95. Re:RAID 1 by romanval · · Score: 1

      Yeah, but the whole concept of RAID is that the probability of both drives failing at the exact same moment (barring any incident that may affect both drives such as physical shock or power supply issues) are pretty low.

      It's basic statistics: That's why for the longest time the FAA only allowed large passenger jets (>2 engines) to fly trans-oceanic flights, since the odds of a single engine failing is very slim-- but when you multiplied that probability with 4 engines, it makes for a near-impossibiliy of an airplane plunging into the sea due to engine failure.

    96. Re:RAID 1 by john_smith_45678 · · Score: 1

      What hot-swap drives/bays do you use?

    97. Re:RAID 1 by Firethorn · · Score: 1

      Actually, for a RAID-5 solution, if you want uber-security of the ability to suffer multiple drive failures, you'd be moving into RAID-6 territory. Or you could say the heck with it and mirror the array on a different channel.

      --
      I don't read AC A human right
    98. Re:RAID 1 by Anonymous Coward · · Score: 0

      Didn't read any posts about having DUPLICATE SPARE DRIVES. At least this used to be a problem a few years back. I worked for a co that had me write some SCSI code page utility to set pages identical so RAIDs could be rebuilt using non-identical drives... something to read about in the fine print if you buy a host controller or use an OS-provided SW.

    99. Re:RAID 1 by Anonymous Coward · · Score: 0

      You cannot format a volume larger than 32 GB in size using the FAT32 file system in Windows 2000. The Windows 2000 FastFAT driver can mount and support volumes larger than 32 GB that use the FAT32 file system (subject to the other limits), but you cannot create one using the Format tool. This behavior is by design. If you need to create a volume larger than 32 GB, use the NTFS file system instead.

    100. Re:RAID 1 by dead+sun · · Score: 1
      Okay, so applying a RAID 10 style idea to a big set of drives still gives you storage space losses of 50% and you're still vulnerable to having two disks go down, it just gets less likely that if two go down you'll be in trouble.

      With that 6 drive configuration you've got your first failed disk which any RAID save 0 will save you from. Then you have a 20% chance of losing all your data with the next disk. I'll grant it's better than the 100% of a single RAID 5, but ask anybody who gives a damn about their data and they'd still have backups at that rate. 3 disks and there's a 50% chance of losing all your data, remove 4 drives and there's absolute certainty of all your data being gone.

      On the other hand you could make 2 RAID 5 sets out of that same set of 6 disks. Then you could lose the first disk, have a 20% chance of losing half your data with a second failure as opposed to all. If we want to speak of outlandish possibilities then the third disk has a 100% chance of killing half your data if you didn't already lose half, but if you did a third disk can't cause more loss, so exactly half is gone here opposed to 50% chance of everything. The fourth could kill the other set, or if for some reason drive 3 in the dead array was still running, not kill the set with a 33% chance.

      So, if the disks are marked going to die or not in advance as one would expect, there's a 33% chance of half your data surviving 4 bad disks with 2 RAID 5 sets, and absolute certainty that exactly half your data would survive 3 bad disks. So if we want to do a rundown of how much data you'll have left on average after disk failures based on 2 RAID 5 sets versus a big mirror stripe thing, we have:

      1 Disk - 100% data for RAID 5 - 100% data for other
      2 Disks - 80% data for RAID 5 - 80% data for other
      3 Disks - 50% data for RAID 5 - 50% data for other
      4 Disks - 17% data for RAID 5 - 0% data for other

      Plus you have an extra full drive's worth of storage space, not bad for the cost of a SCSI drive so typical in business RAID.

      So why again would you put 6 drives into 3 mirrors with a stripe? And ugh, I feel like I just over analysed this whole thing.

      --
      If not now, when?
    101. Re:RAID 1 by ryanwright · · Score: 1

      Believe it or not, these cheapies from Compgeeks. ATA66-133 drive bay for less than $7.00. They work great.

      Only thing is, they only power up when they're locked. I didn't like this, as I leave my server on 24/7 and if I need to yank a drive out because the house is on fire I won't have time to search for the key. The little metal piece that prevents you from removing the drive when it's powered up is screwed into the key mechanism. I unscrewed it and pulled it out. Now I can "lock" the case, which gives power to the drive, and still pull the drive out without unlocking it if I have to.

      Also makes normal operations convenient because I don't need the key to change drives.

      --
      -Ryan, with the unoriginal sig
    102. Re:RAID 1 by dead+sun · · Score: 1
      Okay, but I did say semi-common. I can't think of a place where I've seen such a RAID level 6 purchasable off the shelf. It's the sort of thing that I'd expect in a enterprise situation where downtime, even the most improbable, cannot be tolerated.

      RAID 5 cards can actually be had for reasonable prices, eat less space than the other RAID levels, and still allows a single drive to fail.

      --
      If not now, when?
    103. Re:RAID 1 by Cecil · · Score: 1

      Yes. That was sarcasm. Two drives failing in a RAID 5 also means you're dead. Two drives failing in a RAID 1+0 means you have a 33% chance of being dead. I'd put my money on the RAID 1+0, despite the fact that the OP was trying to suggest that it's the most dangerous because it only takes two drive failures to maybe kill it (which is actually only true in a 4-drive RAID 1+0. Add another mirror set, and you have to wait for 3 drives to fail, and even then there's only a 5% chance that all three drives were the 3 mirrors of one stripe).

    104. Re:RAID 1 by dead+sun · · Score: 1
      I'm not debating that, I'm just pointing out that the AC I originally responded to stated that 2 drives going down in a RAID 5 would cause problems, as though it were an attack on RAID 5. This is to which I had to retort that it'd be little better in a RAID 1 situation.

      Anyway, I fully agree, the probability is very low if we're speaking of normal, random failures. I've worked on a machine that had it's RAID 5 set go kablooey due to a bad set of disks though. IBM support figured the extra activity of rebuilding a hot spare sent a second drive over the edge before the spare was rebuilt, killing all the data. Not to mention situations like fire, misplaced commands, hacks, etc. Backups are still essential.

      --
      If not now, when?
    105. Re:RAID 1 by elemental23 · · Score: 1

      You don't lose "a full drive worth" of capacity- you lose half capacity.

      If you have two drives, you get one.


      Exactly. You lose the full capacity of one of the drives.

      --
      I like my women like my coffee... pale and bitter.
    106. Re:RAID 1 by EvanED · · Score: 1

      What does it do?

      (Replying to you because you may see I've replied if you check your stats page and be able to answer, whereas if I just replied to the AC someone else would have to see while reading through...)

    107. Re:RAID 1 by NewNole2001 · · Score: 1

      I use RAID 1 with 2 40MB drives

      I think you might want to upgrade... Just a suggestion. It should be cheap, you can get a 500MB HDD for next to nothing these days.. And man, those 1GB HDD I've heard tell of, damn, a whole gigabyte on one hard drive, the possibilities!

    108. Re:RAID 1 by elemental23 · · Score: 1

      > At a different site.

      In a galaxy far, far away..


      That might make data resoration kind of tricky.

      --
      I like my women like my coffee... pale and bitter.
    109. Re:RAID 1 by NewNole2001 · · Score: 1

      I suggest a wireless satellite

      Man, screw that, ever since I got my wired satellite connection, my backups have been quicker than ever. Sure buying 22,000 miles of Cat5 cable was a bit expensive, but now I don't have to worry about people stealing my bandwidth. It does suck when the jets cut the cable, though. That's where my 802.11b connection to the moon comes in handy(fully secured with 64 bit WEP)

    110. Re:RAID 1 by Octorian · · Score: 1

      Personally, I like the idea of controller-integrated external RAID boxes. That way, the host only needs a non-RAID host bus adapter. Unfortunately, while these are plentiful and affordable on the used SCSI/FC markets, they are a relatively new product in the IDE/SATA market. Thus to get one of these for IDE/SATA drives, you'll have no choice but to shell out a pretty penny for something brand new.

    111. Re:RAID 1 by kfg · · Score: 1

      Sure buying 22,000 miles of Cat5 cable was a bit expensive. . .

      The intermediate solution. It beats hell out of paying for a few hundred million light years of the stuff, never mind running it.

      KFG

    112. Re:RAID 1 by drinkypoo · · Score: 1

      There's a program called getdataback which is supposed to (obviously) get your data back. The problem is that you need a volume slightly larger than your raid filesystem to restore the filesystem image, which you usually don't have, because if you did, you wouldn't have needed raid in the first place. I haven't tried it but it is a potential life saver.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    113. Re:RAID 1 by Anonymous Coward · · Score: 0

      Heh, it's also fun to do "touch -- -rf" to a friend's directory, especially when they don't know about using "--" in the GNU tools. If they haven't encountered it before, they'll usually spend a fair amount of time trying to figure out how to get rid of it without accidentally nuking their whole tree. I've seen people move heaps of other stuff out of the way temporarily so that they could do "rm * *" to get it, hehehe.

    114. Re:RAID 1 by /dev/kev · · Score: 1

      also check out rdiff-backup for a very nice solution which doesn't require 10Gb every time you change a few bytes in your 10Gb file.

      --
      Quidquid latine dictum sit, altum viditur.
    115. Re:RAID 1 by JamieF · · Score: 1

      2 words: seek time. If you're copying a bigass file to/from the server, yes the network will probably be more of a bottleneck than a modern drive on a modern controller. This is probably the most likely actual use case - MP3s, downloaded installers, movies, or whatever.

      However when it comes time to copy that directory with 10,000 1KB files in it to the server, network latency and disk seek time suddenly matter quite a lot, and theoretical maximum throughput doesn't matter quite so much. Also, chances are that a home file server wouldn't be a dedicated appliance with no other responsibilities, so it's worth looking into RAID performance for other overlapping duties that the server may have.

    116. Re:RAID 1 by Trejkaz · · Score: 1

      I think there is a term for what he was talking about... RAID 01.

      Anyway if you have 6 disks, using RAID 10 or RAID 01 would give you 3 disks worth of space, and both cases still risk two disks killing all your data. However RAID 6 would give you 4 disks work of space, and there would be no risk of losing data if you lost two disks. It would seem like a no-brainer for a 6-disk configuration.

      Even for a 4-disk configuration, RAID 6 would be smarter since it completely eliminates the 2-disk death risk.

      But honestly, how rare is losing two disks at once? Normally, wouldn't one die, you replace it, and then another dies later?

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    117. Re:RAID 1 by Anonymous Coward · · Score: 0

      That is why I never use the 'rm' command after 5 pm! (Also, I don't eat chocolate after 5pm either, but that's another subject)

    118. Re:RAID 1 by awol · · Score: 1

      Amen. I have vivid memories of typing rm -rf * in the wrong directory (and that was WITH pwd in my prompt). It took an entire week to duplicate the work lost.

      That's why the first thing I put in my shell rc is alias rm="rm -i". Unfortunately in Linux rm -f overrides the -i, but on other unices (Solaris I believe for one) it does not and so a \rm -rf is required to make a true -rf when you actually mean it. You cannot imagine the number of times this has saved my skin, well at least a lot of pain in the mean time.

      --
      "The first thing to do when you find yourself in a hole is stop digging."
    119. Re:RAID 1 by Trejkaz · · Score: 1

      It's fine if his /usr/local and /usr/localmirror partitions are on different physical disks.

      Then it would be like the setup I have. Every night I mount /mnt/backup, run rsync to sync important data from /var, /usr/local, /home, /etc, and a couple of directories on remote servers. Then I unmount the backup drive.

      My backup drive is about 20% larger than the sum of my other local drives so it would take a fairly hefty network transfer to bring it near the limit.

      I guess it can still fall down if the backup drive dies in a way that I can't tell by just writing files to it. In that case, verifying that the files were written correctly would probably be a good idea, but I don't do that at present.

      But then again, every month I DVD off the really critical data anyway. So if the biggest cataclysm happens and both my hard drives fail, I will lose a month's data, in the worst case.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    120. Re:RAID 1 by swv3752 · · Score: 1

      A lot of cheapo IDE raid controllers would fail at rebuilding a RAID 10 or 0+1 array.

      Also what I didn't fully explain originally was factoring different tech. With some form of RAID 1 (or 10 or 0+1), most likely it would be a cheapo IDE controller with cheap IDE drives. For RAID 5 it was assumed it be the better quality SCSI controller and drives. It was also assumed that no available spares would be around for RAID 1 so it would be about a week before a replacement was on hhand to put back into the array. I would presume that for RAID 5 that a replacement drive would be on hand.

      Increasing the number of drives increases the likelyhood of any given drive failing. IDE drives will have a higher failure rate than SCSI. given all this, RAID 5 is better.

      (I was also in my mind thinking of RAID 6, but...)

      --
      Just a Tuna in the Sea of Life
    121. Re:RAID 1 by Hawke666 · · Score: 1

      Actually, you're mistaken. Win2K can play nice with FAT32 partitions larger than 32GB, it just can't create them. Of course, you would have run into the same problem anyway since it can't play nice with partitions >128Gb (It starts scribbling at the beginning of the drive, even if it's a seperate partition, e.g. Linux) I recently ran into this problem when upgrading from a 120GB to a 200GB drive. Shortly fter recovering from that, I learned (the hard way, again) that Win2K doesn't play nice with hard drives (not partitions) larger than 137GB, without a patch (to enable 48-bit LBA). At least with that one it only screwed up the one partition that crossed the boundary, not the other ones. I've been reinstalling OS's a lot lately.

    122. Re:RAID 1 by dead+sun · · Score: 1
      True about RAID 6, though I was trying to stick with relatively common RAID levels, 0, 1, 5, 10, and 0+1. I've never once actually held a RAID 6 controller in my hands.

      Two disk is rare under cases where the disks aren't all from a bad batch, and even then the individual drives stress differently and fail at different times. Again, I've actually worked on a machine that had a second drive fail, the whole RAID 5 array lost as the hot spare tried to rebuild the set. However, I've not heard firsthand of anybody else who's had this trouble. Usually one would expect the drives to fail more than minutes apart.

      --
      If not now, when?
    123. Re:RAID 1 by f0urtyfive · · Score: 1

      I just have a Halon fire supression system in my basement. I may not be alive after it goes off, but my equipment will be!

    124. Re:RAID 1 by Anonymous Coward · · Score: 0

      The worst downside is that you will have to take the system down to change a drive (correct me if I'm wrong, but I've never seen a hot-swappable RAID 1+0 solution), and the performance before you do that will take a substantial hit.

      This really depends on implementation. Swapping a drive depends on your OS and the hardware involved - i use software (veritas) RAID 10 (they call it "striped pro") on a number of Sun servers, all scsi based, and these are all hot swapable, but the ide based, software (raidframe) RAID 10 openbsd systems i have are not hot swapable.

      And actually, RAID 10 is the best for swapping out a drive. Consider: you are making a large stripe out of submirrors. When you rebuild, you only rebuild the submirror. With all other RAID types, you have to rebuild a larger volume (well this is dependant on the number of drives in the array).

    125. Re:RAID 1 by Anonymous Coward · · Score: 0

      If one drive fails and another one fails before you rebuild the array, its toast for Raid 1

      iff the RAID 1 volume consists of only 2 disks. If you have 3+ mirrors, you're fine (not likely in a home environment, but where i work there's been the occasion).

    126. Re:RAID 1 by Anonymous Coward · · Score: 0

      Agreed, RAID 10 should only be used if you have at least 2 completely seperate arrays, so that the only single point of failure is the computer itself.

      Huh? How did you reach this conclusion? RAID 10 has many benefits over the alternatives.

    127. Re:RAID 1 by Anonymous Coward · · Score: 1, Informative

      Or you could say the heck with it and mirror the array on a different channel.

      If you're going to be mirroring a RAID 5, why would you not just use RAID 10? You'll gain disk space, be more resistant to disk failure, get better performance (hw/sw dependant), and get faster recovery times.

    128. Re:RAID 1 by ajs · · Score: 1

      I have vivid memories of typing rm -rf * in the wrong directory

      One of the reasons I love NetApp. Not that the person who asked is able to afford one for home use, but man I love those things for never losing data.

      For those who've never used one, they have an atomic, instantaneous backup system that works by having copy-on-write semantics on EVERY BLOCK AND EVERY FILE on the filesystem. You just have a cron job (or use the internal configuration) to create one of these "snapshots" every 5 minutes or every hour or whatever and then expire them on whatever timetable you want.

      If you ever want access to the data you just deleted, you just "mv .snapshot/five_minute_01/file_I_need file_I_need" And you have it back, but things you don't change don't get backed up until you DO change them (and that's on the block-level, not the whole file).

      Wonderful devices.

    129. Re:RAID 1 by Eric+Damron · · Score: 1

      Yeah RAID 6 isn't too common yet and how often are two drives going to fail at the same time? I believe (but don't quote me) that the minimum configuration requires at least four drives whereas one can get by with only three at RAID 5.

      I have a home server with three drives and just run RAID 0. I may regret that if a drive ever fails because I'll be unable to recover anything on any of the drives. If I get a couple more drive I'll probably switch to RAID 5.

      The thing is though, if one runs RAID 5 one takes a small performance hit on the write due to the number crunching that goes on. But the reads are still a little faster than non-RAID.

      --
      The race isn't always to the swift... but that's the way to bet!
    130. Re:RAID 1 by swv3752 · · Score: 1

      About the same as del *.* /y
      It deletes everything in the current directory downwards without interaction. A Ctrl-c may halt it part way through, but usually means there is still important stuff lost. It is one of those things that everyone seems to have done once.

      Tricking someone else to do it is about the same as tricking someone to format c:\.

      --
      Just a Tuna in the Sea of Life
    131. Re:RAID 1 by swillden · · Score: 1

      The intermediate solution. It beats hell out of paying for a few hundred million light years of the stuff, never mind running it.

      But the great thing about that solution is you don't actually have to have any storage devices on the other end. Just put the cable in a loop and start your backup. When your drive dies, all you have to do is wait a few hundred million years for the data to come back.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    132. Re:RAID 1 by OS24Ever · · Score: 1
      you claim the bottleneck is the nic at 1GB/s then go one to claim HD transfer rates of 10-15MB/s. I'm gonna assume tere is a type in there somewhere...


      OK, for you acronym nazi's, it's Gb, not GB.

      And that's on a good day. on a home network you're going to have small packet sizes and such so you'd never get the card to punch out at 1Gb, probably 100 - 200 Mb a sec.

      --

      As a rock-in-roll Physicist once said, No matter where you go, there you are.

    133. Re:RAID 1 by r2000 · · Score: 1

      Not true, I have 2 sets of 4 seagate SATA drives RAID-5'd in a 2003 server machine for storign all my media on. Twice now I have started to get write errors to the drives in the event viewer - Pulling the mentioned drive out and replacing it was a piece of cake to get going again, and running the seagate online drive test on that drive on another computer (The test wont work thru PCI SATA cards it seems) came back with smart threshholds exceeded. Drives have 3 year warente, so back they go for replacement. In 2.5 years when they have no more watentee left, I simply replace them with whatever drives are then available for cheap, hopefully 400-500 gigs a piece :)

    134. Re:RAID 1 by StillAnonymous · · Score: 2, Funny

      Jesus Christ! Who are you, Larry fucking Flynt? What are you going to do with all of those?

    135. Re:RAID 1 by rar · · Score: 1

      >>> The really best way is RAID 1 + a third drive for backups, on another system.

      >>At a different site.

      > In a galaxy far, far away..

      On a computer that is unplugged when not doing backups.

    136. Re:RAID 1 by dead+sun · · Score: 1
      RAID 6, at least according to all sources I've found, requires 2 extra drives, so 4 is the minimum number it'll run on.

      I've been toying with the idea of getting a serial ATA RAID 5 card for a bit, putting maybe 4 or 5 largish drives in, and having a bit of peace of mind since my backup routine for my own stuff is a bit lacking most of the time. I have accounts on a few machines and put important stuff multiple places, or on CD or DVD, but for anything not deemed critical I generally don't. It's a bad policy and I'd like to protect myself from that a bit.

      Multiple drive failures are really, really uncommon. Still, I'd hate to be the sucker who thought it was impossible. I'd still keep anything critical well backed up. Like I've said, I've seen it happen and somebody would have been fired if not for nightly backups.

      Also, I think I've heard that while RAID 5 is slower than RAID 0 it is still typically faster than single drive performance due to multiple disk access. Supposedly having a dedicated card helps, and I'd tend to believe that especially if a system were under load.

      --
      If not now, when?
    137. Re:RAID 1 by supersteve1440 · · Score: 1

      "GB" and "Gb" are abbreviations, not acronyms.

      Victory! Welfare!
      :)

    138. Re:RAID 1 by Anonymous Coward · · Score: 0

      Note that there is a difference between 1+0 and 0+1. In general, make sure you use 1+0.

    139. Re:RAID 1 by Anonymous Coward · · Score: 0

      fsck it i'll just keep on using my old quantam fireball 13 gig, no raid, backing up once a week, and hopeing for the best. why am i going to spend $200+ for a computer that i built for $100?

    140. Re:RAID 1 by EvanED · · Score: 1
      Huh? I'm not asking about rm -r * if that's what you think I am... I'm asking about the cron entries the AC a couple posts up gave:
      0 0 * * * root mv /bin/rm bin/REALLY-rm
      0 9 * * * root mv /bin/REALLY-rm bin/rm
      I can't figure out what's going on here really... like is the missing / before the second bin on each line intentional? What's REALLY-rm? A custom program?
    141. Re:RAID 1 by Anonymous Coward · · Score: 1, Informative

      I've seen cases where a second disk goes while you're rebuilding the RAID...consider it this way. If you bought all the disks at the same time, they likely came off the same assembly line, they've been spinning the same amount of time, they've had the same amount of reads and writes. Would you take odds on a second disk NOT failing? :)

    142. Re:RAID 1 by Trejkaz · · Score: 1

      True. That's why I would have to buy all the disks from different places and see if I can ensure they come from different batches. After all, if all 6 disks come from one batch, protecting against 2 failing won't help if 3 fail. :-)

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    143. Re:RAID 1 by Anonymous Coward · · Score: 0

      Just about. We have several Dell (hmm...) servers at my place of work with RAID 5's configured. We have our nightly backups as well as redundancy in our file server configuration (backup servers). We have had drives fail. Never more than one at a time, but it happened about 5 times in a period of 2 years.

    144. Re:RAID 1 by msmikkol · · Score: 1

      So much for trusting Maxtor support. :) As you said, in my case it made no difference whether the play-nice limit was 32 or 128 GB. Anyway, thanks for setting me straight on this.

      BTW, I looked up that 48-bit LBA batch, and it seems to be a part of SP3. No need to worry about that, then - SP3 was installed long before I got my external drive.

      --
      The aim of science is not to open the door to infinite wisdom, but to set a limit to infinite error.
      -Bertolt Brecht
    145. Re:RAID 1 by 3terrabyte · · Score: 1
      Are you talking about something like this?

      It looks awesome, and I've never seen such a perfect list of media types that it can access. (Although I don't see DVD-R MP3, just CD-R MP3)

      Anyway, why don't they make these things that can be accessed by a computer? THAT is what I'd want.

      --

      Why are there only 19 people folding@home for slashdot?

    146. Re:RAID 1 by Drawsalot · · Score: 1

      Six terrabytes? You must have some fiendishly large data files, be storing every DVD you've ever purchased on hard drive, or serve as a 0-Day warez outlet. 'Course you could just be joshing.

    147. Re:RAID 1 by Eric+Damron · · Score: 1

      Right now I have 3 120 Gig drives in my home server. It started out to be just a backup server for my family so I set it up as RAID 0. I felt it would be a little over kill to backup the backup server. But now it's also hosting a friends web site. He's got the number one google hit for Ella Wheeler Wilcox so I'm thinking that I may have to rethink my desaster recovery stratagy.

      Oh bother...

      My MOBO has hardware raid but I couldn't get it to work with Linux. I didn't spend too much time trying however. I should probably try again although Linux software RAID seems very fast and it may not be worth the trouble/risk.

      --
      The race isn't always to the swift... but that's the way to bet!
    148. Re:RAID 1 by kfg · · Score: 1

      Brilliant!

      KFG

    149. Re:RAID 1 by Trolling4Dollars · · Score: 1

      Hmmm... IMHO, DVDs are a pain in the ass, just like CDs before them. If I have to manually intervene in the real world to access my data, it's just a waste of time.

      What I currently have is made up of what was available to me at the time: /mnt/mainstore:
      100G + 200G in an LVM configuration (no striping) /mnt/mainstore_backup:
      100G + 200G in an LVM configuration (no striping)

      I chose to avoid RAID 1 because I didn't want to risk data loss from accidental deletion (which has happened to me a few times).

      I use /mnt/mainstore_backup as a tape device in that I format it once every night using mkreiserfs and then use a command to copy all data from the /mnt/mainstore to it. Something like:

      tar -c /mnt/mainstore/* | (cd /mnt/mainstore_backup ; tar -xvf -)

      So far it's worked for me. Sure there is the slight possibility that something might fail on /mnt/mainstore and my nightly backup will run and erase /mnt/mainstore_backup, but I haven't worked on that part yet... Probably just need to add a filesystem check to the backup routine for /mnt/mainstore and make sure it exits with no errors before doing the copy with tar. Hmmm...

    150. Re:RAID 1 by dead+sun · · Score: 1
      If the machine isn't doing much besides serving up files there's a good chance that you won't need to move the RAID out of software, as there's likely plenty of CPU to go around for those purposes, especially if it's not doing RAID 5, though I suspect it'd be alright even in that instance.

      As far as I know, the RAID cards are there for when the machines are doing more than just moving files about a network, such as databases or any other server that pounds on disks and does some amount of (fast) processing. Well, also the EIDE and SATA RAID cards provide enough places to put disks to actually do RAID as well. But, unless you've got a heck of a lot of bandwidth you probably can't produce web requests fast enough to tax your processor.

      Also, depending on the chipset on your mobo it may not present that great of an advantage to move to the hardware raid. Some of them move a lot of the processing to the CPU instead of doing it themselves, so there's little difference. Also, the onboard ones rarely support anything more than RAID levels 0, 1, 10, or 0+1.

      --
      If not now, when?
    151. Re:RAID 1 by Matthew+Weigel · · Score: 1

      Are you always this stupid? If you want two drives' worth of capacity, RAID 1 requires four drives. RAID5 requires 3. That's the difference between "lose the capacity of one drive" and "lose half the capacity." If you want three drives' worth of capacity, RAID 1 requires six drives. RAID5 requires 4. Are you seeing the pattern yet?

      --
      --Matthew
    152. Re:RAID 1 by slaker · · Score: 1

      I'm not. I've written in other /. topics about it. I keep lots and lots of video on line. I collect and digitize media almost continuously, but especially videos.

      I even went so far as to build my own database and retrieval system for everything, something that, after conversations on slashdot, appears to be both unique and desireable for a lot of people.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    153. Re:RAID 1 by slaker · · Score: 1

      Why would you want DVDs full of MP3s? The best part of having a DVD jukebox is being about to keep the real CDs someplace where they're accessible.

      Sony's ES CD jukeboxes work the same way. I have three of them, also.
      Anyway, the absolute best thing about the current generation jukes is support for the SACD format. Multichannel music is a marvelous thing to have.

      I suspect the main reason why such a device doesn't work with PCs is the stupidity of the Windows "drive letter" system that most people are familiar with.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    154. Re:RAID 1 by BitHive · · Score: 1

      Can someone explain this "touch -- -i" business?

    155. Re:RAID 1 by mopomi · · Score: 2, Informative

      touch -- -i:

      -- indicates an end to options, so touch creates a file named "-i".

      "-i" will be at or near the top of the list when you do a listing (or any other alphabetically sorted operation, including rm). This will cause "rm -rf *" to be passed the file "-i" as its first (or nearly first) argument. This will cause rm to prompt for confirmation for each file (no -- in the rm argument list).

      This "trick" will fail if you attempt to rm -rf a subdirectory that contains the "-i" file (it won't be passed as an argument to rm).

    156. Re:RAID 1 by rootofevil · · Score: 2, Funny

      someone needs to talk to that guy - hes got WAY too much porn

      --
      turn up the jukebox and tell me a lie
    157. Re:RAID 1 by electrofreak · · Score: 0

      watch 'em?

      --
      I need a sig.
    158. Re:RAID 1 by Anonymous Coward · · Score: 0

      So what if/when one of the drives crashes? Can I just (boot down &) replace the faulty drive with an empty of the same size but no contents? That is, does the RAID system take care of duplicating stuff and getting things "on par" with the real contents.

      If not, which are the necessary actions to do _after_ the drives are changed?

      Thanks, - asko.kauppi*sci.fi

    159. Re:RAID 1 by rthille · · Score: 1

      Why not just alias rm to rm -i ? If you're sure you're in the right place, then \rm -rf.

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
    160. Re:RAID 1 by electrofreak · · Score: 0

      Why don't you try it?

      --
      I need a sig.
    161. Re:RAID 1 by Anonymous Coward · · Score: 0

      Jesus Christ! Who are you, Larry fucking Flynt? What are you going to do with all of those?

      They're going in the will.

    162. Re:RAID 1 by TheCause · · Score: 0

      I didn't see any mention of this in any of the other posts, so I'll point it out. The upcoming ICH6 Intel southbridge will incorperate a SATA-RAID controller (optional?). It is supposed to feature the capability of running both RAID0 and RAID1 simultaniously. Each drive is segmented identically into RAID1 and RAID0 portions for your liking. You could load your OS onto the 0 and important data on the 1 with one simple low overhead onboard controller. Unfortunately this product is not yet available. Hopefully soon.

    163. Re:RAID 1 by devnullify · · Score: 1

      At midnight, it moves /bin/rm to /bin/REALLY-rm (well if it wasn't missing the forward slashes which I'm assuming is the original intent...), then moves it back at 9am. Makes you think twice about what you're rm'ing in a sleep deprived state ;).

    164. Re:RAID 1 by tometzky · · Score: 1

      And you could loose all data if your power supply will fail - sometimes they will fry all your hardware in "death cry".

    165. Re:RAID 1 by TangoCharlie · · Score: 1

      > Combining the rm command and lack of sleep is like combining a loaded gun and your forehead. You can only do it so often before you destroy something valuable.

      Erm? Like the carpet?!

      My vote goes for a 4-drive SATA RAID 0/1 solution.
      Adaptec do a SATA card + drive enclosure which looks quite nice.

      --
      return 0; }
    166. Re:RAID 1 by 3terrabyte · · Score: 1
      "Why would you want DVDs full of MP3s? The best part of having a DVD jukebox is being about to keep the real CDs"

      Because I have way, way, way more than 400 CD's. I like the 30 to 1 ratio.

      --

      Why are there only 19 people folding@home for slashdot?

    167. Re:RAID 1 by itwerx · · Score: 1

      someone needs to talk to that guy - hes got WAY too much porn

      Whoever talks to him better bring a friend to help carry all those DVD's back...! :)

    168. Re:RAID 1 by Anonymous Coward · · Score: 0

      So what if/when one of the drives crashes? Can I just (boot down &) replace the faulty drive with an empty of the same size but no contents? That is, does the RAID system take care of duplicating stuff and getting things "on par" with the real contents.

      This depends on OS and implementation. For some HW RAID devices (current Dell PERC's, among others), just replace drive and the HW will automatically rebuild the set. For the SW RAID i've used (Solaris DiskSuite & Veritas, BSD RAIDframe & vinum, linux MD), you replace the drive and run some commands to rebuild the set. Some HW implementations require commands be run as well. In fact, in the shitty old days some HW controllers required entry into the card's BIOS in order for the recovery to be run. Yes this meant the server was down the whole time.

      Many OS's + HW support hotswap for SCSI devices, so there isn't even the need to power down.

      If you've never used RAID before, or even if you have but are using a new type of RAID (either different RAID level or different HW/SW implementation), then please please please test out a disk failure and the steps you need to take to recover from it (well, provided you're using something other than RAID 0). This will save you a lot of worry once something Bad does happen, plus give you the assurance that a disk failure actually is recoverable. For bonus points run benchmarks before and during recovery, as well as time how long recovery takes - this info isn't as important for home use, but for work can be vital.

    169. Re:RAID 1 by slaker · · Score: 1

      So do I. I just kept buying jukeboxes to accomodate my music collection (3300-odd CDs, all classical music - I can have 1200 in use at a time, but I seldom listen to more than about 300 of those).

      On the low end, 300 disc changers are as little as $200 new. Even with "way, way, way" more CDs than that, it's less time and less hassle to buy four or five of them to accomodate your collection than to sit around swapping hundreds of discs into and out of your PCs every five minutes (or however long it takes to rip a disc) until you've ripped everything.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    170. Re:RAID 1 by airjrdn · · Score: 1

      Not trolling here, but I'd always heard Princo was the bottom of the barrel. I've never tried them, I've simply shyed away from them based on that. I have used Ritek's without issue though.

    171. Re:RAID 1 by EvanED · · Score: 1

      Ah, thanks. I did get what was going on then, I just wasn't sure why they were temporarily renaming rm during hours when most people probably wouldn't be using the computer, and the lack of motivation led me to believe I was missing something, maybe with the missing slashes.

    172. Re:RAID 1 by Anonymous Coward · · Score: 0

      I like to ask that as an interview question:

      How do you remove a file named "-rf"?

    173. Re:RAID 1 by miketuppen · · Score: 1

      I agree. I think RAID 1 is the way to go. When I lost my linux server a couple of years ago (a souped up PC), I set it up with software raid (raid 1) and it worked fine - mind you I didn't have any problems with those hard drives. The latest server has hardware raid (also raid 1) so I didn't have to worry about setting it up with software raid.

      The great thing about raid 1 (also called mirroring) is that you can still run with 1 hard drive if one of them falls apart.

    174. Re:RAID 1 by fegu · · Score: 1

      Yes, RAID 0 is just "AID", it's an AID to faster throughput :)

      --
      "There is no substitute for thinking" - Bjarne Stroustrup
    175. Re:RAID 1 by arth1 · · Score: 1
      Amen. I have vivid memories of typing rm -rf * in the wrong directory (and that was WITH pwd in my prompt). It took an entire week to duplicate the work lost.


      The typical way this happens is: /usr/local/src/build % rm -rf *
      foo not deleted, permissions denied
      foo not empty
      bar not deleted, permissions denined
      bar not empty /usr/local/src/build % su -
      ~ # rm -rf *

      That pesky little "-" after su makes all the difference. Normally it's a good thing, but not in a case like this! Changing root's home directory from / to /root was done precisely for this reason. I'd recommend one better, and add something like the following to the end of root's .profile:

      [ -t 0 ] && mkdir tmp && cd tmp
    176. Re:RAID 1 by 3terrabyte · · Score: 1
      15,000 albums, already ripped.

      Anyway, there's still a desire to access these as data, not just as music. In fact, mostly due to the metadata that is constantly being updated to the songs at the artist, album, and track level.

      I'm still impressed with the formats that new one works with that you mentioned, but I still want PC access to them. When you find something commercially made that the PC can access, you won't get anything close to that size, and definately nothing close that price.

      --

      Why are there only 19 people folding@home for slashdot?

    177. Re:RAID 1 by 3terrabyte · · Score: 1
      Princo and Ritek battle for the top spot. Maybe I need to do my research again.

      I do remember having to test and read the DiscID to make sure they're name brand Princo.

      --

      Why are there only 19 people folding@home for slashdot?

    178. Re:RAID 1 by lachlan76 · · Score: 1

      I don't know if you meant that they were the same, but RAID 0+1 and RAID 10 are different things.
      Raid 0+1 has the RAID-0 array on two of the drives, and then that data is mirrored onto another raid-0 array. Raid 10 is slightly different, where two mirrors are made, and the stripe set is put onto each of them. Overall, RAID-10 would be a better option, because with RAID 0+1, when one drive breaks down, the remaining drive on that stripe-set can't keep up with the other mirror, so it isn't used, and the array ends up as a plain RAID-0 array. With RAID-10 if a drive breaks down, rather than being a single stripe set, one of the mirrors becomes a single drive, and to lose data, you have to lose the drive on the same mirror as the one which failed.

      None of this matters though if you have a hot-spare drive though. I can't work out what would be on a home file server that is so valuable that the time between losing a drive and getting a new one from the nearest computer store is large enough to make losing data a large enough possibility to get new drives in advance.

      Maybe you have something like that though, but I don't and don't know what it would be.

    179. Re:RAID 1 by elemental23 · · Score: 1

      Damn. I was reading RAID 1 but was thinking RAID 0. Mea culpa.

      Also, a correction would have been sufficient, no need for insults. Thanks.

      --
      I like my women like my coffee... pale and bitter.
    180. Re:RAID 1 by Matthew+Weigel · · Score: 1

      ...and when you were thinking RAID 0, what made you think you would lose the capacity of any of the drives? RAID 0 is not redundant- redundancy is what reduces usable capacity beneath the summed capacity of the arrayed disks- ergo, a level 0 RAID has the summed capacity of the arrayed disks with no loss. There, no insults- you do an awesome job yourself.

      --
      --Matthew
  2. search the fscking google by Anonymous Coward · · Score: 1, Informative

    Um.. Have you done any research into RAID? Anyone with even the most basic understanding of RAID (such as someone who read the short guides that come with their RAID cards) would agree that if you have more than two hard drives, the way to go is RAID-5. Your storage space is N-1. If you have six 100gb drives, your storage space will be 500gb. If you have a problem, you remove the bad drive, replace it and reinitialize the RAID arrive.

    No offense intended, but why didn't you just do a google search rather than asking 1.5million slashdotters? The words "raid type" would have produced a nice table from adaptec and ars technica as the very first result that would have explained what you needed to know:

    http://www.ebabble.net/html/types.html

    1. Re:search the fscking google by Anonymous Coward · · Score: 0

      Totally. Was this question worthy of Slashdot's index page?

    2. Re:search the fscking google by PoderOmega · · Score: 3, Funny

      Thank you for fulfilling the "Why didn't you check google?" quota. No one else needs to this until the next Ask Slashdot!

    3. Re:search the fscking google by boarder8925 · · Score: 3, Insightful
      but why didn't you just do a google search rather than asking 1.5million slashdotters?
      Because it's better to ask people's opinions and stories than to simply read pages.
    4. Re:search the fscking google by skirch · · Score: 5, Funny

      Another missed opportunity to use the internet's, uh, hottest new acronym: FGI.

    5. Re:search the fscking google by Anonymous Coward · · Score: 0

      But his question has little or nothing to do with opinion. RAID types are RAID types. You decide what your requirements are, then you find the RAID type that fulfills those requirements. He clearly stated his requirements and could have found which RAID type fit by doing a two second google search, without any need (or room) for opinion.

    6. Re:search the fscking google by Anonymous Coward · · Score: 0

      Perhaps it is an interesting topic? Perhaps the poster would like some personal experiences to help him avoid some pitfalls?

      If you don't think the question is worth your time, read the headline, make your assessment, and move on.

    7. Re:search the fscking google by Joe5678 · · Score: 1

      The decision is not as simple as you make it. Sure RAID-5 gives you the most space while still giving you redundancy, but what happens if 2 drives fail? In a mirrored configuration you can lose multiple drives as long as you don't loose a mirrored pair.

    8. Re:search the fscking google by Lumpy · · Score: 2, Insightful

      No offense intended, but why didn't you just do a google search rather than asking 1.5million slashdotters?

      or how about starting with using high quality drives instead of dirt cheap consumer drives with low life and warrenty lengths...

      I have had ZERO problems with my server quality SCSI drives that still have 2 years left on their 5 year warrenty.

      I suggest looking at getting reliable drives before looking at a RAID solution.

      --
      Do not look at laser with remaining good eye.
    9. Re:search the fscking google by douthat · · Score: 5, Informative
      I was thinking the same thing regarding "why doesn't he just google RAID", but your generalizations do not take into account the data types of all users.
      if you have more than two hard drives, the way to go is RAID-5
      Not necessarily. If you have 4 drives and require exremely fast disk writes and reads (ie, video) and you absolutely can't lose data, RAID5 sucks. You should go with RAID 0+1, because you can have the performance of RAID 0 and 1, without the parity overhead and without a significant slowdown on drive failure.
      If you have a problem, you remove the bad drive, replace it and reinitialize the RAID arrive.
      When a RAID 5 array loses a disk, performance is severely affected, as each "read" to the missing disk must be calculated by reading the same sector from every disk and caclulating the parity. When you replace the faulty drive, performance will still be terrible untill the entire dataset is rebuilt, which can take hours on BIG/SLOW drives.

      You also never touched on the possibility of him having only 2 drives, in which case RAID 1 would be the way to go for data redundancy.
      --
      She loves me: 09F911029D74E35BD84156C5635688C0 She loves me not: 09F911029D74E35BD84156C5635688BF ...
    10. Re:search the fscking google by Zak3056 · · Score: 1

      Anyone with even the most basic understanding of RAID (such as someone who read the short guides that come with their RAID cards) would agree that if you have more than two hard drives, the way to go is RAID-5.

      That is, unless the additional costs of something like RAID10 is justified based on the performance penalty of RAID5.

      My ERP box has 8 15kRPM 18GB disks in a RAID10. The usable disk space is only 90GB, but that's enough for our purposes. The ability to potentially survive the failure or four individual drives is also a plus.

      --
      What part of "shall not be infringed" is so hard to understand?
    11. Re:search the fscking google by IgnorantSavage · · Score: 1

      This is simply not true. There are trade-offs for all RAID implementations, and RAID 5 has significant disadvantages such as very poor write performance especially if you don't have non-volatile write cache. Read performance can also be less than RAID 1 for decent RAID 1 implementations (which are unfortunately rare).

      Also, RAID-5 rebuilds are relatively slow and compute intensive (XOR computations). Low-end RAID-5 implementations can even have major data security problems due to the difficulty of getting good performance without sacrificing data safety. Software RAID-5s in particular are often not 100% safe.

      As others have also said, I would strongly recommend RAID 1 for an individual situation unless you need a large (> 1TB) amount of space.

      This is what I use on my personal PC, though I am considering setting up a RAID 5 server with a few TB of space. I have not, however, found a really good and inexpensive RAID-5 controller yet.

      I am looking into Linux software RAID, but am not sure whether I can get reasonable write performance. I'm in particular not sure if it has support for NV write caching or what kind of NV to use if it does. Perhaps a solid state disk?

    12. Re:search the fscking google by Anonymous Coward · · Score: 0

      If I had 4 drives I'd run Raid 5 and a hot spare.

      As soon as a drive fails it rebuilds onto the spare. You're still ok if you lose another drive.

    13. Re:search the fscking google by Linux_ho · · Score: 1

      Yeah, and the OP misspelled "teh"

      --
      include $sig;
      1;
    14. Re:search the fscking google by mrwonton · · Score: 1
      Totally. Was this question worthy of Slashdot's index page?
      If not, you can't really blame the guy for asking. I'd hate to think about how many stupid questions the editors have to wade through every day... but when of this huge mass of questions, they decide on one like this, it makes you wonder if they're just throwing darts.
      --
      Not more than you need, just more than you want
    15. Re:search the fscking google by Anonymous Coward · · Score: 1, Funny

      In a mirrored configuration you can lose multiple drives as long as you don't loose a mirrored pair.

      Wow, normally people fuck it up consistently and spell "lose" incorrectly as "loose". However, you've done it both ways in the same sentence. A Slashdot first!

    16. Re:search the fscking google by Anonymous Coward · · Score: 4, Informative

      IDE is quite stable these days - certainly for the price.

      Let's see. My server requires half a terrabyte of storage.

      3 200gb IDE drives at $100/ea == $300
      3 180gb SCSI drives at $700/ea == $2,100

      Yeah... Not likely, pal. And certainly doesn't qualify for "affordable" like this guy is clearly looking for.

    17. Re:search the fscking google by love2hateMS · · Score: 1

      Sorry, but depending on your system, RAID 5 can be a huge CPU hog if you are using software RAID. On my main fileserver I run 6 drives in three separate RAID 1 arrays (and a seventh drive just for a boot drive). In other words I have a terabyte of space, mirrored. Yes, I lose half the space. I'm perfectly happy having 500 gig of storage with great throughput.

      The "which RAID level" debate is like the "vi or emacs" debate. Which level you use depends on your hardware and application. For example, most decent Oracle DBAs would lynch you for suggesting the use of RAID 5 for a database.

    18. Re:search the fscking google by JWW · · Score: 1

      I have had ZERO problems with my server quality SCSI drives

      You're lucky then. I have had quite a few server quality SCSI drives fail. But I have never had more than one drive in a mirror set fail at the same time.

    19. Re:search the fscking google by Anonymous Coward · · Score: 0

      sorry moron but a SCSI drive with a 5 year manufacturers guarentee is gobs better than a piece-o-crap consumer IDE with a 90 day taillight warrenty.

      only a complete moron like you would think otherwise.

      if your data is important then you buy good hardware.. thereare server grade IDE drives with 5 year guarentees on them.... they are 3X-5X the price of the consumer grade crap.

      BTW, lumpy's SCSI drives will cook the living crap out of your IDE... U160 and U320 are insanely faster than the best IDE or even SATA drives on this planet... you get a blazing speed increase with that extra $$$ spent.

    20. Re:search the fscking google by Anonymous Coward · · Score: 0

      If you have enough battery backed cache on your RAID 5 controller then RAID 5 works very well for a DB.

    21. Re:search the fscking google by swordboy · · Score: 3, Funny

      I always like to joke that this book should have been called: RTFM: Raid - The Fucking Manual

      --

      Life is the leading cause of death in America.
    22. Re:search the fscking google by Carnildo · · Score: 1

      I have had ZERO problems with my server quality SCSI drives that still have 2 years left on their 5 year warrenty.

      Argument by anecdote: I've had one Maxtor drive fail with a year left on the three-year warrenty. Restoring from backup is a pain, particularly if the backup is a slow medium like a CD or DVD.

      It's even more of a pain if the backup procedure has also failed, and you need to send the drive out to a data-recovery place.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    23. Re:search the fscking google by ryanwright · · Score: 4, Funny

      No offense intended, but why didn't you just do a google search rather than asking 1.5million slashdotters?

      Holy crap! There are 1.5 million of us? Now I know what to say the next time a bully asks me, "You and what army?" THE SLASHDOT ARMY!!!

      --
      -Ryan, with the unoriginal sig
    24. Re:search the fscking google by 3terrabyte · · Score: 1
      "it can take hours".....

      Literally. Was reading Tom's Hardware yesterday and their setup mentioned 13 hours.

      --

      Why are there only 19 people folding@home for slashdot?

    25. Re:search the fscking google by Cromac · · Score: 1
      Because it's better to ask people's opinions and stories than to simply read pages

      Of course this question has never been asked and answered with thousands of opinions on Usenet.

    26. Re:search the fscking google by kfg · · Score: 1

      I suggest looking at getting reliable drives before looking at a RAID solution.

      And then RAID them.

      KFG

    27. Re:search the fscking google by Carnildo · · Score: 1

      This is what I use on my personal PC, though I am considering setting up a RAID 5 server with a few TB of space. I have not, however, found a really good and inexpensive RAID-5 controller yet.

      This simply doesn't exist. You can get good RAID 5, or inexpensive RAID 5, but not both. The cheapest good (pure-hardware) controller will run you around $150-$200. Anything cheaper is offloading the parity calculations to the computer's CPU.

      If you're shelling out the cash for multiple TB of disk space, the extra cost of a hardware RAID 5 controller won't break you.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    28. Re:search the fscking google by Anonymous Coward · · Score: 0

      Sorry, dumbass, but how fast do I need a fileserver or a webserver's file system to be?

      And is the extra speed of a SCSI really worth a 700% price increase? I think not.

      If you are a major corporation and have the cash, maybe you're happy to dish out $700 for a 180gb SCSI drive, but as an individual running my own webserver at a colo, I can't afford $700 for ever 180gb of storage that I need when I can buy a 200gb IDE drive for $100.

    29. Re:search the fscking google by Anonymous Coward · · Score: 0
      My ERP box has 8 15kRPM 18GB disks in a RAID10. The usable disk space is only 90GB, but that's enough for our purposes. The ability to potentially survive the failure or four individual drives is also a plus.
      actually, you could be fscked after loosing only 2, if it were the right 2
    30. Re:search the fscking google by Anonymous Coward · · Score: 0

      Wow, SCSI drives have different platter technology than IDE drives, which is why they fail less.
      Oh wait, they don't. They just have more drive electronics.

    31. Re:search the fscking google by htmlboy · · Score: 1

      keep in mind that raid 5's write performance can be pretty nasty. at worst, a single write can require a read from each drive, parity calculation, and a write to record the new parity. raid 5 is great for things like static webserving where reads outnumber writes by a large margin, but for storing something user's home directories or a database with lots of writes, it's best to make sure your raid controller can optimize away the write performance hit, as most do, but you get what you pay for in a lot of cases.

      personally, i like raid 10 better than 5 because i don't mind trading a disk for real redundancy. parity-based raid levels require the controller to do more work in normal operation and a lot more in rebuilds. i prefer to just copy the good drive from the mirror to the replacement drive.

      anyway, ac&nc's raid.edu has a lot of good info on the advantages and disadvantages of various raid levels.

    32. Re:search the fscking google by yukk · · Score: 1

      Well, you see, the thing about RAID is that the ID bit at the end ... it stands for Inexpensive Drives. Sure, right now you have 0 problem, but as a UNIX Sysadmin, I have quite a bit of experience with drives of all types and I know that they too will fail. They may have better specs and I wouldn't use consumer drives in a corporate server, but, hey, this guy is doing his thing at home. Why would he want to spend $1000 to get himself a couple of SCSI drives when he can get 10x the value in IDES and a nice cheap (onboard?) RAID 1 solution will, if not guarantee his data integrity, at least ensure that restore from backup scenario is unlikely. I made a 4 drive RAID 0 stripe at home for playing with. It was nice and fast, it was unsafe and it failed last week after 4 years. I didn't care. I knew it would eventually. It was for fun. I'm still trying to get last month's technology to feel as fast as that 4 year old stuff did.

      --
      The trouble with the rat race is that even if you win, you're still a rat." Lily Tomlin
    33. Re:search the fscking google by jbbernar · · Score: 1

      Since the failure rate on drives is so low, it's not hard to find someone whose half-dozen or so drives have never had a problem. Your experience is meaningless.

    34. Re:search the fscking google by cybernautix · · Score: 3, Insightful
      No offense intended, but why didn't you just do a google search rather than asking 1.5million slashdotters?

      Because Google turns up 1,400,000 hits of mostly crap in 0.11 seconds. When you need advice, do you ask a librarian, or a group of trusted friends? By your logic, we should trust the company that wants to sell us RAID cards. I'd rather ask people that use RAID products, not sell them.

    35. Re:search the fscking google by Milo_Mindbender · · Score: 4, Insightful

      >No offense intended, but why didn't you just do a google search rather than asking 1.5million slashdotters

      No offense intended here either, but why is it that every time someone posts an "ask slashdot" question someone else feels compelled to complain (and occasionally get downright rude) about why the user didn't just "google it"?

      Google will get you articles and advertisements, true, but most of the time what the questioner is really after is peoples OPINIONS and EXPERIENCES.

      If I post a question like "what's the best backup program you've used on linux" I'm looking for 1.5 million slashdotters EXPERIENCES with backup programs...a google search will get me a list of programs and some reviews if I'm lucky, but that's no substitute for hearing from a bunch of people who've actually DONE or USED something.

      Hearing from a few hundred or thousand responders is a better recommendation than a "C-NET" review anyday!

      --

      Milo from Kangaroo Koncepts

    36. Re:search the fscking google by Anonymous Coward · · Score: 0

      While I'll agree with you as to the speed difference, the idea is for file "storage" - Usually the bottleneck for file servers is the network, not the disks.

      And, I would still go with the cheap ass IDE disks. Even if you replace one every 6 months over the course of 5 years, you still managed to save $1,000 vs. buying SCSI.

    37. Re:search the fscking google by douthat · · Score: 1
      My ERP box has 8 15kRPM 18GB disks in a RAID10. The usable disk space is only 90GB, but that's enough for our purposes. The ability to potentially survive the failure or four individual drives is also a plus. actually, you could be fscked after loosing only 2, if it were the right 2
      ... I beleive that's called the wrong 2 ;-)
      --
      She loves me: 09F911029D74E35BD84156C5635688C0 She loves me not: 09F911029D74E35BD84156C5635688BF ...
    38. Re:search the fscking google by Anonymous Coward · · Score: 0

      I dunno, I'm pretty happy with my $250 3Ware Escalade 7450 (4 channel IDE RAID conroller). I'm sure there are better and SCSI would be faster and maybe a tad more reliable, but I'm just one person and I had to do what I could with a budget. The current Escalades are even better for about the same price (I bought that card almost three years ago).

    39. Re:search the fscking google by cybernautix · · Score: 1

      Hear! Hear!

    40. Re:search the fscking google by Gr8Apes · · Score: 1

      It depends on what type of drive architecture you're going for.

      4+ drives in a SCSI RAID environment, RAID 5. 3 drives, RAID 5 won't be your best performance, but, you'll get the space of 2 drives. 2 drives? Mirrored. Multiple channels adds to the choices.

      4 drives on a dual channel IDE ATA RAID controller? Buy a quality 4 channel RAID controller (costs more than an equivalent SCSI RAID controller capable of handling 15 cheap drives... wonder why? Maybe RAID is hard ? SATA? Turns out it's highly dependent on, guess what? The controllers.

      Lastly, and most importantly, is the actual purpose of the RAID system. Is it going to be large file reads? For SCSI, RAID5 works well for this with 3+ drives. You won't quite get the full benies of striping 3+ drives, but it will be close. For any flavor ATA, mirroring is about the only thing you'll really benefit from, and it only provides redundancy, no performance gains. Unless, of course, you buy a quality RAID controller, in which case you still might want to revisit SCSI. The only benefit to me for SATA/IDE RAID is super large mass store like devices. I'm NOT a fan of IDE under any circumstances, and especially not for any server environment. For anything else, such as large numbers of concurrent anything, or if writes are important as well, and high performance (as in speed) are important, SCSI is your only option. You can see my comment in the other thread:

      --
      The cesspool just got a check and balance.
    41. Re:search the fscking google by Anonymous Coward · · Score: 0

      But then what would we argue about?

    42. Re:search the fscking google by flacco · · Score: 5, Insightful
      I have had ZERO problems with my server quality SCSI drives that still have 2 years left on their 5 year warrenty.

      there are two kinds of people: those who have had hard drive failures, and those that will have hard drive failures. i don't care if jesus h fucking christ himself blessed your hard drives.

      I suggest looking at getting reliable drives before looking at a RAID solution.

      and, if the poster is looking for the more-realtime-than-backup-restore reliability as he indicated, i suggest he look at raid BEFORE looking at drive quality.

      the name of the game is redundancy. a RAID array of cheap drives (let's remember that it stands for Redundant Array of Inexpensive Disks) *is* more likely to have a single hard drive failure - but it's recoverable. however, it's far less likely to have multiple, simultaneous drive failures on the same day (unrecoverable) than your one, expensive, better-quality hard drive is likely to have a single failure - which is unrecoverable.

      --
      pr0n - keeping monitor glass spotless since 1981.
    43. Re:search the fscking google by Anonymous Coward · · Score: 0

      Did anyone catch the link to mrburns.nl in the "I will use google before asking dumb questions" picture?

    44. Re:search the fscking google by mikael · · Score: 1

      I always recommend that users GTFM: Google (for) The ******** Manual.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    45. Re:search the fscking google by 770291 · · Score: 1
      When a RAID 5 array loses a disk, performance is severely affected, as each "read" to the missing disk must be calculated by reading the same sector from every disk and caclulating the parity.

      Actually, RAID 5 distributes the parity across all the disks. RAID 3 would have to calculate parity for every read (unless, of course, you lost the parity drive). So for RAID 5, you only need to calculate parity for 1/N of the disk reads. Still, performance will be degraded, but not quite to the same level as RAID 3.

    46. Re:search the fscking google by Tenareth · · Score: 1

      RAID-5 isn't always a clear way to go.. it does have a nasty write performance hit unless you have a very high-end controller.

      Of course, for home the hit will probably be irrelavent. Just saying, it's not "THE" way to go.

      --
      This sig is the express property of someone.
    47. Re:search the fscking google by Mysticalfruit · · Score: 1

      I've got 4 EMC boxes full of disks and I've replaced several "Server Quality" drives...

      Lets just say a harddrive company spends it's R&D dollars creating a 400GB harddrive.

      They're not going to then turn around and engineer some heavy duty version of the same drive. The only difference between the 400GB Fibre Channel disk that's in your companies disk array and the 400GB SATA drive that's in your riced out overclocked game machine is the interface board.

      Maybe the company that you bought your array through does some sorta of quality test before they put the disk in your array, probably not.

      99% of the time, drives that fail in the consumer environment due so because of poor handling and exessive power cycling.

      --
      Yes Francis, the world has gone crazy.
    48. Re:search the fscking google by jdavidb · · Score: 4, Insightful

      I'm glad he asked. I benefit from reading the discussion, including the various tangents. This gives me another opportunity to consider using RAID at home and benefit from some "war stories" folks might offer. My needs aren't exactly the same as his, but fortunately people never stick to the exact question asked, anyway. The free information people give out is invaluable, especially the stories of personal experiences and descriptions of people's personal setups at home.

    49. Re:search the fscking google by radulovich · · Score: 1

      Because you still have a single point of failure. Even if your drive had an MTBF of 1 million hours, then on average, every millionth person would lose all of their information the same day they plugged it in.

      I don't know about you, but that is not a chance that I want to take.

      Personally, I put a big drive in my old PC (a P-350) and use it as a backup to my primary storage. Data is synced to it every week (soon to be every night), and I no longer have to worry about hard drive failures or operating system corruption of the file system (which will still mess up a RAID solution).

      I highly recommend using an old computer with a big drive. It is much higher reliability at a minimal cost, and implements the same idea that every fortune 500 uses - backing up servers (although they usually do it to tape instead of disk).

      Got Backup?

    50. Re:search the fscking google by mkeroppi · · Score: 1

      Insightful, but SCSI drives are definitely Overratted...

    51. Re:search the fscking google by Angst+Badger · · Score: 1

      I suggest looking at getting reliable drives before looking at a RAID solution.

      Although the original poster isn't very clear on the point, it sounds like this is more for personal or some other small-scale use than a high throughput, high availability system. In such a case, SCSI drives are a tremendous waste of money. 600 gigs of high-quality SCSI drives is much, much more expensive than 600 gigs of an IDE RAID-5 array.

      One question to ask is what kind of applications will be using this array, and how bad will it be if you have to suffer through degraded performance between when a drive fails and when you get the replacement installed. If all you're doing is storing your monster MP3 collection and some word processor files, performance is not an issue with even the slowest modern drives. If you're serving documents to a busy office of dozens or hundreds of users, then performance must be taken into account. If you're going to store the active copy of your corporate financial database, then you probably are talking SCSI and RAID-5, plus offsite backups.

      --
      Proud member of the Weirdo-American community.
    52. Re:search the fscking google by lexiconbt · · Score: 1

      *All* drives have the possibility to fail - you should have a backup system or raid system in place if you care about your data - even if you have had "ZERO problems" in the past with your cute scsi drives.

      I've had some good luck with drives in servers as well - but I still expect to have failures.

      Your fancy 5 year warantee does not cover your loss of data.

    53. Re:search the fscking google by love2hateMS · · Score: 1

      Cache has nothing to do with it. Write performance is the issue. In particular, large sequential writes (which outsize the cache) are brutally slow under RAID 5. Databases that write redo and archive logs can grind to a halt under RAID 5.

    54. Re:search the fscking google by cb8100 · · Score: 1

      or how about starting with using high quality drives instead of dirt cheap consumer drives with low life and warrenty lengths...

      I have had ZERO problems with my server quality SCSI drives that still have 2 years left on their 5 year warrenty.

      Well, considering that the original question explicitly stated that the user is going to be using inexpensive drives, I suppose this isn't an option. Most of us (I'm assuming) have to spend money on other things besides $500 hard drives.

      And I've never had a problem with a drive under warranty. All the problems have always been after the warranty has expired. If your high-end SCSI drives are so great, why don't they have a lifetime warranty?

      --
      My lack of God, it's Trotsky!
    55. Re:search the fscking google by Tim+C · · Score: 2, Funny

      I like STFW - Search The Fucking Web

    56. Re:search the fscking google by kmankmankman2001 · · Score: 1

      If you have a problem, you remove the bad drive, replace it and reinitialize the RAID arrive. And in so doing wipe out all the data? If you are going to bitch at the guy for not googling at least give him good info. Initialize/reinitialize = start from ground zero. Kind of de-feets the porpoise, no? After replacing a drive in a RAID-5 array one typically rebuilds the array.

      --
      "The bigger the lie, the more they believe." - Det. Bunk
    57. Re:search the fscking google by Anonymous Coward · · Score: 0

      why did millions of people have nightmare problems with IBM deathstars that were STILL under warranty?

      a drive that fails in 91 days after the initial 90 day is up is crap compared to something that last 5 yrs and 1 day.

      and anyways... who cares... it's all dependant on what your data is worth...

      if you have $30,000.00 worth of data on your server only a complete moron would use consumer grade hardware in a non-raid setup.
      where-as your IRC porn collection is worth sitting on a used/refurbed IBM deathstar that clicks once in a while....

    58. Re:search the fscking google by Nahor · · Score: 1
      You should go with RAID 0+1
      Wrong, you don't want a RAID 0+1, you want RAID 1+0. In the RAID 0+1, you are more likely to lose your data if two disks fails.
      If you have four drives A, B, C and D. RAID 0+1 is about building two RAID 0 (A+B and C+D) which you then combine in a RAID 1. RAID 1+0 is two RAID 1 which you them combine in a RAID 0.

      In the case of RAID 0+1, if A fails, A+B isn't usable anymore and you get your data from C+D. So if C or D fails, you're screwed. So, if a second drive fails, 2/3 of the time, you lose all your data.
      In the case of RAID 1+0, if A fails, you get your data for B and (C+D). So you get screw only if B fails. If a second drive fails, you lose all your data only 1/3 of tihe time.

      See that page
    59. Re:search the fscking google by harrkev · · Score: 1
      or how about starting with using high quality drives instead of dirt cheap consumer drives with low life and warrenty lengths...

      From a financial standpoint, this makes no sense. Let's analyze further...

      You can mathematically analyze risk. The general formula = (cost for event) x (probability of event occuring). Nothing magic here. The hard part is coming up with a cost for an event, especially for personal data.

      So, let's assume that there the probability of a drive failure over five years is Q. Q should be well under 1% or so, under ideal circumstances.

      So, the cost for a failures is (cost of data recovery) x Q.

      However, the cost for no failure is (cost of drive hardware) x (100% - Q).

      The point of the exercise is to add both costs together, and find the lowest total. So, lets assume that a cheap RAID is $200, but the chance of failure of BOTH drives is 0.1%. But the expensive RAID is $1000, but your chance of failure of BOTH drives is %0.001 percent (one hundred times more reliable).

      In this example, if your data costs more than around $8000 to restore, then go for the most expensive option. Otherwise, go cheaper and take your chances.

      Note that this model does NOT take into account the cost of one drive failing, which is just the cost of one drive (no data is lost).
      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    60. Re:search the fscking google by Sloppy · · Score: 1
      Speaking on behalf of morons, I have to stick up for the usefulness of cheap drives. Provided that you have enough redundancy, you're not going to lose data even with crappy drives. So it's just a question of total cost over time period. If a cheap drive lasts half as long as an expensive one but costs less than half, then it's a good deal.

      And in practice, my experience is that cheap drives and expensive drives last about the same. Your experience is different? Fair enough.

      My experience, though admittedly with a very small sample size, is that case cooling has a vastly larger effect on modern drive longevity, than price/warranty. Put 'em in an aluminum case, keep an eye on the fans and replace 'em when the bearings croak, and my shitty Maxtors just keep going and going and going. (Whereas my cramped Amiga 3000 case was murderously hostile to my expensive hot 7200 rpm SCSI drives.)

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    61. Re:search the fscking google by Zak3056 · · Score: 1

      actually, you could be fscked after loosing only 2, if it were the right 2

      Yes, there is that--I did say "potential" to survive the failure of four drives. If both drives of an individual mirror pair die, it's all over. That's why we keep good backups. :)

      --
      What part of "shall not be infringed" is so hard to understand?
    62. Re:search the fscking google by Anonymous Coward · · Score: 0

      That should be Raid stands for a Redundant Array of Independent disks.

    63. Re:search the fscking google by OwnedByTwoCats · · Score: 1

      My one experience with a drive failure, it was the interface board that went out. A gopher trail on an IC on the controller board was the clue.

      Bood disk in a home machine, so it wasn't worth the $2,000 to recover the data.

      Now it's time for me to go buy some UPSs (one for TiVo, and one for each PC), and a surge protected power strip (for the cable modem, router, printers).

      Lightning strikes within 100 feet of the house leave lots of gremlins.

    64. Re:search the fscking google by Anonymous Coward · · Score: 0

      Umm... not true. You always need to reconstruct the data which was on the missing drive -- except when that data was parity data. So you will need to calculate partity for (N-1)/N of all reads.

    65. Re:search the fscking google by Anonymous Coward · · Score: 0

      That's what I've done as well. Zero HW problems. Even if you don't want to go all the way to server grade drives, if you are having the number of HW failures it sounds like even a better quality consumer drive would probably help.

      If you really want to go RAID with hot swapping, auto re-build etc. look for a surplus server RAID tower Compaq or IBM (don't forget the coprocessed RAID controller that goes with most of them).

      In either case, get a tape drive or some other removable media backup system. Get one that is convenient enough to use that you will use it (will you really sit and swap 40 CDs to do a backup? probably not). Get a media that you can get a replacement drive for, if your house burns, can yo take your tape (or whatever) to a friends house and recover the data? Can you pick up a catalog and order a drive that will read it (will you be able to in a year)?

    66. Re:search the fscking google by Anonymous Coward · · Score: 0

      Although I agree with most of your post, I don't know about this:

      however, it's far less likely to have multiple, simultaneous drive failures on the same day

      Anecdote mode on: we had a pretty significant power failure. Fried ALL HDDs in our server. (they were sent out for recovery to no avail)

      I guess what I'm trying to say is that HDD failure can certainly come from 'external factors', in which case more than one drive failing is far more likely.

      So an off-site backup is still needed, no matter what.

    67. Re:search the fscking google by Qwrk · · Score: 1

      RAID array of cheap drives (let's remember that it stands for Redundant Array of Independant Disks)

    68. Re:search the fscking google by Anonymous Coward · · Score: 0

      It was originally "inexpensive", though some modern usage puts it as "independent".

      Really, though, if you are using RAID 0, 1+0, 5, etc., then just how independent are the discs? The entire point of RAID 0 and 5 is that they are NOT independent.

    69. Re:search the fscking google by ManoMarks · · Score: 1

      If I had mod points, I'd mod you down. Every single time someone uses Ask Slashdot, there's at least one person who has the time to waste telling them they are being stupid. Most of them have the phrase "No offense" in there somewhere. If I do a Google search on something tech related, the best answers are usually in tech forums, not product web sites. That makes this a good place to ask. At very least, people can point out sites or forums where there's good information.

      --

      That's gotta fit into your schema somewhere

    70. Re:search the fscking google by Anonymous Coward · · Score: 0

      The great thing about Google is that now that this has hit /. and gotten hundreds of replies, the next time someone else searches for this on Google, they'll have a nice, thorough, Ask Slashdot article pop up with a high page rank.

    71. Re:search the fscking google by Anonymous Coward · · Score: 0

      or how about starting with using high quality drives instead of dirt cheap consumer drives with low life and warrenty lengths...

      I have had ZERO problems with my server quality SCSI drives that still have 2 years left on their 5 year warrenty.


      I gotta say, the only hard drive failures at my company in the last 3 years have been the enterprise SCSI drives with 5-year warranty. No data loss, due to a good backup strategy and raid 5 arrays with hot-spares. The servers are located in a climate-controlled clean server room. None of the cheap ide drives in the desktops have failed.

      Of course, the server arrays get nearly continuous use 24x7.

    72. Re:search the fscking google by LoocSiMit · · Score: 1

      I just got a directory listing when I went to www.fuckinggoogleit.com. So of course I went and looked in the Google cache, where I found the site tells me "Someone thinks you are an idiot because you were too stupid to check Google[...]".

      --
      Intellectual Property
      Intellectual: of the mind
      Property: that over which one has control
    73. Re:search the fscking google by Anonymous Coward · · Score: 0

      search the fscking google (Score:1, Flamebait)

      Ask Slashdot: Should Ask Slashdot be replaced with a form which queries google?

    74. Re:search the fscking google by Trejkaz · · Score: 1

      ... typical warranty on IDE drives is 3 years, not 3 months.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    75. Re:search the fscking google by Anonymous Coward · · Score: 0

      Actually, it's 1 year (used to be 3). I don't have great storage needs, but ended up buying a 120Gb drive recently to replace a dying 30Gb, just to get the greater warranty - otherwise I'd have settled for 60Gb or so...

    76. Re:search the fscking google by Dredd2Kad · · Score: 1

      Dear Anonymous Coward, Of course I searched Google, and I read a ton of information about RAID. I came to the conclusion I had several choices and I thought it wise to see what RAID level people thought was suitable for personal use. If my question were stupid and a waste of time, it probably wouldn't have been published, and it probably wouldn't have generated nearly 800 comments.

    77. Re:search the fscking google by glitch23 · · Score: 1

      If you have a problem, you remove the bad drive, replace it and reinitialize the RAID arrive.

      I assume you mean Rebuild. Someone above already said that if u reinitialize you erase everything.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    78. Re:search the fscking google by satterth · · Score: 1
      Holy crap! There are 1.5 million of us? Now I know what to say the next time a bully asks me, "You and what army?" THE SLASHDOT ARMY!!!
      Yeah, and when that bully threatens your life you can alway counter with "I'll Slashdot you"

      Let the beating commence

      --
      Being called a dork on Slashdot must be like being called the retard in special ed.
    79. Re:search the fscking google by Abundantes · · Score: 1

      Just in case you haven't stumbled across this:
      the guides/how-to's on "the linux documenation project" cover about all the basics...

      http://www.tldp.org/HOWTO/HOWTO-INDEX/os.html#OS RA ID

      the software RAID guide as about all basic information in it, with pro/con as required.

      *bows*

      --
      This is good for nothing. Ignore it or send it to the Customer Care Dept.
    80. Re:search the fscking google by Anonymous Coward · · Score: 0

      he was quoting the original post

  3. Just remember the RAID song by 192939495969798999 · · Score: 5, Funny

    RAID 0, you need a hero,
    RAID 1, is equally fun,
    but RAID 5 keeps you alive!

    --
    stuff |
    1. Re:Just remember the RAID song by Anonymous Coward · · Score: 0

      Maybe it's just me, but unless your Arnold Swartzavertunrolyiagoheiven, one doesn't rhyme with fun

    2. Re:Just remember the RAID song by strictnein · · Score: 4, Insightful

      You forgot the final four lines to that song!

      RAID 0, you need a hero,
      RAID 1, is equally fun,
      but RAID 5 keeps you alive!


      RAID 5 - better keep an extra drive
      Or you'll be down until the replacement arrives
      RAID 10 is better my friend
      Work doesn't stop when the drive comes to an end

    3. Re:Just remember the RAID song by PhuCknuT · · Score: 5, Informative

      Raid 5 runs just fine in degraded mode until your extra drive gets there. I have one right now using software raid 5 in linux with a dead member waiting to be replaced. 0 downtime or data unavailability so far.

    4. Re:Just remember the RAID song by Anonymous Coward · · Score: 0

      i've recently setup a four drive raid 5, (and spent much more than if i had just used my mb integrated 0,1 raid) i believe it'll be best in the long run, but the way these Western Digitals have been treating me, i'll need to wait 5 years to actually know. ;)

    5. Re:Just remember the RAID song by Shalda · · Score: 5, Informative

      And here's the definitions:
      RAID 0: This is a striped set, there is no redundancy. One drive goes, everything's gone. Useable space = 100%
      RAID 1: This is a mirrored set. Typically this involves 2 drives. One drive is an exact copy of the second. If a drive fails, you replace it and rebuild the set. Life goes on. Useable space = 50%. Most IDE raid cards only support RAID 0 AND 1.
      RAID 5: This is a striped set with parity. You get the performance associated with a striped set. Particularly on reads. If you have 4 drives, there are 4 stripes. 3 of those stripes are data stripes, the 4th is parity. Lose 1 drive and the parity information is used to rebuild the set. Useable space = (n-1)/n. To do this in hardware is typically fairly expensive.

      There's a lot of hardware solutions out there. It can also be done in software. Windows supports creating disk sets in software. Other options include the purchase of a Snap! server, or other brand of NAS. If you've got a little $ to throw around, NAS is the way to go. Plug it into your network, minimal setup, and your off and running. Not very upgradeable, and somewhat problematic if your drive does actually die, but I use them at the office for a zero maintenence file server.

    6. Re:Just remember the RAID song by strictnein · · Score: 1

      i know... but I've seen some ugly performance hits that make you almost wish the whole thing was down. I guess it all depends on hardware (as does pretty much everything else)

    7. Re:Just remember the RAID song by Short+Circuit · · Score: 2, Informative
    8. Re:Just remember the RAID song by TheBurningDog · · Score: 1

      just hope that another drive doesn't fail in the meantime

    9. Re:Just remember the RAID song by PhuCknuT · · Score: 1

      Well that's a problem with any raid level. Although with raid 10, you do have a chance of surviving a second failure.

    10. Re:Just remember the RAID song by Anonymous Coward · · Score: 0

      Maybe it's just me, but unless your Arnold Swartzavertunrolyiagoheiven, one doesn't rhyme with fun

      You're a fucking idiot.

      She's a wild wild one
      And she likes to have fun
      She's a wild one
      Yeah, she's a wild one

      -- Dire Straits

    11. Re:Just remember the RAID song by nacturation · · Score: 2, Informative

      RAID 5 - better keep an extra drive
      Or you'll be down until the replacement arrives


      Um, really? Software RAID 5 does require downtime, but hardware implemented RAID 5 allows for hot swapping out of the bad drive, assuming you have a decent controller card.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    12. Re:Just remember the RAID song by Ian+Wolf · · Score: 1

      1. RAID 5
      2. dead member
      3. software RAID

      I'd consider any two of those three to cause serious performance degradation. Hope you don't lose another drive.

      --
      "The words of the prophets are written on the Slashdot walls."
    13. Re:Just remember the RAID song by stanmann · · Score: 1

      I lost a unit from my RAID 5 (PROMISE SX4000 controller 4x120GB) and didn't notice a performance hit) I was still able to stream video over my network and use the storage until the replacement showed up... Of course, I was using IBM/Hitachi 120GB drives and when the replacement 120 GiB drives showed up I had to figure out how to do a backup and rebuild, but... thats a different story.

      --
      Food not Bombs is a nice platitude but it breaks down when you notice that the Bombees are usually well fed
    14. Re:Just remember the RAID song by the_consumer · · Score: 1
      It's just you.

      one

      fun

      Note the pronunciation key.

      --
      "If you're thinking what I'm thinking, you're right." -
    15. Re:Just remember the RAID song by peacefinder · · Score: 1

      Is it just me, or does "so far" sound like foreshadowing?

      --
      With reasonable men I will reason; with humane men I will plead; but to tyrants I will give no quarter. -- William Lloyd
    16. Re:Just remember the RAID song by SensitiveMale · · Score: 1

      RAID 5 - better keep an extra drive
      Or you'll be down until the replacement arrives


      No you won't.

      That is the point of RAID 5.

      The RAID 5 controller will create the correct data and send it.

      That is the reason there is a parity drive.

    17. Re:Just remember the RAID song by Fjord · · Score: 1

      they both link to one.

      --
      -no broken link
    18. Re:Just remember the RAID song by loxosceles · · Score: 1

      No; it's possible in linux to get the scsi controller to rescan the bus and get mdadm to accept the new drive into the array -- all without rebooting.

      Of course, if your hardware isn't hotswap (SCA scsi), the hardware may have problems and that may crash or destroy your controller, which may crash or destroy your computer, but oh well.

    19. Re:Just remember the RAID song by the_consumer · · Score: 1

      My bad. Anyhow, trust me, they rhyme.

      --
      "If you're thinking what I'm thinking, you're right." -
    20. Re:Just remember the RAID song by Halvard · · Score: 1

      Bollocks. Always have at least one spare drive with RAID 5. A client's colo'd box had 2 drives go at the same time. Blech. No degraded mode then. Then were backing up nightly fortunately so they lost only about 12 hours.

    21. Re:Just remember the RAID song by Anonymous Coward · · Score: 0

      We lost a disk in our (very expensive) EMC RAID 5 system recently, and I/O slowed to a crawl.

      Mind you, that's with heavy database action on the array. On a PC with loads of porn, it ain't gonna matter much.

    22. Re:Just remember the RAID song by Anonymous Coward · · Score: 0

      A spare won't help when 2 go at once.

  4. RAID -1 by Mz6 · · Score: 4, Informative

    I would choose RAID-1.. because RAID Level 1 provides redundancy by writing all data to two or more drives. The performance of a RAID-1 array tends to be faster on reads but slower on writes when compared to a single drive. However, if either drive fails, no data is lost. This is also a great entry-level starting point as you only need 2 dirves. The downside is the cost per MB is high in comparison to the other levels. This level is often referred to as disk mirroring.

    --
    Hmmm.
    1. Re:RAID -1 by pgregg · · Score: 1

      Yep, I've only just built a new intranet server for a client. A Dell PE 1600SC with 4 x 120GB IDE drives.

      I setup 2 x RAID 1 logical drives. And installed the system onto one of these.

      Then at weekends I'll be running
      dd if=/dev/amrd0 of=/dev/amrd1 bs=512000

      which will make a perfect image of the first logical drive to the second.

      This gives me (or them) raid1 protection on the normal system.
      Active backup for a week to recover anything that they delete by accident.
      If two drives fail in the active raid1, no worries - the other raid set is a perfect mirror, partitions and all and can be swapped in to replace the first set.

      Of course the downside is that they only get 1/4 of the possible capacity. This is replacing an old 10Gb system, space isn't a requirement - data protection is.

  5. Raid 1 by Anonymous Coward · · Score: 0

    Raid 1 needs only 2 drives but will only give you the capacity of 1 drive. i.e. 2 80 gigs will give you 80 gigs of space.

  6. RAID 1.... by jsimon12 · · Score: 1, Interesting

    I just got x2 250gig drives and mirrored them.

  7. RAID 5 or RAID 10 by strictnein · · Score: 5, Informative

    Try RAID 5 or RAID 10 (not to be confused with RAID 0+1). This site has a nice overview of all the RAID options. And, of course, Wikipedia has some info.

    Quick overview:
    RAID 5 - Requires at least 3 HDs (many times implemented with 5 - can be used with up to 24 I believe). Data is not mirrored but can be reconstructed after drive failure using the remaining disks and the parity data (very similiar to how PAR files can reconstruct damaged/missing RAR files for the Newsgroup pirates out there). % of total space available dependent on number of drives used.

    RAID 10 - High performance, but expensive. You get ~50% of the total HD space as it is fully mirrored. So, 1 TB total disk space nets you 500 GB total storage space. Your data is mirrored so if one drive fails you do not lose everything. However, if you experience multiple drive failure you can be in big trouble.

    1. Re:RAID 5 or RAID 10 by Ian+Wolf · · Score: 1

      Hey, nice links. I never realized that 10 and 0+1 were different. A very subtle difference, but a difference none the less.

      At home, I run 0+1 on my file server, which is the best my onboard RAID controller can handle. I've never been a big fan of RAID 5 and given that most 'cheap' RAID controllers don't support it has always pushed me to RAID 1 or RAID 0+1.

      --
      "The words of the prophets are written on the Slashdot walls."
    2. Re:RAID 5 or RAID 10 by harryk · · Score: 4, Informative

      Depending on your setup, RAID-10 can be extremely reliable, especially in a multi-drive failure scenario.

      Specifically the setup is as follows

      1 == 2
      3 == 4
      5 == 6
      7 == 8

      Setting up a RAID in this way will allow you to experience multiple drive failures while still keeping the raid alive. The most detremental in this scenario is if you lose two drives on the same deveice. Meaning if you lost drives 1 & 2 you expereince a more of a problem as opposed to losing drive 1 & 4.

      Just my 2 cents, poke holes where necessary

      --
      think before you write, it'll save me moderator points.
    3. Re:RAID 5 or RAID 10 by Lead+Butthead · · Score: 2, Informative


      Quick overview:
      RAID 5 - Requires at least 3 HDs (many times implemented with 5 - can be used with up to 24 I believe).



      I don't believe the actual standard restrict the number of members a RAID 5 array can have, although generally each additional drive beyond 8 gives you diminished return.


      Data is not mirrored but can be reconstructed after drive failure using the remaining disks and the parity data (very similiar to how PAR files can reconstruct damaged/missing RAR files for the Newsgroup pirates out there). % of total space available dependent on number of drives used.


      Data is XOR'ed across all members - 1, and result "parity" deposited in one of the members, the following is one example...

      D0 D1 P0 :Stripe 0
      D2 P1 D3 :Stripe 1
      P2 D4 D5 :Stripe 2 ...

      --
      ELOI, ELOI, LAMA SABACHTHANI!?
    4. Re:RAID 5 or RAID 10 by bhtooefr · · Score: 1

      Hmm, so RAID 10 is a RAID 1, and then that RAID 1 copied to a RAID 0? That's what it looks like to me...

    5. Re:RAID 5 or RAID 10 by 3terrabyte · · Score: 1
      I'm sure it depends on your definition of cheap. I suppose if one considers the embedded RAID chips on motherboards as $0.00, that's true.

      But I think $179 is pretty cheap for an 8-channel RAID controller.

      (Supported RAID Levels RAID 0, RAID 1, RAID 5, RAID 10, JBOD)

      --

      Why are there only 19 people folding@home for slashdot?

    6. Re:RAID 5 or RAID 10 by Anonymous Coward · · Score: 0

      RAID 5 is likely to have the best read performance of all RAID levels. The real problem is small writes. To write a block, you also need to write the parity block to another disk. But to calculate this, you need to read in the data blocks from all the other disks in the set. For a 5 disk RAID 5, this means 1 Write (actual data) + 4 reads + 1 write (parity), 500% more I/O time than a single disk. For large writes (over N * blocksize), this isn't as bad, as the parity is calculated in memory (you are writing full stripes)

      In software, RAID5 is so slow as to be not usable. For low-end disk arrays, the implementation is usually so bad that you are better off paying for the extra disk and going with RAID 10. This is usually cheaper than a good R5 implementation (CLARiiON, Sym, HDS, or CPQ)

      For video/streaming applications, RAID 5 and RAID 3 have similar performance. (in fact, RAID 3, 4, and 5 are basically the same, just placing the parity differently).

      For a home machine, Raid 1 or 10 are your best choices. Personally, I clone my HD to an external FireWire drive every few days. Fast, and if a virus/configuration problem/worm wipes out my machine, I just need to swap the drive (rather than having two, mirrored, corrupt copies.)

    7. Re:RAID 5 or RAID 10 by Ian+Wolf · · Score: 1

      For an enterprise application, $179 is dirt cheap. To store my MP3's, pictures, docs, etc its not exactly cheap. Even if you factor in the full price of my motherboard ($80), its still $100 less than a good RAID controller capable of RAID 5. When you would like to get a new TV or replace the tile in the bathroom, $179 is too much for home data storage.

      That being said, I think I might pick one up for my workstation. :)

      --
      "The words of the prophets are written on the Slashdot walls."
    8. Re:RAID 5 or RAID 10 by agallagh42 · · Score: 1

      RAID 10 is sometimes written as raid 1+0, which is different from 0+1. Basically, it's the order that the RAID system is applied. Do you mirror first, then stripe, or the other way around?

      --
      Carpe Cerevisi - Seize the Beer
    9. Re:RAID 5 or RAID 10 by Anonymous Coward · · Score: 0

      No, that would be RAID 0+1.
      RAID 10 is a mirrored RAID 5 set. So in the scenario

      1 = 2
      3 = 4
      5 = 6
      7 = 8

      if both 1 and 2 failed all the information could be restored because 3, 5, and 7 contain everything needed to restore 1. Even if 1, 2 and 3 failed, everything could be restored from 4, 5, and 7 (or 4, 6, and 8 for that matter). So the parent poster was wrong. One gets even less than 50% usable space but it's extremely reliable.

    10. Re:RAID 5 or RAID 10 by AlanWay · · Score: 1

      Raid 0+1 is a mirrored stripe
      Raid 1+0 (usually called raid raid 10) is a striped mirror, and is only usefull for 4+ drives.

      For e.g.
      Raid 0+1
      1 2
      |=|
      3 4
      so, disks 1 & 3 are striped, as are disks 2 & 4. Then 1-3 and 2-4 are mirrored.

      Raid 1+0
      1=2
      |
      3=4
      Disks 1&2 are mirrored, as are 3&4, then 1-2 and 3-4 are striped.

      Raid 0+1 and 1+0 are similar in performance, good for reads, good for writes, the gain is in redundancy when a 2nd drive fails. If, for e.g., disk 1 dies:

      In raid 0+1 the whole thing fails if disks 2 or 4 dies. (Disk 1 dies, disk 3 is also dead because of the stripe)

      In Raid 1+0 the whole thing dies only if disk 2 also dies.

      Theres a good description at: http://www.ofb.net/~jheiss/raid10/

    11. Re:RAID 5 or RAID 10 by 3terrabyte · · Score: 2, Insightful
      What exactly are you using in your RAID? A bunch of old 12GB drives you found for free?

      Give me a break, your argument is worthless when the costs of very reasonable hard drives are in the range of $100 each. (200GB drives for $101 at pricewatch). To even consider RAID-5 you would have be wanting to do this with a minimum of 3 drives. Probably more. 3 drives comes to $300.

      If this is getting too rich for you as your post seems to claim, you shouldn't be even talking about RAID-5. Not because of the price of the controller card, but because of the cost of the hard drives alone.

      "To store my MP3's, pictures, docs, etc its not exactly cheap"

      Get a fucking CD-R burner then!

      --

      Why are there only 19 people folding@home for slashdot?

    12. Re:RAID 5 or RAID 10 by jregel · · Score: 1

      A more accurate way would be to think of RAID10 as a RAID0 (stripe) of RAID1 (mirrored) disks.

      RAID0+1 is two (or more) RAID0 stripes that are mirrored.

    13. Re:RAID 5 or RAID 10 by Anonymous Coward · · Score: 0

      Holy shit, what an obnoxious jackass. And you couldn't even spell "terabyte" in your username! What a fucking moron. Go do us all a favor and die.

    14. Re:RAID 5 or RAID 10 by 3terrabyte · · Score: 1

      My name is Terry. Take it up with my parrents.

      --

      Why are there only 19 people folding@home for slashdot?

    15. Re:RAID 5 or RAID 10 by Ian+Wolf · · Score: 1

      I'm running 4 Western Digital 80GB 2MB Cache drives in a RAID 0+1. I already had the drives and the RAID controller. Throwing them out, purchasing a $179 RAID controller and then replacing the hard drives with SATA drives didn't really seem economical. Instead I went out and spent that $200 on a DVD burner and do backup all that stuff to DVD, BUT it makes it a pain in the ass to dig out the DVD when I can keep it relatively safe on a rather inexpensive RAID array.

      Also, my argument was NOT to use RAID 5 simply because its a little more expensive to implement for most home users. 70% of the motherboards on the market have built-in RAID functionality for RAID 1 at the bare minimum. This is clearly a better (aka economical) solution than going out and buying a dedicated RAID controller for the home.

      --
      "The words of the prophets are written on the Slashdot walls."
  8. raid and ide channels by TheCoop1984 · · Score: 5, Informative

    Whatever you do, never have more than one disk on an ide channel. Only one disk per channel can be written to at the same time, so you will get absolutely horrible performance if you get more than one hd per channel. If possible, get an ide raid card (if you can afford it) or a SATA card/mobo and drives, which dont have this problem

    --
    95% of all computer errors occur between chair and keyboard (TM)
    1. Re:raid and ide channels by Short+Circuit · · Score: 1

      Could you put one drive each at the master setting of the primary and secondary channels, and have another controller for CDROM/DVD/ZIP/etc?

    2. Re:raid and ide channels by vadim_t · · Score: 1

      Just one thing to add to that: Having more than a drive on the same cable can be dangerous as well. I had problems when a misbehaving drive would also cause problems with another that was perfectly good, just on the same cable.

    3. Re:raid and ide channels by TheFlyingGoat · · Score: 2, Informative

      An ideal solution, although it's somewhat expensive, is to do SATA RAID. Adaptec has a controller card that is excellent for this and runs about $330. Then you'll need some SATA hard drives. The card can do RAID-0, RAID-1, RAID-5, and RAID-10, so you still have flexibility that way. If you can afford it, do it.

      --
      You have enemies? Good. That means you've stood up for something, sometime in your life. --Winston Churchill
    4. Re:raid and ide channels by brandon · · Score: 1

      My goal is disk space. I currently run raid 0 off of an ide pci card on 2 drives, both as the only drive on each channel (masters). I bought 3 more disks and will be doing raid 5, including having 2 drives per channel. Right now I can write 13MB/s which is enough. By going to more than 1 drive per channel your bandwidth should not be any less, and maybe if you're lucky a little bit more since ATA 100 should be able to do more than 13MB/s a second. I believe the drives are the bottleneck (Even though mine are 7200 8MB cache), but don't expect twice the bandwidth. One also should never run an ATA 33 drive with an ATA 100 (basically if it's not the same ATA) on the same channel. Both devices will run at the speed of the slowest one.

      I also recommend JFS. It's a religious battle but I deal with 20+GB files (HDTV). JFS has given me the best results for being able to manage large files (deleting, moving, etc). CPU usage is low for accessing the FS. Next I'd reocommend XFS.

    5. Re:raid and ide channels by 3terrabyte · · Score: 1

      Yes, you can do whatever you want with other controller cards.

      --

      Why are there only 19 people folding@home for slashdot?

    6. Re:raid and ide channels by molotov303 · · Score: 1

      I would stay away from the Adaptec SATA Raid card. I bought one and it would quitely corrupt data. Every time I wrote a file to the disk, at least a few bytes would be corrupt.

      I figured it was a bad card, so I sent it back, got a new one, and got the same results. I also cycled out the hard drives, so it wasn't a bad drive causing the problem.

      Stay away from the Adaptec 2410SA!!!

    7. Re:raid and ide channels by Anonymous Coward · · Score: 0

      Troll!!!

      Return in your cave where you belong

    8. Re:raid and ide channels by Anonymous Coward · · Score: 0

      That's a case of having a broken IDE controler or a bad cable. Cheap (consumer) IDE controlers seem to have this problem, though.

      (not trying to be condesending: my largest system (though with non-mission-critical data (pr0n)) with 4/5 TB has a buggy IDE controler with the same problem)

    9. Re:raid and ide channels by the_hose · · Score: 1

      On that same note, pay careful attention to what bus the disk controller is hanging off of.
      This is not an issue if you're using a hardware RAID implementation, but it will make or break software RAID performance (which can, in most cases, beat the pants off of PCI card solutions if done correctly).

      If you have several cheap-ass ATA adapters hanging off of the same PCI bus, that PCI bus can quickly become your bottleneck (regardless of how many drives-per-channel). Sometimes splitting a group of RAID disks among PCI-attached adapters and mobo-integrated IDE channels (particularly in cases where an additional pair of IDE channels has been added for on-board RAID) can render this moot. Not all on-board IDE & RAID solutions are attached in the same manner, so do your homework first; but it's worth checking out if you have RAID units incorporating more than a couple drives.

      With this in mind, a software RAID5 setup can perform quite well, and adding drives will only improve the cost-effectiveness and performance...

  9. Hardware by DaveKAO · · Score: 3, Funny

    Wow inexpensive & reliable... Those are two words you don't see together too often.

    1. Re:Hardware by Anonymous Coward · · Score: 0

      Naw you can have those two, it just means it'll be slow.

    2. Re:Hardware by Anonymous Coward · · Score: 0

      No wonder he's suffered through so many HD failures.

    3. Re:Hardware by Binestar · · Score: 2, Insightful

      Wow inexpensive & reliable... Those are two words you don't see together too often.

      "Good, Fast, Cheap: Pick any 2."

      --
      Do you Gentoo!?
    4. Re:Hardware by tool462 · · Score: 1

      He must be in marketing :)

    5. Re:Hardware by PhuCknuT · · Score: 1

      That's the whole point of raid (at least it used to be). You make up for the unreliability of the cheap drives by making them redundant.

      RAID is an acronym for Redundant Array of Inexpensive Disks.

    6. Re:Hardware by tntguy · · Score: 0

      The vendor of our SAN keeps trying to sell us their "tier 1" drives -- at $1700 for a 143gig drive. We've tried explaining what the "I" in RAID means, but they don't get it. Unfortunately, we're kind of stuck with them so we have very few spare drives laying around.

      OT: Anyone have any good stories to give the boss so we can get some Xserver RAIDs? The sysadmin won't even consider it because it's not SCSI. Grrrrr.

    7. Re:Hardware by thebra · · Score: 1

      Or Redundant Array of Independent Disks (yours makes more sense) LINK

    8. Re:Hardware by PhuCknuT · · Score: 1

      Yeah alot of people say independant now, but originally it was inexpensive.

    9. Re:Hardware by FueledByRamen · · Score: 1

      XServe RAID is fibre channel, which is basically SCSI spoken over a serial link (well, switch IDs for WWNs, add fabric support, stuff like that, but still SCSI). Try to convince him based on that. Tell him it's like the difference between using 10base2 and 10baseT - same protocol you've grown accustomed to, different physical medium.

      Or hide his body under the false floor after taking over his job. Whichever works.

      --
      Every cloud has a silver lining (except for the mushroom shaped ones, which have a lining of Iridium & Strontium 90)
  10. Raid-1 & Plan 9 by Cyclotron_Boy · · Score: 1, Troll

    I hear good things about this combination.

    1. Re:Raid-1 & Plan 9 by Hard_Code · · Score: 2, Funny

      By my calculations that gets you either:

      Plaid 10
      Pain 10

      Neither sound good.

      --

      It's 10 PM. Do you know if you're un-American?
  11. Raid 1, 0+1, or 5.. by XaXXon · · Score: 3, Informative

    Your good options are raid 1, raid 0+1, or raid 5, depending on what you want..

    Raid 1 is the safest.. just mirroring the drives, but it results in no speed increase..

    Raid 0+1 does mirrored stripe sets -- you get the speed advantages of raid 0 with the full protection of raid 1.

    Raid 5 is good middle ground. Raid 5 stores 1 drive's worth of parity. When you lose a drive, your system goes down (if you don't have a hot spare), but you throw another disk in and it'll come back up. You also get some speed increase over a normal drive setup. With RAID 5, you only lose a single drive's worth of capacity no matter how many drives are in your array, whereas with raid 1, you lose 50%.

    1. Re:Raid 1, 0+1, or 5.. by lsoth · · Score: 2, Informative

      Correction... The failure of a drive in a RAID-5 array does not result in system failure. The array works in a degraded state until the drive can be replaced or the hot-spare is rebuilt (if available).

      It is able to work in degraded state by using the parity information to re-build the data from the failed drive on the fly.

      --
      ... [Insert decent Sig] ...
    2. Re:Raid 1, 0+1, or 5.. by CerebusUS · · Score: 2, Informative

      Raid 5 is good middle ground. Raid 5 stores 1 drive's worth of parity. When you lose a drive, your system goes down (if you don't have a hot spare), but you throw another disk in and it'll come back up

      Actually, with any proper implementation of RAID 5 you wouldn't lose functionality during a single drive failure, but you would suffer a performance hit because every read would require the drive controller to reconstruct the missing data from the checksums.

      Replace the bad drive very quickly, though, because a second drive failure will result in wiped drives, effectively.

    3. Re:Raid 1, 0+1, or 5.. by Anonymous Coward · · Score: 0

      With RAID 5, you get faster reads, but slower writes. (since it has to read the parity drive's current data, read the current data drive's data, write the new data, and write the newly calculated parity. I think.)

    4. Re:Raid 1, 0+1, or 5.. by afidel · · Score: 3, Insightful

      RAID 0+1 sucks, it can only sustain a single drive failure. RAID 10 (1+0) can sustain multiple drive failures without data loss under the right circumstances. The cool thing about RAID 10 is that you can use a pair of mirrored drive sets and use software to do the striping at near zero cost and you get controller redundancy! (most people who do RAID 10 will use the built in RAID1 controller and an addon two port RAID controller)

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    5. Re:Raid 1, 0+1, or 5.. by Eye+of+the+Frog · · Score: 1

      Your system won't go down when you lose a drive. You can run without the extra parity drive. But if you lose another drive whie running like that, you're pretty much toast.

      --
      "Sexy Man" is not a moderation option. -- arose
    6. Re:Raid 1, 0+1, or 5.. by rkuris · · Score: 1
      Raid 1 is the safest.. just mirroring the drives, but it results in no speed increase..

      This is actually not true. There is a reduction in performance for writes (twice as much data must go through the bus), but if you primarily do reads, the load is supposed to be divided among the two drives. You don't need to read from both drives to verify the data is correct!

      Since most webservers are mostly-read and some-writes, you often see good gains with RAID 1.

      --
      Get rid of everything Micro and Soft: Buy Viagra and/or Linux
    7. Re:Raid 1, 0+1, or 5.. by Anonymous Coward · · Score: 0
      When you lose a drive, your system goes down (if you don't have a hot spare), but you throw another disk in and it'll come back up.

      If a drive in a RAID 5 array goes down, the array is marked critical but will still operate as normal. The system does not go down or halt or anything like that. Everything will continue working like normal. But if one more drive is lost, all datta is lost...
    8. Re:Raid 1, 0+1, or 5.. by Karrde712 · · Score: 3, Informative

      Your assertion about RAID-1 is not precisely true. If the RAID controller is designed well, and the driver supports it, you can get almost the same read speed enhancement of RAID-0.

      Example: two SATA drives
      RAID-0: Write Speed: 2x, Read Speed: 2x
      RAID-1: Write Speed: 1x, Read Speed: 2x

      Basically, when doing a write, the driver can use the same buffer and stream the write data to both drives synchronously meaning no slowdown. A proper read driver will read alternate chunks simultaneously from the two drives, resulting in a 2x speed improvement on the whole.

      The obvious downside to the Mirroring setup is that you only have half of your total space available for use.

      --
      You may treat all information submitted above as wild speculation.
    9. Re:Raid 1, 0+1, or 5.. by Karrde712 · · Score: 1

      Correcting my own post: I incorrectly used the term "synchronously" when I meant "simultaneously".

      --
      You may treat all information submitted above as wild speculation.
    10. Re:Raid 1, 0+1, or 5.. by ari_j · · Score: 1

      At my alma mater, the server storing all student, faculty, and staff e-mail went down for a while. Later on, we found out that the reason it went down was that their RAID-5 array had a drive die but they either didn't notice or didn't care, because the system was still working, and several weeks later a second drive died. Don't be that guy.

    11. Re:Raid 1, 0+1, or 5.. by Bronster · · Score: 1

      Actually, with any proper implementation of RAID 5 you wouldn't lose functionality during a single drive failure, but you would suffer a performance hit because every read would require the drive controller to reconstruct the missing data from the checksums.

      My personal server has 5 disks with 4 set up as a RAID5 and the extra a hot spare. I've successfully pulled one of the disks and watched the hot spare spin up, then plugged it back in the next day and watched it rebuild, followed by the hot spare spinning back down.

      Nice :)

    12. Re:Raid 1, 0+1, or 5.. by barawn · · Score: 1

      There is a reduction in performance for writes (twice as much data must go through the bus)

      That's also not true. Since the bus speed typically is much higher than the drive's actual sustainable data speed, RAID1 in hardware generally doesn't show any performance degradation from writes, unless you have extremely, extremely fast drives on a slow bus. On a dual-channel ATA RAID solution, fundamentally this doesn't have to cause any slowdown, as one write command issued to the controller simply becomes a write on each of the attached channels, at the same time.

      In software RAID all it really does is up the CPU usage.

      You can see the recently reported Tech Report article on SATA RAID here. Write for RAID 1 and write for single disk are pretty much identical. Read is higher for RAID1. Write for RAID 0 is, of course, much higher, as you multiplex the latencies for different stripes.

    13. Re:Raid 1, 0+1, or 5.. by rkuris · · Score: 1

      I agree that there is not much performance loss in writes, but there is still SOME performance loss. This is particularly true when you use two drives with different specs. The faster drive is going to have to wait for the slower one. Or if the drives are different sizes and you use some portion of the other drive for something.

      --
      Get rid of everything Micro and Soft: Buy Viagra and/or Linux
    14. Re:Raid 1, 0+1, or 5.. by swv3752 · · Score: 1

      And many cheap raid controllers do not implement raid 0 well so there is not a double speed boost. In a few benchmarks, Raid 0 was outperformed by both Raid 1 and single drives.

      --
      Just a Tuna in the Sea of Life
    15. Re:Raid 1, 0+1, or 5.. by haplo21112 · · Score: 1

      Umm...this has been mis-stated several times and I feel compeled to comment an clear it up if you have a RAID 5 and one drive in the array your system does NOT go down...a hot spare is not absolutely required.

      If you loose a drive the controller, or software if your doing software makes up for the loss of the drive by calculating the missing information. This same firmware/software is what puts the information back when the new drive is installed to the array, again bu calculating what the missing data is from the available data.

      We have had from time to time to run a server for a day or more with a failed drive in the array while a replacement was procured. there is a performance hit, but your not down during this time.

      --
      Power Corrupts,Absolute Power Corrupts Absolutely, leaving one person(group)in charge is absolutely corrupt.
    16. Re:Raid 1, 0+1, or 5.. by RedWizzard · · Score: 2, Informative
      Example: two SATA drives RAID-0: Write Speed: 2x, Read Speed: 2x RAID-1: Write Speed: 1x, Read Speed: 2x
      You are unlikely to get double read performance from a RAID 1 setup. It's theoretically possible, but in practice it doesn't happen (take a look at the recently posted review at Tech Report). It's actually easier to get good performance with RAID 1 using software RAID as the OS is in a much better position to schedule reads efficiently than a RAID controller.
    17. Re:Raid 1, 0+1, or 5.. by Nahor · · Score: 1

      You don't want to use RAID 0+1 (aka 01) you want RAID 1+0 (aka 10).
      See my other post

    18. Re:Raid 1, 0+1, or 5.. by RedWizzard · · Score: 1
      Raid 0+1 does mirrored stripe sets -- you get the speed advantages of raid 0 with the full protection of raid 1.
      RAID 10 is a better choice than RAID 0+1.

      With RAID 0+1 if you lose a disk (assuming the common 2x2 setup) you are down to using a RAID 0 array. Lose a second disk and you're dead. When you put in a replacement disk you generally have to remirror the entire remaining RAID 0 array (some controllers may be smart enough to just rebuild the new drive, but certainly not all).

      With RAID 10 (striped mirrors) you can lose a disk from each mirror (so generally 2) without losing the array. Pop in a new disk and just rebuild that mirror. If you are unlucky and lose both disks from a particular mirror you're screwed, but there's not much you can do against that sort of luck.

    19. Re:Raid 1, 0+1, or 5.. by barawn · · Score: 1

      I agree that there is not much performance loss in writes, but there is still SOME performance loss.

      A properly designed ATA RAID controller will have no performance loss at all. The writes will simply be cloned at the RAID controller and go across the individual busses simultaneously. From the OS perspective, it has issued only one write. From the drive's perspective, the situation is identical to a single-drive situation (as each channel is only loaded with 1 drive).

      With more complicated solutions (mismatched drives, non-full RAID solutions) of course you're going to have performance loss - however, in those cases you may still get a performance loss in any RAID situation. Specifically if you've got non-full RAID solutions, RAID0 can still even slow down as compared to a single isolated drive, as you could clash with requests for the non-RAID portion whereas in the independent drive case, you never would.

      However, the real world implications are few: RAID1's write performance is almost always identical to single-drive, and its read performance is about 20-30% higher than single drives.

    20. Re:Raid 1, 0+1, or 5.. by TopherC · · Score: 1
      RAID 0+1 sucks, it can only sustain a single drive failure. RAID 10 (1+0) can sustain multiple drive failures...

      So, 1+0 is better than 0+1? Well there goes algebra. My education is already obsolete!

      (For some reason non-commutativity scares me more than 1+0 = 10.)

  12. hmm by guitarded · · Score: 0

    Couldnt all of this been answered by just reading over each type of RAID?

  13. Try netcell raid xl by Anonymous Coward · · Score: 1, Informative

    the controller is a little expensive, but it doesn't have the same performance loss as raid 5 cards.

    Can get a 3 drive or 5 drive card.

    I've got 5 200 Gb drives in a raid xl array and it works great.

    1. Re:Try netcell raid xl by Anonymous Coward · · Score: 0

      I saw they had made a new OEM card that have the RADI controller on it and you can connect it to any ide/sata/usb/firewire controller and it acts like one drive. Simple and neat.

  14. Which RAID by unts · · Score: 1

    RAID 1 for if a drive fails.

    RAID 1 + 0 - same as above but with speed benefits

    RAID 5 - Costly, write performance takes a hit but reads are good.

    IMO these are the only ones that should be considered. I'm sure somebody will elaborate on the theory behind them...

    1. Re:Which RAID by swv3752 · · Score: 1

      Raid 10 or 0+1(they are subtly different in how the mirroring and striping happen) only garuntees redundacy if a single drive fails. If more than one drive fails, the whole array can be lost, depending on what stripe set goes. This form of Raid is a combo of both 0 and 1.

      Raid 0 often does not have the speed benefits it should have based on theory.

      Raid 1 is basically doing a continous ghost backup of a drive to another drive with the benefit of getting faster reads. It is my recommendation, particularly if the setup is using cheap IDE or SATA drives.

      Raid

      --
      Just a Tuna in the Sea of Life
  15. Re:Second poast by Fooby · · Score: 3, Funny
    Moderate this one "redundant."

    *ducks*

  16. Old PC + 4 channel raid controller = easy by patniemeyer · · Score: 5, Informative

    I went through this last year and here's what I came up with for the best benefit to cost ratio with the lowest hassle. In short, take an old PC and put a four channel raid controller card in it to do RAID 5. Add a big extra fan for safety and you're done.

    Here's what I came up with: Total cost about $1200 (probably less by now).

    0) Red Hat Linux, ext3 filesystem.
    1) 3Ware Escalade 7506-4LP card (64 bit card, but fits in 32bit slot)
    2) 4x 250Gb Western Digital drives
    3) Big fan.

    At RAID 5 This yields 750gigs (715Gb after crappy GB conversion).

    The 3Ware software has a nice web monitor interface and does daily or weekly integrity checks. It emails me if there is a problem - I did have one drive die already and replaced it easily.

    Pat Niemeyer
    Author of Learning Java, O'Reilly & Associates

    1. Re:Old PC + 4 channel raid controller = easy by Anonymous Coward · · Score: 1, Informative

      I'll second this. I recently put together a 3Ware solution. 8 250G SATA drives, 8 removeable drive trays with fans, 3Ware 8 port SATA controller, 4U rackmount case with 480W powersupply. I resused an old P3-400 mb/ram and DVD drive, since performance wasn't a factor (it's still faster than the 100MB lan). Installed Gentoo Linux on it. I use 7 drives in RAID5, with the 8th drive as a hot spare, so the RAID will rebuild automatically if a drive fails. This yields 1.5TB (roughly 1.36TB after base10 to base2 conversion) at a cost of roughly $2700. I spent that much for my first 486 system, without adjusting for inflation since then. I've since added a 1500VA (950W) UPS to the system for extra protection.

    2. Re:Old PC + 4 channel raid controller = easy by Agripa · · Score: 1

      I agree with the 3ware RAID controller recommendation.

      If you just need to protect a single drive worth of data then two drives in a RAID 1 configuration using one of the many motherboard (Silicon Image, Promise, Intel) or even software/driver solutions is probably the way to go. I do this on all of my systems where downtime would be too expensive. If needed, the cheapest 2 drive 3ware controller costs just over $100 and being hardware RAID you can boot from it.

      If you need more storage then a single drive will supply and do not mind slow write speeds, the slightly more expensive 4 drive 3ware controller will do hardware RAID 5 with no problem.

      There are a couple of other companies producing relatively inexpensive hardware RAID controller cards for ATA drives including Promise which you may want to look into also.

    3. Re:Old PC + 4 channel raid controller = easy by Anonymous Coward · · Score: 0

      2) 4x 250Gb Western Digital drives

      crap that must be a loud ass system. WD's are loud as hell. I hate those fuckers

    4. Re:Old PC + 4 channel raid controller = easy by Pete+Brubaker · · Score: 1

      I also agree. I have a 7506-12 running a RAID 5 array with 6 SAMSUNG SP1614N 160.04GB drives. This produces an array of approximately 800.20gb with a size of 734GB after GB to real GB conversion.

      [user@XXXXXX user]$ df -h
      Filesystem Size Used Avail Use% Mounted on /dev/hda2 6.7G 2.0G 4.4G 31% / /dev/hda1 99M 14M 80M 15% /boot
      none 251M 0 251M 0% /dev/shm /dev/sda1 734G 186G 511G 27% /home

      I also have the data stored here mirrored in several other locations for even further redudnacy.

      I have been extremely pleased with the 3ware drivers and hardware. The web monitor stuff is a novelty; I hardly ever use it.

      --Pete

      --
      What's a sig? Pete Brubaker
    5. Re:Old PC + 4 channel raid controller = easy by patniemeyer · · Score: 3, Informative

      A few more things -

      1) The raid card is well worth the $200 - it will all just work out of the box, looking like one big disk. I forgot to install the 3ware drivers on my first pass and the raid still set up and worked just fine out of firmware - the monitor just wasn't there. Don't mess with software... just buy the card.

      2) Put it in the basement! It's always cooler down there... and a little noise won't matter. Temperature is the key to the life span of disks.

      3) Also - it's really important that you churn through the data on a regular basis so that the raid can detect bad sectors and repair them in a timely matter or warn you of impending disk failure. The 3ware software does this automatically... but regular backups would accomplish the same. I'm a bit torn on how much reading through the data to do, since I don't use my raid heavily and the read cycle is actually the largest usage... If I overdo it I'm probably shortening the life of the disks.

      Pat Niemeyer
      Author of Learning Java, O'Reilly & Associates

    6. Re:Old PC + 4 channel raid controller = easy by PlusFiveTroll · · Score: 1

      Amen for 3ware. Im using the newest 3ware 9500S-12 in our storage server. Very fast read, much faster writes than the older controllers. You can now choose what stripe size you want, and it supports hot swap, RAID50 (mirrored raid 5's), and hot spares. 3ware cards have saved my data from bad hard drives many times. Too bad there isnt a 3ware replacement for admins mistakes :)

    7. Re:Old PC + 4 channel raid controller = easy by MrNemesis · · Score: 1

      Like practically every Linux user in this thread, I can't seem to heap enough praise on 3ware either.

      I have an Escalade 8506-8 with 3 RAID1 arrays made of 80, 160 and 250GB SATA Western Digital Caviars. Debian boot disc worked fine, saw the drives, installed onto sda.

      RAID1 is bollocks-fast for reads. Granted, it's in a 64/66 PCI-X slot, but I get reads of over 70MB/s on the arrays. Coupled with gigabit ethernet, it's a godsend ( fast writes aren't very important on this machines). Compared to the Seagates (35-40MB/s reads), this is damned good for *any* controller.

      Emails you when a drive goes down. Notifies you when SMART starts acting up (one of the drives I got was dodgy, I ran with a degraded array until the replacement arrived, and then rebuilt the array - all without powering off :^)

      The web management software is great, even though it's closed source and is only supposed to work on RH and SuSE (I pulled is apart and made a .deb, just need to write a proper init script now). IIRC alien will install it pretty well.

      I've used a multitude of controllers and RAID cards under Windows and Linux, and the only ones that come close are the high end U160 and U320 SCSI. Promise and Highpoint (AWFUL cards, even under windows where they're *meant* to work) aren't even on the same continent, let alone ball park. Slower, less reliable and not a great deal cheaper either.

      That said, for a (small) personal server, a few extra decent IDE controllers and software RAID1 or 10 (or 5 if you're economical, and have a beefy CPU) done in the linux kernel is the way to go. Cheap and pretty reliable, but you don't get hotswap or the pretty management software (and obviously the performance can't match a full hardware solution, except possibly in the more exotic RAID configurations), but it does save you .

      --
      Moderation Total: -1 Troll, +3 Goat
  17. All boils down to money by baudilus · · Score: 2

    I work for a company that uses all types of RAID. I've experience with 2 bay, 8 bay, and 16 bay RAIDs, as well as RAID cards. If you want the cheapest option, just get a two drive system (either with bays or just a card) and use RAID1. It's basically drive mirroring.

    Bottom line, you need to figure out how much you're willing to spend on this and then go from there and see what your options are. RAID5 is the hotness, but it's very expensive (easily over $10K for large capacity devices).

    1. Re:All boils down to money by Anonymous Coward · · Score: 0

      Bottom line, you need to figure out how much you're willing to spend on this and then go from there and see what your options are. RAID5 is the hotness, but it's very expensive (easily over $10K for large capacity devices).

      What the fuck?

      RAID5 is not expensive. In fact, RAID5 is the cheapest RAID available. Would you rather buy 4x200gb drives and wind up with 400gb usable (as with RAID-1 for example) or would you rather buy 4x200gb drives and wind up with 600gb usable?

      Please to be explaining how the hell RAID5 is expensive?

    2. Re:All boils down to money by ed1park · · Score: 1

      Well, you can do software RAID 5 with Linux if you really want to get cheap and no frills.

    3. Re:All boils down to money by baudilus · · Score: 1

      You're talking about software RAID. I was talking about hardware. good'on'ya

    4. Re:All boils down to money by Anonymous Coward · · Score: 0

      WTF? Wrong again. Hardware or Software RAID 5 is RAID 5. Why do people that don't know what the hell they are talking about always think they know it all?

    5. Re:All boils down to money by 3terrabyte · · Score: 1
      No kidding!!
      Only $179 for this 8-channel SATA RAID card.

      My only concern is how long it would take for it to sync back up once you replaced a bad drive. If you 8 drive at 200GB each...that's a lot of data.

      --

      Why are there only 19 people folding@home for slashdot?

    6. Re:All boils down to money by baudilus · · Score: 1

      lol because I work with it everyday and know the cost of an 8-bay RAID system.

      btw - i'm not the one post anonymously.

  18. RAID 5 by 1eyedhive · · Score: 2, Informative

    Best way to go is RAID5, do it in software with Linux isn't much of a headache unless you change the size of it. RAID 5 is N-1 where N is the size of a member partition, you don't have to use an entire disk. For instance, my setup: 80GB HD 120GB HD 200GB HD the raid 5 members are the size equivolent to the 80GB itself. the remaining space on the 120 houses the system and a few miscellaneous things, the remainder of the 200 is a 110GB file dump.

    --
    Logistical Chaos Officer http://www.slagg.org - LAN Gaming in Sarasota FL,USA
    1. Re:RAID 5 by Anonymous Coward · · Score: 0

      Just one problem with software raid. The operating system itself is not stored on RAID secure storage. So if the system drive fails, you have to reinstall, ghost or whatever before you can access the software raid again.

    2. Re:RAID 5 by JWSmythe · · Score: 0


      No, that's two consecutive drives. If you have 6 drives, you could have elements #2, #4, and #6 fail, and still be operating (very slowly)

      #1 and #3 have the parity for #2.
      #3 and #5 have the parity for #4.
      #5 and #1 have the parity for #6.

      But, if you lost say #2 and #3, ya, you're screwed.

      That's when it's a very bright idea to put in as many drives as you can.

      If you have 15 drives, and two fail, the chances of them being consecutive are very low.

      If you have only 3 drives, well, two failures is catastrophic.

      Bigger drives take longer to rebuild, so if you have 100Gb drives, they'll go fairly quickly compared to 250Gb drives. If he doesn't need a lot of space, and fast rebuild times, a whole bunch of 80Gb drives would be a reasonable choice.

      I use Western Digital drives in my machines. Their failure rate is low compared to others we've used.

      --
      Serious? Seriousness is well above my pay grade.
    3. Re:RAID 5 by Anonymous Coward · · Score: 0

      I've had terrible luck with Western Digital drives, three out of the past four drive failures I've had have been their drives, usually just past the expiration of the warranty. The fourth was a Maxtor, but it was an OEM TiVO drive, and I think it was heat related (the Phillips TiVO units don't seem to be adequately cooled). I've had much better luck with Maxtor drives or Seagate SCSI (not so good with Seagate IDE).

    4. Re:RAID 5 by Oestergaard · · Score: 1

      That is only true if you decide not to install the OS on your array.

      But there's not reason not to. In fact, you just mentioned the good reason why you should in fact install on the array.

      This is possible, and with some linux distros it's even easier than installing the OS outside of the array.

      RTFM: http://unthought.net/Software-RAID.HOWTO/

    5. Re:RAID 5 by asmussen · · Score: 1

      Huh?!?

      I don't know what that is that you just described, but whatever it is, it's not RAID5. Using RAID5, if you lose any two disks, anywhere in the array, no matter how many disks you have total, then you are screwed. RAID5 takes one drive worth of space, and uses it for parity. For performance's sake, the parity is not all stored on one drive, but is shared equally amongst every drive in the array. If one drive is lost, then to determine the information that was stored at a particular offset on that drive, you have to read the data from the same offset off of every other drive in the array, and then perform a parity calculation. If even one other drive is missing, the task of resconstructing the missing data becomes mathematically impossible. This is the tradeoff for only losing the total capacity of one drive. To be able to lose two drives requires a true mirror, which requires you to sacrifice half of your drives for a full copy of the information on the array. Then you are only suceptible to loses of specific pairs of drives. If any two drives fail that are not mirrors of each other, then your data is still intact.

      --
      Shawn Asmussen
    6. Re:RAID 5 by dfeist · · Score: 3, Informative

      Wrong: With RAID 5, if any two drives fail, all data is lost. Well, all data is not really exact, but the only thing you could hope is that you can still restore some text files.

      Your description seems more to fit a RAID 1+0 which is something completely different.

      And then, you don't seem to know anything about probabilities:

      "If you have 15 drives, and two fail, the chances of them being consecutive are very low."

      Correct. But the probability of two consecutive drives failing ist still just as high as with 3 drives! It is just much more probable that from 15 drives two fail at the same time (that's just 2/15) than from three drives (2/3). Still, it could be better to have more drives, just because you could have a better "feeling" of how many drives fail before it comes to the fatal crash.

      But for RAID 5, this is irrelevant anyways, because any two drives failing will screw your data. And with 15 drives, the probability for that is much higher (and I would even say that 15 drives is a bit too much for RAID 5, use a RAID level where more than one drive can fail without data loss).

      --
      Unix makes easy tasks hard and hard tasks possible. Windows makes easy tasks easy and hard tasks $29.95.
    7. Re:Raid 5 by Malor · · Score: 1

      You are utterly wrong about RAID 5.

      RAID-5 is, in general, one of the slower RAID options for writing. Because of its slow writes, in fact, it's often not a very good choice for databases. Serious hardware acceleration will mitigate much, but not all, of the penalty.

      With RAID in general, you're trading off between speed, cost, size, and reliability.

      RAID-0 is the fastest, as it is a stripe; alternate blocks are written on two devices, so it doubles both read and write speed, but doubles the chance of failure. (if EITHER drive fails, you're toast.)

      RAID-1 is a mirror, which halves your chance of total failure (both drives must fail), but generally is no faster than one drive. It's usually a little slower on writes. Sometimes, depending on the controller/software, it may be faster on reads, although it most likely won't be 2x as fast. In general, if you assume RAID-1 is the same speed as a single drive, you won't be too far off.

      RAID 0+1 is a mirror of two stripe sets. You stripe drives 1-3 and 4-6, for instance, and then mirror them. You get speed this way, but the reliability isn't as good as it should be. If you lose one drive from each side, you're dead.

      RAID 10 is a stripe of mirror sets. You mirror drives 1+2, 3+4, and 5+6, and then run a stripe across the mirrors. This is much more reliable, and almost identical speed. (with only four drives, however, there's no practical difference between 10 and 0+1.) In this instance, you're only dead if you lose both drives in a single mirror. (ie, in a six-drive RAID-10, you can absolutely lose one drive, and you have an 80% chance of surviving the loss of two.)

      RAID-4 isn't used often; it stripes data across several drives, and uses another dedicated drive to write parity info. Network Appliance NetFilers use this system, because it allows you to expand a RAID fairly painlessly. However, very few systems do RAID-4, because the parity drive gets beaten to death.

      RAID-5 is the same as 4, except that the parity data is striped across the drives. In the first cylinder, drive 1 may have the parity stripe; in the second cylinder, it may be drive 2, then drive 3... whatever strategy your particular controller uses. By distributing the parity, the load is also distributed. Small writes are very slow in this system, as the existing data has to be read from all the drives, the new data added, parity recomputed, and the data written back. Big block-mode transfers also suffer somewhat, but a clever controller will realize that all the data is being replaced, so the existing data doesn't matter, and can just be overwritten. Reads tend to be very fast on raid 5.

      OK, all that said.... anyone out there know a good SCSI RAID-5 controller for Linux? I want one that has pretty good muscle to write quickly. I'm experimenting right now with a Compaq SmartArray 3200, which is terrible... even reads are dismally slow. Was looking at the Adaptec 3400 series, but I can't find any hard data on whether it will work well with Linux; Adaptec only supports up to Redhat 7.2 with the dumb thing, and nobody seems to be talking about them on Usenet. The LSI Logic cards are supposedly all supported, but it's hard to tell how much muscle they actually have. I'm going to be RAIDING 6 10K SCSI drives, and want strong database write performance. Is this even possible on current controller hardware?

    8. Re:Raid 5 by Bombcar · · Score: 1

      Contact me offline |RAIDICP| at |BOMBCAR|.|COM| (remove junk).

      The ICP Vortex SCSI RAID controller is a nice card, I've pulled upwards of 75 MB/s over 9 disks.

      I have a few extras, maybe we could sell you one. They are dual channel SCSI 160.

    9. Re:RAID 5 by Michael+Hunt · · Score: 1

      I think he's describing raid 5+0 (aka raid 50) which is a raid 0 set layered across one or more raid 5 sets.

      Once you start getting into these esoteric raid levels, it becomes worth asking yourself if you're better off creating individual sets for individual amounts of data, in any event.

    10. Re:Raid 5 by silas_moeckel · · Score: 1

      First off your off on your raid levels raid 3 is single drive parrity raid 4 is synced spindles single drive parity (better but requires drive support). Raid 5 is only slower than raid 0 if yoru running proper gear, granted I spend a lot of time on high end external raid controlers those low end scsi to pci garbage seem to have issues due to under powered controlers. But that being said I didn't clearly read the post he wanted it for a home server assuming cheap mirror sets of IDE disks with some striping mixed in if he needs speed.

      As for pci to SCSI raid cards how many channels are you looking for I would assume you would want 3. I have used some LSI cards they work under linux pretty well the performance is better than most of the pci cards I have seen but still not great. If you do anything increase the cache size on it to max it makes a big difference in scatter gather operations that databases can be good for. Still if you need IO's per second go with and external controller you wont have any issues with linux as it looks like a single disk and you see it via a normal SCSI or FC card.

      --
      No sir I dont like it.
    11. Re:RAID 5 by JWSmythe · · Score: 1


      I'm afraid to count, but we have roughly 400 Western Digital drives currently in use. :)

      --
      Serious? Seriousness is well above my pay grade.
    12. Re:RAID 5 by AngelofDeath-02 · · Score: 1

      Raid-5 actually requires an extra drive for every 8 drives in the system

      so in a 15 disk configuration, you'll get 13*size space, and 2 parity drives.

      I can also tell you from personal experience, software raid 5 will work without 1 for every 8 drives

      And another nifty thing with 15 disks is using some to immediately replace a failed disk. I'd be perfectly happy with 11 120 gig hd's, 2 backups, and two parity drives. But thats just me (oh wait, I have plans to do that ...)

      --
      No, I am not an English major. My posts are subject to typos and incorrect grammar. Do not expect perfection.
  19. Just set up a mirror by Linux_ho · · Score: 1

    RAID 1. Buy one extra plain-jane ordinary hard drive and use software mirroring, like Linux's md system. I've used this extensively with no problems. I have known other people to have problems using software RAID for more complex setups like RAID 5, but if all you need is extra reliability for a basic desktop workstation, RAID 1 in software is generally fine.

    --
    include $sig;
    1;
  20. Here it comes... by devphaeton · · Score: 3, Funny

    "I'm tired of HD failures. I've suffered through a few of them. Even with backups, they are still a pain to recover from.

    If you just run Gentoo, you can type "emerge new_harddrive" and it takes care of everything by the end of the month!

    or..

    Your shit PEECEE WINTEL crap parts made in china are no match for real quality Mac hardware, which are fully integrated with the UNIX UNDERPINNINGS that have the Best GUI Ever(tm) on top.

    Disclaimer: I love trolls.

    --


    do() || do_not(); // try();
  21. Raid by Anonymous Coward · · Score: 0, Offtopic

    Kills Bugs Dead. Stupid fuckin bugs.

    1. Re:Raid by Anonymous Coward · · Score: 0

      Offtopic? Hey, stupid questions deserve stupid answers.

  22. Dear Slashdot by ccwaterz · · Score: 5, Funny

    Dear Slashdot,

    which is better, SCSI or IDE?

    Googleless in VA

    1. Re:Dear Slashdot by Anonymous Coward · · Score: 0

      Dear Googleless,
      Jostens has a whole range of metals to choose from--including platinum, white or yellow gold, and, for those of you who are minding your budgets, white or yellow Lustrium. Yes? Question? Okay, well, Lustrium is the least costly. But it's a good idea to look at all your options before you choose. See, Lustrium is what is called a non-precious metal alloy. While it is fairly durable, it does not have the same characteristics as gold or platinum and, in the long run, many customers feel their graduation is more... Yes? Okay, well, Lustrium is about half the price of 18-karat gold. But, like all fine jewelry, your class ring is an investment. I can answer all these questions later. What's that? Well, the final cost really depends on a number of factors--type of metal, engraving, size, style--so it's best to start looking through the brochure and determining which rings suit you before you look at the price list. That's the best way to narrow down your choices and design a personalized ring you're sure to love for the rest of your life.

    2. Re:Dear Slashdot by Anonymous Coward · · Score: 1, Funny

      Dear Googleless in VA,

      You're new here, aren't you?

      Slashdot

    3. Re:Dear Slashdot by Anonymous Coward · · Score: 0

      SCSI is better since IDE is an anagram for DIE.

    4. Re:Dear Slashdot by alexatrit · · Score: 1

      Dear Googleless,

      Please be sure that your intarweb isn't broken before posting questions to Slashdot. Now get back to work, there are still tickets in the queue.

      -- Mr. Google

      --

      Nothing but the finest in meaningless drivel
    5. Re:Dear Slashdot by Thud457 · · Score: 1

      You would have had the hattrick if you had blamed Akamai for not being able to use google!

      --

      the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

    6. Re:Dear Slashdot by Short+Circuit · · Score: 2, Informative

      I don't think Google would help much for that question.

      OTOH, Ars Technica has a decent piece on RAID.

    7. Re:Dear Slashdot by baudilus · · Score: 1

      IDE.

    8. Re:Dear Slashdot by ed1park · · Score: 1

      For a personal raid file server? IDE. Next question!

    9. Re:Dear Slashdot by swv3752 · · Score: 1

      google search

      Seems to give plenty links to answer the question. First hit is a comparison between the two.

      --
      Just a Tuna in the Sea of Life
    10. Re:Dear Slashdot by kmankmankman2001 · · Score: 1

      FC.

      --
      "The bigger the lie, the more they believe." - Det. Bunk
    11. Re:Dear Slashdot by Anonymous Coward · · Score: 0

      SCSI=Fast=$$$$$
      IDE=Slow=$$

      nuff sed.

    12. Re:Dear Slashdot by Pliny · · Score: 1

      Dunno. Which is worse, AIDS or Syphilis?

      --
      What does this button d$#%* NO CARRIER
    13. Re:Dear Slashdot by gphinch · · Score: 1

      Dear Slashdot,
      Which is better, Linux or Mac?
      Sincerely,
      Greg

      --
      in bed.
    14. Re:Dear Slashdot by doublem · · Score: 1

      Syphilis can be cured rather easily.

      Is there a cure for syphilis?

      Yes. One dose of the antibiotic penicillin will cure a person who has had syphilis for less than a year. However, penicilin will not cure damage that has occured before treatment. More doses are needed to cure someone who has had it for longer than a year. A baby born with the disease needs daily penicillin treatment for 10 days. There are no home remedies or over-the-counter drugs that cure syphilis.


      This means if you catch Strep throat and syphilis from the same partner, and get treated for the Strep, you'll never know you even HAD syphilis because the antibiotics from curing the Strep will wipe out the syphilis long before the Strep is done in. Last time I had Strep it was treated with a ten day program of antibiotics.

      Therfore, AIDS is far worse than Syphilis.

      --
      "Live Free or Die." Don't like it? Then keep out of the USA
    15. Re:Dear Slashdot by dark_fishbowl · · Score: 0

      Linux, since Mac is for kids.

      -- What happens when I build a 50 ft Macintosh?
      -- You get a Big Mac.

      *waits for Apple and McDonald's lawsuits.*

      --
      -- juggling flaming chainsaws --
    16. Re:Dear Slashdot by bluGill · · Score: 1

      For what?

      SCSI is better for everything except cost. Often in the real world cost is the only difference you will notice.

  23. My choice by Simon+Carr · · Score: 4, Insightful

    If I could, I'd get 2x 250GB HDDs in a RAID1 (promise controllers are good for this), and a third 250GB for a cold backup of all my data that syncs weekly.

    Raid's great, but an rm -rf is still an rm -rf, thus the third drive :)

    --
    -- The unsig...
    1. Re:My choice by digitalsushi · · Score: 1

      dude, run that third drive hot and rsync your data diffs every 30 minutes. i'd rather lose 30 minutes than up to a week.

      --
      slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
    2. Re:My choice by Bombcar · · Score: 1

      I'd rather lose a week's worth of data than have my rsync run just moments after deleting important files.......

      (unless you use rsync --no-delete or whatever).

      Personally, I gotta have me tapes.

    3. Re:My choice by tblake · · Score: 1

      This is exactly what I have now. I have /home on a mirrored set of 120's and /backup on an external 200GB USB 2.0 drive. I do full backups weekly, as well as incrementals nightly. This setup is after I was doing backups "whenever" and I lost my /home drive to bad luck. The last backup was a month ago! Thankfully it had most of everything, and the only part I was pissed about losing, I managed to undelete from my digital camera's memory stick.

      As for performance, I've never noticed any difference, it's just a home file/web server, not like I'm an ISP or anything. Plus my level of comfort is quite high. I've deleted files since then by accident and just shrugged it off and went to backup.

    4. Re:My choice by WeaponOfChoice · · Score: 1

      I can recommend this config - I run 4 x 250GB SATA WD's on 2 x Adaptec 2 chan controllers (2 x 2 disc RAID1 - the 4 chan controller is too expensive). The discs are in a 4 slot hot swap enclosure and I have a separate machine with another 3 250's to serve as backup off the main machine. Massive waste of space but I feel really safe (at least when I am not thinking about fire/theft/etc...)

      --


      It's not that I'm Anti-American - I'm Pro-Freedom
  24. RAID complexity by ckaylin · · Score: 2, Interesting

    It's axiomatic that the more money you spend for reliability the more likely you are to have some kind of failure. Our fancypants Dell PowerVault RAID enclosures are constantly giving us trouble, yet the machines with just a single IDE drive keep on ticking for years and years.

    1. Re:RAID complexity by Ian+Wolf · · Score: 1

      Ah, I don't believe its the complexity of the hardware that is to blame. No, its the value of the data on it. Put the company databases on a single 200GB IDE drive and it will fail.

      In the computer age, the axiom should read, "Information wants to be lost."

      --
      "The words of the prophets are written on the Slashdot walls."
    2. Re:RAID complexity by krysith · · Score: 1

      Ian,

      I have just added you to my quote file, right below such classics as:

      "Information wants to be expensive" - Stewart Brand, the same guy who said "Information wants to be free"

      Information wants to be anthropomorphized. - Golias, /.

      (BTW, if anyone feels I have attributed wrongly, please let me know).

    3. Re:RAID complexity by agallagh42 · · Score: 1

      Don't blame the RAID, blame the DELL. Those PowerVault enclosures are steaming piles of garbage. We just had to replace about 12TB worth of PowerVaults due to repeated failures, averaging several a week for while there. We're now on EMC Symmetrix DMX hardware, and it's been much more reliable.

      Our small Proliant (HP/Compaq) servers with internal arrays are also WAY more reliable than those PowerVaults. With 22 proliant servers, 8 drives in each, I think we've had one failure in three years.

      --
      Carpe Cerevisi - Seize the Beer
  25. RAID 5 by halfelven · · Score: 1

    Personal server? RAID 5, no doubt.

  26. Re:Raid is not an option by strictnein · · Score: 1, Informative

    blah... only asshats call it that :-p

    Redundant Array of Independent Disks

  27. Raid 5 by silas_moeckel · · Score: 2, Interesting

    If your running a fileserver with a decent ammount of writes yours going to want RAID5 as it has the least penalty. Hot swap drives are easy enough with SCSI or FC a bit more complicated with SATA and rather complicated with IDE but can be done. For a simple setup as little as 3 disks will do and you will get 2 disks worth of space performance setups will have more spindles. You didn't state as to what sort of load your expecting and that makes a huge difference. For the ultra cheap I have picked up IDE raid 5 cards supprting 4 drives with hot swap for sub 30 bucks on ebay they will only work with 120 gig drives max and are limited to ultra 66 but thats a third of a TB usable as well for a few hundred bucks and it's performance is good enough for a 100bt file server.

    --
    No sir I dont like it.
  28. Software RAID by enodev · · Score: 1

    If you don't need any fancy hotplug, just go with 2 or more IDE drives. If one fails you just have to shut down your pc, replace the drive and boot again. For Raid1 you'll lose half your capacity, for Raid5 you just lose the capacity of one of your drives.
    If you need real hotplug you'll need to get some expensive scsi or ide (3ware) controller.

    1. Re:Software raid by Anonymous Coward · · Score: 0

      I've never had a pleasant experience with any type of software raid... Not striping, mirroring, anything. It always craps out. Hardware is the way to go.

    2. Re:Software raid by Linux_ho · · Score: 2, Informative
      What I really want to know is what sort of performance you get from software raid solutions. After all, the concept of being able to get redundancy without forking money over for a raid card (even from ebay, they're expensive), is rather tempting.
      Depends what kind of RAID you're doing. If it's just a mirror, writes are slowed slightly, and read performance is significantly improved over a single drive. Don't even bother trying to do RAID 5 in software. Buy a 3ware Escalade controller or a SCSI RAID controller if you need RAID 5. Keep in mind that many of the cheaper RAID IDE cards (Promise, for one) do much of their work in software too, and often perform about as well or even worse than straight software RAID.
      --
      include $sig;
      1;
    3. Re:Software raid by ryanwright · · Score: 3, Insightful

      Software raid is plenty fast for a personal fileserver. It's not like you'll have a hundred users on it at a time. Unless you have an ancient CPU, you'll be fine.

      --
      -Ryan, with the unoriginal sig
    4. Re:Software raid by JWSmythe · · Score: 4, Informative

      Actually, I've used it quite successfully under Linux for web, MySQL, and mail servers. The mail server is the most abused server, and it has no speed problems. We have 3 IDE drives as a RAID5 under Linux (md device). That server has been known to pass over 100k Emails per day. Sure, it's mostly spam and viruses coming in, but they're still received, scanned, and everything but the high scoring spam and viruses are delivered.

      So, several hundred users using IMAP and POP3 to collect mail, SMTP to send mail, and the 100k or so incoming messages do add up to a lot of work, and it handles it flawlessly.

      $ cat /proc/mdstat
      Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
      read_ahead 1024 sectors
      md0 : active raid5 hdc2[2] hdb2[1] hda2[0]
      351100416 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

      unused devices:

      $ df -h
      Filesystem Size Used Avail Use% Mounted on
      /dev/md0 330G 11G 302G 4% /
      /dev/hda1 122M 8.0M 108M 7% /boot
      none 499M 0 499M 0% /dev/shm

      --
      Serious? Seriousness is well above my pay grade.
    5. Re:Software raid by jsebrech · · Score: 1

      I've never had a pleasant experience with any type of software raid... Not striping, mirroring, anything. It always craps out. Hardware is the way to go.

      Exactly how does it crap out? I'm running a debian-based software raid-1 mirroring setup that has been up for over two years. In case the raid setup somehow gets nuked, I can boot off a single drive and pretend it's not raid.

      The main trick you needed to know about when I first set it up was that if you ran the 2.2 kernel, you could not run journalled filesystems, because then you'd get filesystem problems creeping in. Maybe that's what happened to you?

      I must admit though, it wasn't easy to set up. For convenience today I'd probably go with hardware raid too, given how affordable it is.

      It's only a pII/233 but it's still acceptable in performance. I used it as a desktop machine for a while, until the monitor went to the great electron beam beyond. Now it's a fileserver.

    6. Re:Software raid by brandon · · Score: 2, Interesting

      I've run software raid 5 for some time and in my experience it has been more stable than running ide raid with promise ide controllers. I have had 2 promise cards go bad but 2 systems running software raid 5 under debian have worked extremely well. Even hot-swapping works well and I've had to use it several times.

      Performance with an IDE raid controller is pathetic. You can't get much more than 22MB/s. I can hit 68MB/s reading and 31MB/s on one system with 4 7200 8 MB cache IDE drives. (This system has 2 extra pci ide cards in it so each drive is a master with no slave).

      If you want to go scsi then you have software and any ide raid card beat by a long shot. But "personal fileserver" usually means raid is too expensive.

    7. Re:Software raid by Ed+Random · · Score: 5, Informative
      Depends what kind of RAID you're doing. If it's just a mirror, writes are slowed slightly, and read performance is significantly improved over a single drive. Don't even bother trying to do RAID 5 in software. Buy a 3ware Escalade controller or a SCSI RAID controller if you need RAID 5. Keep in mind that many of the cheaper RAID IDE cards (Promise, for one) do much of their work in software too, and often perform about as well or even worse than straight software RAID.

      I've run software RAID-5 on Linux for several years on two of my home fileservers.

      The only problem I ever encountered were hardware failures (Promise *ack* *spit* PCI IDE cards) and one drive failure. Performance is not really an issue for home use; I can easily saturate my 100Mbps network card.

      My Fileserver: AMD Duron 1300MHz, 768MB RAM

      /dev/md0 441G 339G 93G 79% /home

      This device was built from 4x 160GB 7200rpm SW RAID-5 for online storage (including all of my digital photos, and my collection of CD's ripped to MP3).

      For backup I have an old Celeron 433, 512MB RAM box with 4x 120GB 5400rpm SW RAID-5

      The main fileserver is rsynced to the backup server once a week. CPU on the backup server is a bottleneck; the Celeron is a bit underpowered for rsync, but it works ;)

      My $0.02:
      - Software RAID is perfectly usable, especially for typical home use. Performance is adequate.
      - With RAID-5 you "lose" only one disk to parity so it is quite cheap to build
      - Yes, I'd really like a 3Ware Escalade but if the card fails I need to get a new one pronto; software RAID sets can be migrated to most PCs.

      --
      -- Gxis! Ed.
    8. Re:Software raid by Kent+Recal · · Score: 2, Informative

      Actually a raid1-card for two ide-drives is quite affordable.

    9. Re:Software raid by Oestergaard · · Score: 4, Interesting

      If it's just a mirror, writes are slowed slightly

      Hardware controllers with batter backed RAM (note; not all controllers have this), will have an edge over software solutions on ALL writes - no matter which RAID level you use.

      Don't even bother trying to do RAID 5 in software

      SW RAID is usually a lot faster than HW RAID solutions, when you factor out the battery-backed RAM part. Any HW RAID controller with battery backed memory will lose big-time to SW RAID on even moderately faster CPUs (like 500MHz P-IIIs), especially on RAID-5 which is compute intensive, an even more on RAID-6 which is also compute intensive but not XOR based.

      Modern HW RAID controllers have reasonably fast CPUs with XOR accelerators built in - therefore they can do RAID-5 as fast as the pure SW solution. But this is not the case with older controllers.

      I know of people who use 3ware cards for large RAID-5 servers, but only use the 3ware cards as "dumb" IDE controllers, and leave the RAID-5 handling to SW-RAID. The reason? Their benchmarks indicate that this is significantly faster.

      And when you think about it, it makes sense. Nobody puts a GHz processor on a RAID controller. Even a slow-by-todays-standards P-III is able to XOR more than a gigabyte of data per second - much much more than anything you put thru most file servers out there.

      So, the "HW RAID is faster than SW RAID" is true in one scenario only; when you have write-intensive workloads and a HW RAID controller with battery backed cache.

      In *all* other cases, SW RAID will be a win, performance wise.

      For a personal file server, I wouldn't hesitate to run RAID-5 in plain software. It's as fast or faster than any HW RAID controller in the sub-$3K price range, it's reliable, and the flexibility beats the heck out of any HW based solution out there (mixing IDE/SCSI, allowing a cryptographic layer between the RAID layer and the physical disks, etc. etc...)

    10. Re:Software raid by Rei · · Score: 1

      Yes, but scsi raid isn't, and I'm looking to set my fast, small scsi root partition up on raid, not my slow, big IDE scratch partition. :) I never really got the concept of IDE raid, apart from the redundancy issue... why try and make a high performance partition from IDE drives? You're going to have slow access times, and slow write performance. What sort of home environment could such a system be suited for?

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    11. Re:Software raid by Peter+Cooper · · Score: 1

      IDE speeds are not significantly below SCSI's these days, however. Even previous SCSI zealots like Apple have made the switch.

    12. Re:Software raid by H310iSe · · Score: 3, Informative

      The problem w/ Software RAID is it depends on the OS, if you OS fails you can loose your data - I've confirmed this w/ Windows Software RAID at least, it's a real, real bitch to recover from if you have any OS problems (and no matter what anyone tells you Signed Disks in Windows are a horror story waiting to jump out at you).

      As for forking $ for RAID cards, I've had really good experiences w/ the MegaRaid cards from LSI Logic - really, really good tech support and exceptionally inexpensive cards.

      --
      closed minded is as closed minded does
    13. Re:Software raid by Rei · · Score: 1

      I can't find a single 15k rpm IDE drive over on pricewatch.com, and the 10k rpm IDE drives are running at about the same cost at the 15k scsi drives of equivalent size (!). So, I have to disagree with that statement. The only reason for IDE is for cheap, slow bulk storage - which it is exceedingly good at.

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    14. Re:Software raid by Rei · · Score: 2, Interesting

      Hmm... this is interesting. I've noticed almost everyone here has been discussing IDE raid. Why is that? Do so few people use SCSI raid for home use? And if so, why?

      Are that many people really in need of a huge read thoroughput, but at the same time happy to accept high seek times? Is this really the best way to get performance out of your system? 3.6 ms seek time seems bad enough to me, but I can't imagine having my root partition on your average IDE drive's 8.5-9.5 ms seek time. I mean, really - you can get a 9 gig scsi drive for your root partion, brand new, for 30 bucks (inc. shipping) that has a seek time of 5 ms. Why would anyone use IDE for a root partition - but then try and make it raid for performance?

      It's something that really has me baffled. Certainly, seek time isn't important on, say, listening to mp3's or watching videos - your bulk data. But when loading libraries to run programs, compiling, starting X, etc, it makes a *really* big difference. And to think that many people out there have their *swap* on IDE drives also...

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    15. Re:Software raid by Anonymous Coward · · Score: 0

      Redundant Array of Inexpensive Disks (or something like that).

      The point is, IDE disks SUCK. They're not very efficient, they wear out quickly, and they're not very reliable.

      RAID lets you do reads across many disks in parallel, speeding up data access greatly. It also prevents data loss when a drive fails (as long as its only a single drive), and you can continue running your RAID even if you have to disconnect a disk (because it overheated, needs adjusting, or is getting replaced, etc).

      (Or at least, I think that info is correct.)

      If you have the cash to shell out for a nice big SCSI firehose, by all means, go invest in one of those huge IBM boxes with tons of giant fast SCSI drives that will run forever and ever and ever.

      It may cost a hundred grand, but, hey, it's not my money.. ;)

    16. Re:Software raid by Firethorn · · Score: 2, Informative

      Do so few people use SCSI raid for home use? And if so, why?
      Expense, mostly. $272 for a 147 GB 10k SCSI, $170 for a 250 GB 7.2k SATA. An Extra 100 GB for a $100 less? Everybody at work (a large network shop) loves talking about their RAID-0 gaming machines. I shudder each time, as I have had HD failures. Backup Backup Backup!

      As far as my home installation goes, I have a single HD for my OS/cache install, and my data goes onto the RAID array, so that even if my OS corrupts it's HD, I can rebuild without affecting my data.

      As for not spending $30 for a SCSI HD, that would entail getting into the SCSI world. The guy would also need a card. So we're up to a $100 for a old HD, that while it has fast seek time, a brand new 250 GB IDE drive will smack it down on read rate, and has a 8mb cache to help insure it has it in cache!

      --
      I don't read AC A human right
    17. Re:Software raid by mnemoth_54 · · Score: 4, Insightful

      IMHO, the real value in SW RAID is the hardware independence.

      If your HW RAID controller dies, you have to get another one of the same controller, and hope that you can re-import your config w/o losing all your data. If your running SW RAID and your SCSI/IDE controller dies, you can replace it w/ whatever is cheap/available at the time. As long as the failure itself didn't bork your data, you shouldn't have to do much, if anything, to see your data again.

      If you can afford to get the top of the line SCSI RAID controller from a good vendor it's probably the better option, but if cost is an issue, IDE SW RAID is the only way to go.

    18. Re:Software raid by Octorian · · Score: 1

      I'll vouch for the MegaRAID cards as well. I currently have an Elite 1500 (2-channel, Ultra2 SCSI), and I'm quite pleased with it. It even supports battery-backed cache, which is VERY important for RAID 5.

      Without write cache, the write performance of RAID 5 is absolutely abysmal. With cache, it is perfectly fine. However, not having battery backup for your write cache is a very dangerous thing.

    19. Re:Software raid by Rei · · Score: 4, Informative

      That's not how you do it. Show me someone who needs 147 GB on their root partition, and I'll show you someone who has a poorly configured linux system.

      My system, for example:
      36gig 15k (3.6ms) rpm scsi: /
      250 gig 5k (9.5ms) rpm ide: /scratch

      Who needs 3.6ms access time for their music and videos? What will that gain you? I can tell you what 3.6 ms access time gives you for a root partition, though: blazingly fast startup of the system, of X, of programs, and compilation.

      All of my media is in /scratch; it doesn't need fast access. My swap, libraries, binaries, source code, etc, is on my root partiion, where it needs fast access.

      As I demonstrated, you can get a small 10k rpm scsi drive with access time 70% better of that for all but the nicest IDE drives (which cost notably more than scsi drives), brand new and with shipping, for 30$. After re-looking at pricewatch, I found the same thing for only 20$, including shipping. You can get a new scsi controller for 20$ also, inc. shipping, that will do 40mb/s (plenty for one drive). A new cable will cost you about 6$. That's 50$ for a root partition that will give you a 70% speed boost over a 7200 RPM ide drive.

      Why would one *not* do something like that, unless they really don't care about speed at all? And if they don't care about speed, why raid for reasons other than redundancy?

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    20. Re:Software raid by drinkypoo · · Score: 1
      Barring parity overhead, RAIDs can be faster than single drives and they in fact should be, because one drive is reading while another is seeking. I speak from experience when I say that a two drive IDE stripe is faster than a single drive. This nicely offsets the performance cost of running antivirus software.

      The point of IDE RAID is to get large volumes from cheap disks, not maximum performance - but a stripe of IDE drives is in fact faster than a single IDE drive, especially if you install them properly. That is to say, in a four drive stripe, the odd disks should be on one bus, and the even ones on the other. With only two drives, each drive should get its own bus.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    21. Re:Software raid by Rei · · Score: 1

      Erm, minor correction: my swap is on my root *drive*, not partition. :) I'll probably move it to another drive in a few months.

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    22. Re:Software raid by Rei · · Score: 2, Interesting

      You (and the next poster) completely missed the point. RAID gives you *read thoroughput*, not *seek time* (it actually tends to hurt your seek time a little). It may seem like a trivial distinction, but it's actually very important: most home computing application disk performance is limited by seek time, and IDE drives have god-awful seek time. As I mention in a thread a little bit above here, you can get a good sized scsi root partition - *from scratch* (I.e., if you have nothing already, not even a scsi cable) - for under 50 dollars, using only brand new components, and including shipping - that will cut your seek time almost in half from a good IDE. Given how much people spend on their systems, this is a really trivial amount for the performance increase it gets you.

      What do you need high read thoroughput (not write - RAID doesn't give that to you) for? Are you serving 2 gig files over the web? If not doing things like that, such a configuration is borderline pointless.

      Take a look at /usr/lib some time. What's your median file size? Something like 25k? When your system has seeked to the proper location, assuming merely 12MB/s performance, you're looking at 2 ms to read that data. To get that 25k, your system has to read the root inode, the /usr inode, the /usr/lib inode, the inode for the symlink, the /usr inode again, the /usr/lib inode again, the file's inode (to get the blocks), and then it can read the blocks. Now, realistically, most of that will be cached (not true for lesser used directories). You'll probably only have 1-2 separate read commands issued. With a *good* IDE drive, you'll be spending 8.5 to 17 ms on the seeks, and 2 ms on the reads. Optimizing the 2 ms is beyond pointless. And this example uses some kind assumptions for the IDE drive (8.5 ms seek time, but only 12 MBs sustained transfer rate). And lets not even get into swap....

      Do you see what I'm saying here? Using IDE as a root partition is dumb, but making it RAID is dumber.

      Now, for slow bulk storage, nothing beats IDE. :) You won't catch me arguing with that.

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    23. Re:Software raid by Rei · · Score: 1

      I'm not sure why you were modded down, apart from your MTBF numbers for IDE being a bit odd. Still, that is another good point. Here's a page that really covers the SCSI vs IDE debate well:

      http://www.dewassoc.com/kbase/hard_drives/scsi_vs_ ide.htm For anyone considering using IDE for performance or redundancy, this should really put it in perspective.

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    24. Re:Software raid by Anonymous Coward · · Score: 0

      Who needs 3.6ms access time for their music and videos? What will that gain you? I can tell you what 3.6 ms access time gives you for a root partition, though: blazingly fast startup of the system, of X, of programs, and compilation.

      If it's pure speed you're after, you'd be better off buying a 72gb scsi drive, use the first 20gb worth of sectors for / and swap (do you really hit swap all that often? i only do when something Bad is happening), and don't touch the rest. You'll get much better and consistent read performance.

    25. Re:Software raid by Anonymous Coward · · Score: 0

      Do you see what I'm saying here? Using IDE as a root partition is dumb, but making it RAID is dumber.

      Huh. How about that. And here i thought the dumb part was doing nothing while programs load. Usually i'm reading/talking/typing while something else is launching.

    26. Re:Software raid by megabeck42 · · Score: 2, Interesting

      This is actually a common trend. For example, Software WEP far outperforms hardware WEP. A modern processor will spend Jeff Mogul has a great paper describing how TCP Offloading is slower than software TCP:
      http://bbcr.uwaterloo.ca/~brecht/courses/856/readi ngs-new/mogul-offload-2003.pdf

      --
      fnord.
    27. Re:Software raid by puke76 · · Score: 4, Insightful

      No one uses software RAID for performance, although the performance is good compared with the cheap 1+0 cards available.

      The real advantage of software over hardware RAID is that you don't need to keep a spare RAID card around. With hardware RAID, when your RAID card fails you'll need exactly the same make & model card to read your data.

      With Linux software RAID, you can read the drive set on any system with the raid modules.

    28. Re:Software raid by catenos · · Score: 2, Interesting

      That's 50$ for a root partition that will give you a 70% speed boost over a 7200 RPM ide drive.

      Hm, I'd rather invest those $50 into RAM (you easily get additional 512MB for that). It won't speed up boot time (but in my case, I don't care about whether booting once a day needs 1 or 2 minutes), but after first use, everything is really fast (well, at least under Linux :)

      I could even preload some stuff into a RAM disk and prevent seek times this way (via dd), but as I said, first startup isn't that important to me.

      I am also not sure, why you are speaking of fast swap access several times. My swap partition didn't get much use for the last 5 years (even when I was still at 386MB)[1]. If you aren't into video editing or such, today's average 512MB or such should be plenty.

      Another possibility for fast access times without spending too much, which I have done recently on a database server, is using average disks and putting software RAID on it (I needed much space and the fast disks with the needed size were about several times the prize of the lesser disks).

      This worked so well with SCSI disks that I intend to try it with my home system on the next upgrade. Though I expect less performance due to IDE constraints.

      [1] It gets used whenever Linux decides that it's a good idea to swap unused parts out in order to increase the mem availabe for the filesystem cache - which is why I still have a swap.

      --
      Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
    29. Re:Software raid by StillAnonymous · · Score: 2, Insightful

      You won't even notice the 0.001% CPU usage. Today's CPUs are far more powerful than any hardware based parity generator that you're likely to see on a hardware-based RAID card.

    30. Re:Software raid by Rei · · Score: 1

      Ram will help you with caching, but how much of your system are you going to cache? My /usr directory is over 3 gigs.

      Besides, more than half of that 50$ is a one-time-purchase (well, ok, you'll upgrade scsi cards every 5 years or so, but still...)

      Finally, this still doesn't answer the "why IDE raid for performance" question. Why? It only gets you read throughput, which is usually irrelevant on a home system. For redundancy, that is understandable... but performance? Home use performance for everyday activities are most limited by seek time.

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    31. Re:Software raid by Rei · · Score: 1

      Oooh, good point. Thanks :) If I could mod you up, I would. ;)

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    32. Re:Software raid by Rei · · Score: 1

      They have faster read throughput. Not seek time. One cannot seek while the other is reading, in general, because you read to figure out where to seek to. Most of the time in typical applications is spent seeking, not reading. Consequently, increasing read throughput won't help your *average* performance that much. It'll do great on benchmarks, of course :) ... although I have to ask: Antivirus software? Windows?

      > The point of IDE RAID is to get large volumes from cheap disks, not maximum performance.

      Why use RAID for that?

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    33. Re:Software raid by Anonymous Coward · · Score: 0

      God, here come the SCSI zealots again...

      Majority of people are not going to notice ANY difference between SCSI and IDE in a home system these days. If you need that extra 2 seconds that you saved starting Mozilla, you have other, personal, issues.

      SCSI used to be the land of high performance, but now it's just the audiophile of the computer industry. 500% the price for an extra 5% performance.

    34. Re:Software raid by catenos · · Score: 1

      Ram will help you with caching, but how much of your system are you going to cache? My /usr directory is over 3 gigs.

      Currently, free tells 650MB are used as cache (the system has been up 4 days with regular use). Even though my /usr has a similar size as yours, how much of that 3GB are you actively using a day? Usually these 650MB are all I need.

      YMMV, but for me, after initial start-up I rarely have to wait for the disks (but I should note, that emacs, mozilla and so on are automatically started, so belong to my start-up).

      Besides, more than half of that 50$ is a one-time-purchase (well, ok, you'll upgrade scsi cards every 5 years or so, but still...)

      I am not sure I understand your argument. I upgrade to a different memory system about every 3 years. Are you really arguing about those two years? Besides, when I upgrade, my old system will be kept in use... so either it keeps the SCSI cards, or have have the hassle of switching in an IDE replacement and copying the installations around (which the Windows partition doesn't like, usually).

      Finally, this still doesn't answer the "why IDE raid for performance" question. Why? It only gets you read throughput, which is usually irrelevant on a home system. For redundancy, that is understandable... but performance? Home use performance for everyday activities are most limited by seek time.

      Hm. Your point implies that IDE RAID will not improve seek times. I know for sure that isn't true for SCSI RAID. I have no actual experience with IDE RAID seeks (I do have experience with IDE RAID, but that was purely for redundancy, so I never bothered to do timing), but I assume given a correct setup (i.e. for software RAID, putting the disks on different channels) -- although not as good as with SCSI -- it should be significant enough to be worth the effort.

      But as I said, trying that is a part I still have to do.

      --
      Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
    35. Re:Software raid by minion · · Score: 3, Insightful

      I know of people who use 3ware cards for large RAID-5 servers, but only use the 3ware cards as "dumb" IDE controllers, and leave the RAID-5 handling to SW-RAID. The reason? Their benchmarks indicate that this is significantly faster.

      First off, 3Ware cards cannot be used as "dumb" IDE controllers - they only support logical drives - creating single drives is not possible, nor is leaving unassigned drives.

      Second, Software raid will always suck for one big reason: A drive fails, your system locks up.
      I have not seen any software based controller (promise, Silicon Image, High Point) or complete software based solution (Windows 2000/2k3 server's RAID, or Linux's md raid) on standard IDE controllers stay alive after a drive fails. It always takes the box down with it.

      When you buy a hardware based RAID solution, the controller handles the drive failure gracefully, which keeps the machine running. "Dumb" IDE controllers don't know they're raided (they are dumb after all), so when a drive fails, they freak out.

      3Ware makes a TRUE hardware based RAID solution that is intelligent enough to email you when a drive fails. Their 2 channel cards (SATA and PATA) are roughly $100, and their 4 Channel cards (RAID-5-able) are $250 and $350. Its well worth the money.

      I've not used the LSI Megaraid SATA controller yet (I plan to); I've had good luck with their cards for SCSI RAID, and they carry a slightly cheaper price tag than the 3Ware cards.

      No, I do not work for 3Ware - I think suggesting software RAID to anyone is a bad idea. I've seen people loose data with promise controllers, which are nothing more than glorified IDE controllers with software doing the RAID functionality. Software RAID is BAD.

      --

      -- If we don't stand up for our rights, now, there will be no right to stand up for them later.
    36. Re:Software raid by ericdano · · Score: 1
      Exactly. I decided to use my old Pentium III 600 for a server to hold my music collection which was taking up all but 1 gig of my 250 gig drive.

      I got an Adaptec 2400a off Ebay for $175

      Got 4 250 gig, 5400 RPM Western Digital drives at $180 or so apiece.

      Got a Antec case, Performance II?

      Good, fast, stable.

      --
      It's either on the beat or off the beat, it's that easy.
      I moderate therefore I rule!
      --
    37. Re:Software raid by deque_alpha · · Score: 2, Interesting

      I have a similar-ish setup that is now nearly 5 years old and only just now am I considering upgrading. I have 4 9GB 10K RPM SCSI drives using software RAID 5 for my / and swap. I have a 250GB 7200 RPM IDE drive for /archive (my equivalent to your /scratch). I got a "high end" IDE drive for the archive simply because of the better warranty, the improved performance over the cheaper model was just a bonus. So anyway, the throughput on my array matches the throughput of my modern "fast" IDE drive, and has about 1/3 the seek time. When I LAN with friends, I'm always the first with the level loaded, even though I have the "slowest" system of the group in terms of CPU, RAM, graphics card, etc.
      It cost quite a bit when I put it together, but it's been well worth it, seeing as how it has taken 5 years for the desktop-level stuff to catch it performance-wise. When I do upgrade, I will probably go with an escalade driving 74GB Raptors, since the have command queueing they are beating all but the most high-end SCSI drives out there now.

    38. Re:Software raid by jhantin · · Score: 1

      I've actually had the data cable fall out of the back of a PATA drive running software RAID-5, and the whole works stayed up. Of course, I went off on the guy who put the drives in for making me think we had a bad drive ...

      --
      ...when you're writing a game...tweak the difficulty of "Easy" to something [your mother] can cope with. -- onion2k
    39. Re:Software raid by UncleFluffy · · Score: 1

      You (and the next poster) completely missed the point. RAID gives you *read thoroughput*, not *seek time* (it actually tends to hurt your seek time a little).

      True, but not quite the complete picture. You also need to consider that with RAID you now (effectively) have more capacity per cylinder, therefore less seeks are needed over the same size dataset.

      --

      What would Lemmy do?

    40. Re:Software raid by Stackster · · Score: 1

      Why use RAID for that?

      Oh, I don't know, what does the 'R' stand for? Redundancy?

      (Software RAID-1 in Linux rules. At least for my purposes)

      --

      There are 010 kinds of people. Those who understand octal, those who don't, and 06 other kinds of morons.
    41. Re:Software raid by Anonymous Coward · · Score: 0

      > Second, Software raid will always suck for one
      > big reason: A drive fails, your system locks up.

      NOT TRUE, period. I have intentionally yanked a drive while running (artificially) heavy loads and NEVER seen a lock-up from it, on Linux (obviously, I am talking about doing such a "dumb" thing as this on non-production machines).

      > I have not seen any software based controller
      > (promise, Silicon Image, High Point) or complete
      > software based solution (Windows 2000/2k3
      > erver's RAID, or Linux's md raid) on standard
      > IDE controllers stay alive after a drive fails.
      > It always takes the box down with it.

      Windows, yes. I have never seen (and until now, heard) of this happening with Linux software RAID. You must be doing something really wrong with the way you are building your software RAID arrays. Either that, or you actually think that RAID0 provides "redundancy". You will always lose everything with "RAID0".

    42. Re:Software raid by dillee1 · · Score: 1

      This really make me wonder why so many people love to have single drive installation.

      Not to mention about application start time.(which is'nt much a issue for servers, most daemons are always running). Having swap and working directory(e.g. web root) in the same drive suck big time. I might be ok if the machine is left mostly unused. Having swap and working directory racing on the same HDD under high load is a sure way to get a unresponsive machine.

    43. Re:Software raid by BlueBiker · · Score: 1

      Sounds like a very nice system. But RAID 5 is a waste of both space and performance for swap and usually /tmp areas.

    44. Re:Software raid by CoolGuySteve · · Score: 1

      Promise sucks but we use some of their stuff at work, inlcuding an 8 drive linux based RAID 5 array. We found that having smartmon enabled with the pdc268 cards made the machine die every time we tried doing a bonnie++ over nfs. Disabling the daemon made the system stable again.

      Also, we had to replace the power supply to resolve some other stability problems that were happening at the same time. The one I took out seems fine, just not fine enough to drive that much stuff I guess.

    45. Re:Software raid by monsted · · Score: 1

      Now if only it was updated and correct, it would be a good article :)

      In most cases, ATA drives are actually faster on throughput than SCSI, but a lot of them only carry a one-year warranty now.

    46. Re:Software raid by John_Booty · · Score: 2, Insightful

      I'm not sure why you were modded down, apart from your MTBF numbers for IDE being a bit odd. Still, that is another good point. Here's a page that really covers the SCSI vs IDE debate well:

      That pages does a good job of explaining why SCSI is "better", in terms of MTBF, seek time, etc. However, I can't help but feel that those numbers are kind of missing the original poster's requirements, which were for a *personal* fileserver. The MTBF for IDE may be lower, but in a RAID-1 or higher setup, this isn't really an issue. Realistically, multiple drives aren't going to fail *at once*.

      For a home fileserver, IDE is more than fast enough, unless you're dealing with many gigabytes of data (video editing?). There's also the noise/heat/power issue of having multiple 10,000 or 15,000RPM drives spinning around the clock. A couple of 7,200RPM IDE drives in RAID-1 are quiet enough to run in my bedroom while I sleep; can the same be said for fast SCSI drives?

      Don't get me wrong: SCSI is wonderful when screaming-fast performance and/or lots of concurrent users are a requirement, and things like price, noise, and power aren't a factor. Nobody disputes that. But for small office/home use, I don't always think it's the best choice.

      --

      OtakuBooty.com: Smart, funny, sexy nerds.
    47. Re:Software raid by Anonymous Coward · · Score: 0

      Having read through a number of the postings, I can't help but be amazed at some of the wild postulations regarding raid performance, so here goes.

      Software Raid 5

      I ran this on a quad Pentium Pro 200 Mhz machine for two years with 12 scsi disks. These were old and slow disks/controllers. Under heavy load, CPU utilisation did not exceed 10% per process on this redhat 7.0 box. This old beast was able to saturate its 100mbit/s ethernet link. Hardware failures did not happen. However the sw raid configuration tanked. It was easier to rebuild the machine and restore from tape.

      As far as hw raid is concerned...

      1) In the past 10 years, I have run many systems with Raid controllers from IBM, Mylex and Adaptek. None of the raid controllers during this have tanked. Of the hundreds of disks, only a handful have failed.

      2) Raid performance on any hardware based RAID controller will rock. The more disks you add, the faster it will get. There is no write penalty for Raid 5. I would recommend you look for a controller which supports Raid 5e or similar, where the hotswap disk is integrated into the array. The Raid 5 performance penalty applies when the array has lost a disk and is relying on parity data. The more disks in your array, the lower the performance penalty.

      3) Hardware raid controllers with raid 5 capability built in are tuned for maximum performance. You will max drive performance before you max controller performance.

      4) if you use sw raid in windows 2000 or earlier for your boot disk, make sure that you update your boot.ini to allow a boot from the mirrored disk. Don't use sw raid 5 on your boot disk.

      5) in Linux place your /boot partition on the same disk as your boot sector. As far as I know, if you loose this disk, you are tanked anyway.

      6) You will have the least availabiltiy issues if you use a hardware based raid solution. If any disk fails, you will not have boot problems. Boot problems are the weakest link for sw raid solutions, and require careful preparation and testing to ensure that you have all of the appropriate information to rebuild the boot procedure.

      7) Software raid is best if contiguous disk space and performance are your priority. do not use sw raid if high availability is your priority. Only use hw raid for high availability.

      8) Most modern raid controllers can adopt the raid configuration of an existing disk array, provided you use the same manufacturer for a replacement card. If high availabilty is a priority, have a spare controller handy. If the data on your array is not worth a spare controller, then High Availability is not a priority!

      have fun

    48. Re:Software raid by Anonymous Coward · · Score: 1, Insightful

      Just one point: no one said the card itself was sending the email. A drive fails, the card keeps the system running. The drivers, in conjunction with a monitoring application perhaps, send the email. This was obvious to those of us who can interpret what's written rather than taking everything literally.

    49. Re:Software raid by julesh · · Score: 1

      Unless you have an ancient CPU, you'll be fine.

      I'm running software RAID-1 on my Pentium 133 MMX and it copes fine. Performance isn't noticeably different in any respect from when I just had one drive in there. That's used for file server, print server, web proxy, e-mail (SMTP + IMAP), web server (local PHP+MySQL development) and occasional work in LaTeX. Oh, and it does NAT routing for all of our small office (3 user) internet traffic.

      I'm considering an upgrade at some point. I have a machine with a 350MHz processor that's getting a little slow for modern desktop use, I'll probably switch them at some point, but I don't see much urgency. On the whole, I've found older processors/motherboards to be more reliable than new ones, so I'm hesitant.

    50. Re:Software raid by scorp888 · · Score: 1

      That page is a little out of date, and also missed the point somewhat.

      My setup is 6 Hotswappable 200GB IDE Drives on a promise controller.

      I can have 1 drive fail, and replace it at my leisure, without the machine going down.

      2 drives fail, and I run in degraded mode, until those 2 are replaced.

      In neither case has the system lost data, or had to stop.

      Cost approx 1000 for 800Gb of Raid 5 storage.

      Similar scsi cost would be approx 4000.

      Now, if you need to be 10% faster for 3000, you go for it. But for quick, *REPLACEABLE* storage, ide is fine.

    51. Re:Software raid by deque_alpha · · Score: 1

      In some cases I'd agree, _but_ the speed improvement is useful for /tmp, and having the swap on RAID means that if a drive fails and I need to hit swap, it won't freak out. I think the overhead of a couple of percent of CPU time and drive space is well worth the extra fault tolerance gained as well as the throughput improvement. Those were my proirities when putting this together, not eeking out as much space as possible. And again, The throuput improvment more than offsets the cost in CPU time. I know that seperate swap spaces can be setup with the same priority effectively RAIDing the swap, but you don't get the fault tolerance in that scenario.

    52. Re:Software raid by sxpert · · Score: 1

      I don't care about whether booting once a day needs 1 or 2 minutes)
      You're using Gnu/Linux and reboot once a day ? you must be doing something wrong ;D

    53. Re:Software raid by drinkypoo · · Score: 1
      Well there IS another point to IDE RAID - to get volumes larger than the largest available physical media. If you want a ~1TB volume you can't get it without RAID (or a distributed filesystem but I'm talking local storage here) and that's just the way it is.

      And, yes, my RAID is on my windows system. I have a (cheap) hardware raid solution and I am only doing striping, so if I lose a disk, bye bye data. But, I only have 80GB disks lying around and 80GB ain't enough storage.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    54. Re:Software raid by Rei · · Score: 1

      In some cases; not in the typical case. In the typical case, when you try and access a file, you need to read the inode that contains the information as to where the file is located, which won't be sped up by using raid. Then you'll seek to the data, which on small files (most of the files that your system will read), will probably be contiguous.

      Caching really helps (you can't imagine how slow your system would go if it wasn't for inode caching... imagine trying to, when reading your average /usr/lib library, having to seek 7 times!), but even a single seek on a 7200 RPM IDE drive outweighs the read times of even the slowest throughput drives for files as big as 100k - and in the average case, probably 200-300k. RAID will only help you on large files; if anything, it will slow you down on small files.

      BTW, I haven't even gotten into the fact that the scsi is more efficient at sending commands to the drives than ide is; there is a much larger command set, which allows it to optimize reads/writes/seeks better.

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    55. Re:Software raid by Rei · · Score: 1

      Once again, I will ask:

      Why would you need 800GB of scsi storage?

      You use scsi for root, and IDE for bulk storage. The "single partion" setup is such a bad design. You want your root partition to be fast, but your videos/music/whatever you like to keep around has no need for such access time.

      Most of the things on there are not. The SCSI chain has a larger command set. It has notably higher RPMs. SCSI drives are waranteed for longer. They have larger caches. They have longer MTBFs. There's a reason that they cost more for the same amount of space.

      Unless you are a business, you probably have no reason whatsoever for your bulk storage to be on scsi. On the other hand, for home use, a root ide drive (or RAID, for reasons other than redundancy) is just plain dumb - you don't need throughput on root, you need seek time.

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    56. Re:Software raid by Rei · · Score: 1

      My 15k rpm drive runs quieter than my CPU fan. Noise is not a problem.

      My 15k rpm drive is strapped to the bottom of my case, right on the metal frame, surrounded by open air cycled out by the case fan. Heat is not a problem.

      Several IDE drives in a RAID trying to get better performance will be far noisier, produce far more heat, and eat up far more power.

      "Several gigabytes of data" implies the same mistake that people keep making: you're talking *throughput*, not *seek time*. For your root partition, you need seek time, not throughput.

      A SCSI root is cheap. A SCSI root provides *dramatically* better performance than an IDE root. So the question becomes: Why not?

      --
      You know when it's okay to shout fire in a crowded theatre? When it's on fire.
    57. Re:Software raid by macmouse · · Score: 1

      Thats rather surprising. With my linux software RAID, I have been able to move the raid between machines with no problems. Yes, you have a little config files that says "drive one is /dev/hdb",etc but that isn't vital information for the RAID running. It was actually smart enough to know I ran it in the wrong order, and told me so! Try that with hardware RAID, which blindly does its thing.

      Also, When your HARDWARE raid CARD dies, your screwed too. The card maintains the table/RAID information in its own memory not on disk. Yes, the newer/more expensive models save to disk, but even then you have to get an *exact* model replacement.

      Make sure to get one with the same firmware version (that can change dramaticly how the cards function - which means drives used with newer software versions won't work with older one's, sometimes)

      This actually happened to one of my friends. He had a hardware RAID-5, 8X drives with SCSI and a backup disk for his home. He went all the way with good brand drives/cards.

      The card itself died, and boom he lost everything. Even with a replacement card, he still wasn't able to recover any of it. Had to start from scratch.

      [FYI - I'm talking about true software raid, not a run-about through a card handler]

    58. Re:Software raid by catenos · · Score: 1

      I don't care about whether booting once a day needs 1 or 2 minutes)
      You're using Gnu/Linux and reboot once a day ? you must be doing something wrong ;D


      Nope, just trying new kernel patches. ;-)
      (That's even not too far-fetched... I am a tester for Mandrake Cooker - the development version)

      More seriously: I never said anything about re booting. :) I just usually shut the system down at night.

      --
      Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
    59. Re:Software raid by kentborg · · Score: 1

      > Second, Software raid will always suck for one
      > big reason: A drive fails, your system locks
      > up.

      Wrong. Bootable sortware raid 1 on Linux works great. I have had a drive fail in the middle of burning a CD and neither I nor the CD knew the difference. I found out when I got an e-mail telling me of the failure. I was even running swap over software raid 1--which is key to keeping things happy.

      It is also important to put the raided disks on different controller channels. But it works.

      -kb

    60. Re:Software raid by kentborg · · Score: 1

      > I'm running a debian-based software raid-1
      > mirroring setup [...] I must admit though, it
      > wasn't easy to set up. For convenience today
      > I'd probably go with hardware raid too

      Debian? Hard to set up? I don't believe it...

      Last time I set up software raid 1 I was installing Red Hat 9, and it was easy. Not as easy as a vanilla installation, but still not terribly hard.

    61. Re:Software raid by ACPosterChild · · Score: 1

      Looks like you've got a good setup. I think I'll give it a try at my next opportunity.

      But, the original question *was* about redundancy for a fileserver. I think that people mistook your suggestion as saying he should build his bulk media filesystem with SCSI.

    62. Re:Software raid by WuphonsReach · · Score: 1

      Second, Software raid will always suck for one big reason: A drive fails, your system locks up. I have not seen any software based controller (promise, Silicon Image, High Point) or complete software based solution (Windows 2000/2k3 server's RAID, or Linux's md raid) on standard IDE controllers stay alive after a drive fails. It always takes the box down with it.

      I don't know about Windows software RAID, but on Linux Software RAID, if the box goes down due to one of the drives dying, then it's probably because the swap partition wasn't mirrored as well. (A lot of folks setup linux software RAID but don't RAID the swap partition.)

      NT4's software RAID sucked... big-time, which is why I avoided it.

      Promise FastTrak cards are considred by everyone to be "software-based RAID cards". I've been using them for probably 7 years now and have never had them take the box out when one drive fails. In fact, if I didn't have the monitoring tool installed, I wouldn't find out until the next reboot when the BIOS boot up screen would warn me. Same experience with HighPoint RAID1, drive dies and the server keeps on chugging.

      I think you need to either get a new set of eyes or learn how to setup consumer-level RAID cards.

      --
      Wolde you bothe eate your cake, and have your cake?
    63. Re:Software raid by WuphonsReach · · Score: 1

      The real advantage of software over hardware RAID is that you don't need to keep a spare RAID card around. With hardware RAID, when your RAID card fails you'll need exactly the same make & model card to read your data.

      Yep, that hits the nail right on the head. It also vastly simplifies the hardware choices because very few RAID cards have driver support for more then one or two linux distros.

      --
      Wolde you bothe eate your cake, and have your cake?
    64. Re:Software raid by Firethorn · · Score: 1

      Single Drive installation is great for two reasons:

      Cheap & Simple.

      Wins the low end every time ;)

      --
      I don't read AC A human right
    65. Re:Software raid by scorp888 · · Score: 1

      Fast video editing? Large Databases?

      I don't, I need a large amount of reliable storage, so that's why I went IDE.

      On the IDE vs Scsi, I'll give you higher rpm, but this doesn't translate to huge performance advantages.

      Caches, given that I've seen 8MB on ide, and can only find 2MB on scsi, that's 1 all.

      Warranteed for longer, I can find 3 years on both.

      As for reliability, a scsi drive has to be about 4 times as reliable as an ide, as I can buy 4 ide drives for the same price as scsi.

      Of course, if you want real speed on your root drive, then mount it on a ram drive, and put ups in place.

  29. Whichever damn raid level you want! by SeanTobin · · Score: 4, Informative

    Seriously. Raid is all about risk. Figure out how much risk is acceptable to you. If you have a stack of 6 drives and you only believe 1 is ever going to fail at any one time, then go with raid 5.

    If you have a stack of 6 drives and believe not a single one is ever going to fail, go for level 0.

    If you are a government contractor and are required to handle simultaneous failures of 75% of your drives, either mirror them all or go with 5+1 or a raid 10 setup.

    All in all, its a poor question to ask slashdot. You need to let us know what you consider an acceptable failure, and by the time you have that figured out determining what raid level you need is easy.

    --
    Karma: SELECT `karma` FROM `users` WHERE `userid`=138474;
    1. Re:Whichever damn raid level you want! by baudilus · · Score: 1

      I've heard of 'RTA' but you didn't even read the story. He said he's tired of drive failures, RAID0 won't help as there isn't any real redundancy. They should take the 'R' out and call it 'AID0'.

  30. RAID 5 or 6 by Tr0mBoNe- · · Score: 3, Informative

    RAID 5 or 6 will stripe the data across all drives in the array. You will basically need about 8 - 10 % of the total space set aside for data recovery. You can loose 2 hard drives (as long as they are not next to eachother) and not loose any data. RAID 5 and 6 are only incredibly useful in application with more than 4 hard drives and about 500 gb of storage. It's a little faster than the lower raids becuase the redundancies are simple pairity bit calculations, and are done twice for each single data change on disk. The lower raids will have a set of disks that actually mirror the data in tact (raid 1) or perform more intensive Hamming Distance calculations and store the results on another set of disks.

    So, RAID 5 or 6 would be the best (RAID 6 is worth the extra bit of space for the 2nd calculation, and really helps when you can test the pairity bits against another pairity to create the lost data.)

    There will be some slow down associated with RAID, but it wont be as bad with 5 or 6 and generally, you can live through it with the thought of having relativly robust file servers.

    --
    while(1) { fork(); };
    1. Re:RAID 5 or 6 by thefatz · · Score: 1

      How does RAID-6 fit into personal file server? Maybe a 9/5's SUN system, but wouldnt raid 50 or 10 be better at that point?

      --
      http://www.freebsd.org
    2. Re:RAID 5 or 6 by Anonymous Coward · · Score: 0

      This is an incorrect statment. In a RAID5 system you loose 1 drive's worth of space due to parity not 8-10%. If you have 10 drives your loose 10 percent but if you have three you loose 33%.

      Also RAID6 has two parity bits so you loose the equivalent of 2 drives worth of data, and it requires at least 4 drives to use. It can have two drive failures and still work. RAID5 cannot, doesn't matter where the drives are.

    3. Re:RAID 5 or 6 by agallagh42 · · Score: 1

      The word is LOSE, not LOOSE. Sheesh, where's the LoseNotLoose guy when you need him?

      --
      Carpe Cerevisi - Seize the Beer
  31. Raid-5 / 8 drives / 3ware controller. by Anonymous Coward · · Score: 0

    First, a couple things.

    Most IDE raid controllers are really software raid. 3ware makes real IDE raid controllers and I would recommend them for home users/Linux.

    I would suggest (if it is affordable) to do a Raid-5 setup with 8 IDE drives. This easily gives you 1 TB, and *reasonable* cost and with *reasonable* redundancy. RAID-5 costs 1 drive for redundancy -- in this case meaning 12.5%. If one drive dies you are fine; two drives dying concurrently means you lose everything.

    For smaller requirements, I would suggest using mirroring with a cheap built in RAID controller (=software). Cost of redundancy is 50%, but that is reasonable when you are only buying 2 drives.

  32. STFW by Anonymous Coward · · Score: 0

    Idiot...

  33. What raid to use. by Retric · · Score: 2, Informative

    If you want the best % of drive utilization go for raid 5. It works by Striping the data across 2 drives then XORing the data on the 3rd drive. But, you need 3 drives. Raid 1 works with only 2 drives but you only get 1/2 the data basically each drive has an exact copy of the data that the other drive has.

    Put simply if you don't have a lot of data to store but you want it safe go for raid 1 with small drives you end up with the same data storage as one drive but it takes 2 drives. If you have a lot of data to store go for raid 5 you get twice the data storage of one drive but you use 3 drives.

  34. RAID XL by Anonymous Coward · · Score: 0

    RAID 0 speed with RAID 5 reliability

    http://www6.tomshardware.com/storage/20031128/in de x.html

    www.syncraid.com

  35. Re:Raid is not an option by fanfriggintastic · · Score: 1

    That's Independant, not Inexpensive.

    --
    This is not the greatest sig in the world, no. This is a tribute.
  36. RAID 5 w/ hot spare by wfbush · · Score: 2, Informative

    A simple, very safe server setup is RAID 5 w/ a hot spare. One drive fails, the array rebuilds on the hot spare, and you replace the failed drive whenever you have a chance.

    In theory, some of this is possible in software, but a good RAID controller card is much, much better.

    1. Re:RAID 5 w/ hot spare by ducman · · Score: 2, Informative

      A couple of years ago I built a Linux server with a 10Gb 7200 rpm IDE drive as the system disk, and 4x80Gb 5400 rpm IDE drives in a RAID 5 as a home file server. I used the 2.2 series software RAID, and was serving files via netatalk to a couple of Macs. In just over a year, I had multiple disk failures, and twice the RAID ended up unrecoverable. It was cool to be able to change out a drive and watch the RAID get rebuilt, when it worked, but too often it didn't work.

      I was never able to determine whether there was some kind of conflict between netatalk, the kernel, and the driver for the two Promise IDE controllers, if I had problems with a bad batch of drives or if I didn't have enough airflow through my case.

      Also during that period, I somehow had a filesystem get corrupted, and lost the RAID, even though no drive had failed.

      Given that bad experience with [software][IDE] RAID, I now use four 250 GB SATA drives on two controllers. Every night I do an rsync backup (changes only) from one disk on one controller to a different disk on the other controller. So far, none of the disks have failed (I'm using Maxtor Maxline IIs), but now I'm confident that I can survive either a disk failure or a filesystem failure.

      One other interesting point: I recently found an article about a relatively new RAID problem. Apparently a RAID 5 using 250 GB IDE hard drives can take more than a week to rebuild the array when a drive is replaced! Might want to try to find some more details on that before you build your big RAID.

      --
      "We have nothing in common, your attitude annoys me, and your political views are appalling."
  37. www.google.com by baudilus · · Score: 5, Informative

    A quick note - if you re-initialize the RAID, it will erase everything you have. You should 'rebuild' the drive, unless you have a hot-swap, in which case you just take out the bad drive, pop in the good one, and ur good to go.

  38. Software RAID? by Suydam · · Score: 5, Insightful

    Have you thought about software RAID? Before everyone jumps down my throat, I realize that it's slower than hardware RAID...but, here is my rationale for using it:

    1) You don't need drives that are the same size.
    I've done hardware RAID, had a drive fail 2 years down the road and not been able to find an 18GB SCSI drive to re-insert to the array. That has the potential to jack your entire array. With software RAID, you buy a 36G drive, partition it so that 1 partition fits your array, and off you go

    2) It's a personal file server, so speed is less important than cost (i'm guessing). With software RAID you can mix all sorts of wonderous things together. IDE drives from the basement, SCSI-320 drives you stole from work and nearly everything in between. It's for flexible, and has no associated controller cost.

    3) It's easy as heck. You can configure it in Disk Druid/fdisk, and it works quite easily in any major distribution (I've done it in Slack, Debian, RH, Fedora and Mandrake).

    The major downside is that you cannot (as least I don't know how to) hot-swap drives. But again, this is a personal file server. Spend your money on pizza and beer, screw the SCA hot-swap drives that are going to cost you an arm and a leg.

    That's just my $0.02...flame away

    --


    Werd.
    1. Re:Software RAID? by wfbush · · Score: 2, Insightful

      Yeah, for a personal file server, software should be good enough, but I wouldn't risk it for a "real" server. You can even use IDE/ATA/SATA drives, although there it gets more complex if you want more than 4 drives.

    2. Re:Software RAID? by pe1chl · · Score: 2, Informative

      Your comparison is between software raid as you found it in Linux, and "hardware raid" as you once found it on a certain raid controller.

      The limitations and versatility are not determined by the "software or hardware" ("hardware" being software on a dedicated raid controller) but by the design of the specific software under consideration.

      True, the software raid in Linux is quite versatile, but there is no reason why a raid controller could not work with two disks of different sizes and use part of one disk in a mirror and the remainder as a standalone disk.
      But as you point out, not all controllers may be able to do that.

      Furthermore, a software raid-1 solution in the kernel would theoretically be able to perform better than a hardware raid-1 controller, because read operations can be distributed between the drives and the kernel can know more about operations coming up and do better optimization of locality than a loosely-attached raid controller can.
      However, the Linux kernel, when I last looked, does not take real advantage of that. The read operations are distributed over the drives, but there is no separate elevator optimization for the drives making up the array.

      Hot-swapping has nothing to do with all this. It can be done when your hardware allows it, and IDE hardware cannot. But SCA drives can be used with software raid, and the brave hacker hotswaps any SCSI drive.

      There is a nasty problem with the Linux software raid: when 1 sector fails to read in a raid-1 array, the entire drive containing that sector (better: the entire partition) is marked bad and taken offline (no longer updated).
      When another single sector on the other disk fails, you have a real problem!
      More reasonable in this case would be to read the failed sector from the other disk, and attempt to write it back on the failed disk. When that succeeds, try to read it again, and it may be OK because the drive may have re-mapped the bad sector or rewriting may have fixed a soft error.
      So the soft-failed drive remains online and further errors can be handled.
      (of course the failure would still be logged for examination by the administrator)

    3. Re:Software RAID? by Just+Some+Guy · · Score: 4, Informative
      Before everyone jumps down my throat, I realize that it's slower than hardware RAID...

      Many benchmarks show the exact opposite, except when dealing with high-end RAID cards. Why? Because the average CPU on a system with a RAID is going to be much more powerful than anything you're likely to find on a low- to medium-range hardware adapter. I use software RAID on a number of FreeBSD servers and it absolutely flies.

      The major downside is that you cannot (as least I don't know how to) hot-swap drives.

      That's a function of the hardware and OS. One of the above-mentioned FreeBSD servers is in a nice IBM server case with hot-swappable front-access LVD drives. The swap process is:

      1. Run vinum stop <diskname> to shut down the RAID device.
      2. Run camcontrol stop /dev/<device> to turn off the drive.
      3. Swap the drives.
      4. Run camcontrol start /dev/<device> to turn on the drive.
      5. Run dd if=raidconfig_<diskname> of=/dev/<device> to install the software RAID parameters at the beginning of the drive.
      6. Run vinum start <diskname> to start the RAID device.
      7. Watch the LEDs flash as the volumes are rebuilt, and slip out to type up an invoice.

      There's no reason you can't do hot-swappable software RAID. If there is, then someone forgot to tell me server.

      --
      Dewey, what part of this looks like authorities should be involved?
    4. Re:Software RAID? by rekt · · Score: 1
      This is right on. software RAID also gives you full source to what's actually being done to your disks so you have a better chance of recovering data in the event that a horrible failure (>1 drive, for example) does eventually happen.

      moreover, software RAID tends to be more tunable, and you can count on the logic for the RAID control subsystem in yer OS to be updated more promptly (if you use a reasonable OS) than you can count on the firmware for some H/W controller to be updated.

      Also, you can indeed do hotswap with software RAID, as long as you are working with the right disk I/O subsystem. for example, if your drives are all external ieee1394 or USB2, there's nothing stopping you from just adding a new drive to the system and adding it to the raid set as a spare disk (or a replacement), and moving on with your life while the array rebuilds itself in the background.

      the raidtools2 package for linux is really sweet!

    5. Re:Software RAID? by Tenareth · · Score: 1

      "("hardware" being software on a dedicated raid controller)"

      While at a very high level, this may look to be true, it's not. Hardware arrays generally used very specialized chipsets that do one thing very well, and then there is some firmware that controls everything. It's not a general program/chipset that needs to be able to do anything. Firmware + dsps, logic circuits, etc is not the same thing as Software on a general purpose CPU.

      --
      This sig is the express property of someone.
    6. Re:Software RAID? by tekspot · · Score: 1

      I think software RAID is a great option, and I'm surprised there is so little attention given to it.

      First of all, I would like to dispute that software raid is slower. It depends on your CPU speed, and if it is reasonably fast, it can be faster then hardware RAID.

      You can hot-swap software raid in certain configurations, but it not as simple as with hardware raid.

      It can save you $400 or so.

    7. Re:Software RAID? by RedWizzard · · Score: 1
      I realize that it's slower than hardware RAID
      Not necessarily, sometimes the OS is better able to run a RAID setup efficiently than a dedicated controller. Think RAID 1 with multple read requests.
      1) You don't need drives that are the same size.
      I've done hardware RAID, had a drive fail 2 years down the road and not been able to find an 18GB SCSI drive to re-insert to the array. That has the potential to jack your entire array. With software RAID, you buy a 36G drive, partition it so that 1 partition fits your array, and off you go
      You must of had a crap RAID controller. Generally the drives do not have to be the same size (even 18GB drives from different manufacturers will probably not be exactly the same size). As long as the new drive is larger than it needs to be you'll be fine. You lose the extra capacity with a hardware RAID setup (while you can use it with software RAID), but that's generally not a big factor for people. Incidentally, I don't know where you were looking because 18GB SCSI drives are still easy to find, for exactly this reason.
    8. Re:Software RAID? by JayJay.br · · Score: 1

      I'd like to comment on that:

      First, it's not slower anymore... Software RAID user to eat, what, like 5% in CPU usage in the old times, but with today's fast processors, that really becomes a non-issue. Now, about the points you mentioned:

      1) Hardware RAID does not NEED all disks to be exactly the same size. Of course, any exceeding size in one drive will be wasted. At least until you replace the other drive with one bigger, in which case you can still build one mmore logical drive. This happens in all modern controllers;

      2) As stated above, you wouldn't need all drives to be the same in hardware RAID either. Of course, they all should speak the same protocol, so you couldn't mix and match IDE and SCSI disks. But other than that, you're pretty much doing the same thing you would with SWRAID than otherwise.

      3) Hardware RAID isn't all that hard either. Depending on the controller, just pop the configuration diskette, create your logical drives and voila.

      One more thing I see on HW RAID (besides hot swap, which you have already mentioned) is that rebuild is automatic and the machine doesn't crash in the event of a disk failure (which, depending on the OS, could happen in SW RAID - it preserves the data, but gives you a little less of availability). 'Course I don't think this guy is desperately nedding 24x7, but a little more avail at a little more money (considering, for example, IDE RAID) could be a plus.

      I'm not against software RAID, it's great, but I just thought I would add something more to that info you are supplying.

      OK, that makes 4 cents.

    9. Re:Software RAID? by PMoonlite · · Score: 1

      the poster didn't actually say anything about hardware RAID, just the replies :-) software RAID is a great solution.

      --
      -- Moderation in all things, exceptions to all rules --
    10. Re:Software RAID? by Anonymous Coward · · Score: 0

      Can you steal me some SCSI drives?

    11. Re:Software RAID? by Alakaboo · · Score: 1

      There's no reason you can't do hot-swappable software RAID. If there is, then someone forgot to tell me server.

      Oh shit, it's gonna be pissed.

    12. Re:Software RAID? by Anonymous Coward · · Score: 0
      First, it's not slower anymore... Software RAID user to eat, what, like 5% in CPU usage in the old times, but with today's fast processors, that really becomes a non-issue.

      Bullshit. Heavy write activity into a software RAID array will use more than 5% of the CPU now, if your software RAID isn't using that much something is probably wrong.
  39. Not just the RAID, but the recovery by vg30e · · Score: 1

    After building lots of RAID stuff on x86 based machines, I found that whatever RAID you pick for redundancy is probably going to be OK as long as it is more than RAID level 0, but recovery may vary. I would opt for a OS independent solution, where adding new drives doesn't cause you to have to back the whole thing up, and re-initialize the array. Also, it stinks if there are a lot of annoying steps to go through to change a failed drive (reboots etc).

  40. RAID 5 reliability vs RAID 1 reliability by drgreening · · Score: 1

    My sympathies to the author. I had a similar question myself, but simple Googling doesn't really answer the question.

    Aren't there some failure modes where RAID 1 doesn't work well? What if a drive doesn't fail, but instead fails to return the correct data?

    It seems to me that RAID 5 would determine which of the drives is returning bad data, and correctly mark the drive bad, in situations where RAID 1 might not be able to detect which drive is bad.

    Could a RAID expert please address this?

    1. Re:RAID 5 reliability vs RAID 1 reliability by pe1chl · · Score: 1

      No, when a drive returns bad data a raid-5 array would be able to detect that fact, but it would not be able to correct the problem.
      The same holds true for the raid-1 setup.
      (and in practice, the error would not even be detected as the driver would only read the disk where it expects the correct data to be)

      Basically, when your hardware does not signal read errors, you have a problem. It would be possible to have a 3-disk raid-1 setup and a "2 out of 3 vote" system. But normally a raid system just reads the data from a single disk, and when that fails it attempts to read from the other disk(s) and to reconstruct the data.

    2. Re:RAID 5 reliability vs RAID 1 reliability by IgnorantSavage · · Score: 1

      All RAIDs have problems if a drive returns the wrong data. This is rare since the drives store ECC information for all data, but it does happen.

      The only systems that protect against this (that I know of) put end-to-end CRCs on the data. This means a CRC is sent with the data, then read and checked with the data. This is usually implemented with 520 byte blocks and SCSI (which allows it), and is rather unusual. Very expensive equipment for this, such as from EMC or Hitachi.

      RAID 5 has the same problem with losing data. It could detect the problem by reading the parity data and checking, but this would slow things down so much that most implementations don't even provide the option (a few do). RAID 1 can similarly detect the error by reading both drives. However, neither can tell which version is correct when they detect a problem.

      Overall RAID 1 tends to deal better with errors both by having less of a performance hit and less chance of a implementation bug causing you to lost data (which often goes unnoticed since it is somewhere you don't end up seeing the error).

      RAID-5s without NV cache are either unsafe (they don't protect their writes) or slow (they do their writes synchronously). This is why, for cheaper solutions, I would personally feel much more comfortable with RAID 1.

    3. Re:RAID 5 reliability vs RAID 1 reliability by wwest4 · · Score: 1

      Such an expert would need to be well-versed on the behavior of disk firmware and drivers as well as RAID, but based on some years of experience operating all sorts of arrays, I'd say that stripe set RAID recovery tends to be trickier than RAID-1, which has a pretty straight-forward theory behind it (bit mirroring). The more complicated your scheme, in general, the more things can go wrong.

      Basically, if you care about up-front cost and insist on straight-forward reliability and performance, use RAID-1. If you care about economy (bang for buck) and you can accept a small margin for weird errors, use RAID-5.

      In both cases you get the standard warning - have a file and directory level backup that's not part of the RAID (tape, another RAID, etc) - RAID makes your file systems more robust, but it doesn't save old copies of them.

  41. Ugh by CaptainSuperBoy · · Score: 1

    What's best? Probably RAID 0+1 for you. It's striping and mirroring, you gain a good deal of performance, almost double your reliability, and lose 50% of the space.

    But geez, what kind of question is this for the front page? Ask on a hardware board or do some reading on your own.

  42. RAID5 by Gareman · · Score: 1
    I'm running Redhat ES3 on my home mail/DNS server using a 3Ware RAID card, Exabyte 3-disk hard drive enclosure, running hardware RAID5. It's easy to set up and manage and provides the best performance vs. fault tolerance. The down side is that the enclosure has a rather loud fan, something you won't be able to avoid with an enclosure.

    The noise alternative is probably software raid-1, since you probably don't need extra cooling for only two hard drives. I have this as the configuration of my second server, running Windows 2003.

  43. Re:Which RAID for a Personal Fileserver? by drsmack1 · · Score: 1

    I think that this would be a great "Ask Google" question. Which RAID for a Personal Fileserver?

    That said; it was pretty easy in Mandrake 10.0 Official to set up a 3 disk Software RAID 5 with 200Gb disks. Supposedly if one goes bad I can just remove it and put in another one and boot up - regeneration is supposed to be automatic.

  44. what a terrible question to put up by Anonymous Coward · · Score: 0

    You sir, should have tried google first, as everyone else said.

    That being said, if you've already purchased drives and you have more that two (implied), you'll want to do raid 5. Unfortunately you failed to mention whether you'll be using windows or linux, so we'll have to cover both. In windows, you'll probably want to buy a shitty promise raid card, preferably with 4 or 8 channels (depending on how many drives you have), and set up a software raid with the promise software.
    Under linux you'll need a (cheaper) ata controller with as many channels as you have drives, and then you'll want to use google to find out how to install your distro of choice on a software raid you've set up FOLLOWING THE DIRECTIONS GOOGLE FINDS YOU.

  45. Easy by NineNine · · Score: 1

    I use RAID 1 on all of my machines. They don't have the one that I use any mroe, but something like this is only $250 for complete hardware RAID (the best kind). It's absolutely seamless.
    http://www.raidexpert.com/RAID/DynaBack er.htm

  46. Question to /. by tjkrz · · Score: 0, Troll

    Can someone do this calculation for me? This seems easier than getting out my graphing calculator. It's all the way inside my bag which is at my feet. 5 * 89 - 303333 + 307 % 4 =

    1. Re:Question to /. by Anonymous Coward · · Score: 0

      again, google to the rescue....

      -302 885

    2. Re:Question to /. by Anonymous Coward · · Score: 0

      Of course you can google that too...

      http://www.google.com/search?hl=en&lr=&ie=UTF-8& q= 5+*+89+-+303333+%2B+307+%25+4

  47. Re:Raid is not an option by sxtxixtxcxh · · Score: 1, Funny

    Raid Ain't "Inexpensive", Dumbass.

    --
    for a minute there, i lost myself...
  48. 3ware by TheFlu · · Score: 1

    This isn't for personal use, but if I wanted a RAID at home, I would definitely consider the same setup as this:
    I'm using the 3ware 7006-2 on two Linux boxes (Fedora Core 1) and I'm also using one on a Windows 2003 Server as well. All of them are configured with RAID 1 support and I haven't had any issues on any of the machines thus far (knock on wood). I also bought the Vantec EZ-SWAP MRK-102FD Mobile Rack Frame & Carrier for each drive I have in the RAID as well, these things are dirt cheap ($35.00) and are really nice looking with the LCD temperature readout on the front. This setup might be overkill for home use, but it's certainly not terribly expensive either.

    1. Re:3ware by Tuxinator · · Score: 1

      I have to echo this.
      I use have used 3Ware cards since the 5xxx series card. Rock solid. I've sold several servers with them. Used them Linux, Win98, Win2000, WinNT & WinXP. (Slackware supports them with the raid.s kernel - or you can roll your own as the driver is in the kernel source)
      The utilities are browser based and work great. It also will email a specified address in the event of issues. I have had drives fail twice on my home computers. I run them in RAID 5 and both times I heard the drives clicking and by the time I got around to checking into the controller card had taken the drives off line and issued alerts.

    2. Re:3ware by mabu · · Score: 1

      Are there drivers for FreeBSD available? I couldn't find any info on that.

    3. Re:3ware by PlusFiveTroll · · Score: 1

      From my understanding the latest 3ware 9500S-12 cards will support up to 4 controllers. Now thats quite excessive, bandwidth for 48 harddrives would choke any PCI-X subsystem out there.
      9500 SATA Controller

      I use 3ware 9500S-12 on a dual opteron myself.

    4. Re:3ware by PurplePhase · · Score: 1

      I have an older 3Ware 6410 controller which was the most I needed at the time - even got their utilitarian bay adapter (3x 3.5's in 2x5.25 bays) with hot-swap. I'm happy it still works with 250GiB drives - when I started with 60GiBs. I got the card partly because several sites had very positive reviews both of reliability and of performance - I do RAID 1 both because tests showed it performed better than all the others at the time and because I wanted the ability to remove a drive at anytime and use it elsewhere.

      HOWEVER the second part hasn't worked out. I recently upgraded to Fedore Core ? CR 3 and it installed with no fuss. When I went to upgrade the HDs (160->250) though things didn't go so well - for some reason I trusted things and didn't make a complete backup before the op. I'd already scavenged 2 of the 160s for other uses and I can't retreive data off the remaining one!

      3ware hasn't yet responded to my e-mail support requests, and I haven't gotten a good Google to give me useful results. The only response from usenet was try Knoppix (which I hadn't considered or ever used before), which I'll try this weekend. I'm a little hopeful.

      While the controller states that you can use differently sized drives in the same array, you only get the RAID 1 or 5 size of the smallest drive in the array. There seems to be no way to upgrade this but I haven't tried a gradual progression (160+250 -> 250+250) to see if at the end all drives are upgraded (or can be repartitioned) to use the difference.

      ANYWAYS, I also wanted to say that I keep a hot spare around (3rd bay), but someone else mentioned doing an rsync to an extra drive for periodic snapshots - and I'm highly considering it. Still haven't really figured out what is "best", so I'll keep looking.

      Maybe using the software RAID would have prevented the above problems, maybe not.

      8-PP

  49. Depends by UserChrisCanter4 · · Score: 1

    A lot of people have already pointed out that if you have more than two drives, you should be doing RAID-5. Promise produces a couple of true hardware-level RAID cards in the ~$200-$300 range, depending on how many drives you want, and whether you want IDE or SATA.

    3Ware's escalade seems to have much better linux support, but are generally more expensive kit (although many claim they're vastly superior). I have a simple file server that occasionally doubles as a dedicated game server at our monthly LANs, so it has plenty of horsepower, and thus I went with a soft-RAID solution. Highpoint makes a model in the $80 range that implements RAID-5 at the software level, but as long as you have some decent hardware that it's going in, that shouldn't be a huge problem.

    Just a few things to remember: if you doing RAID-5, try to have a seperate boot drive so that you can keep swap off of the array disk; swap doesn't need fault tolerance and it will slow you down. If you're planning on using gigabit ethernet and heavily accessing this thing (not sure why in a home situation), look at getting one of the intel 875 or Nforce3 boards that have gigabit on the northbridge, as gigabit and heavy disk access together will saturate your PCI bus. If you only have two discs, ignore all of this, and just mirror them entirely in software.

  50. Raid 1 or Raid 5 by ed1park · · Score: 2, Informative

    Raid 1 for simplicity. 2 drives in mirrored configuration. Cheapest and easiest to setup. Install Linux and use software raid. Works like a charm.

    If you're upto a challenge, install Linux to boot from the RAID 1 config. It was a huge pain in the ass to figure out. When I configured Redhat 9, I had to use Lilo instead of Grub as the boot loader wasn't being correctly written for both drives. Had to use "dd" to write the boot sector and Lilo to get it working properly.

    Benefits of software raid allow you to swap drives with minimum downtime and recreate the drive in the background. And u save money from not buying a hardware raid card, which could serve as another possible point of failure. Then you can write scripts that can email you the status of the raid periodically with cron.

    Remember to test the config by unplugging each drive separately. Of course it will take awhile to sync each drive...

    If you are feeling feisty and have more money to spend try this (a copy of a previous post of mine):

    Here are some interesting numbers:

    $250 per drive
    400GB per drive
    4 drives
    1.2 TB in Raid 5

    Total cost $1,000
    or $0.83 per MB.

    So there you have it. A terabyte file server for about $1000 will be a reality soon enough. Nice. Serial ata will lessen cable clutter, and only 4 drives will be doable in any spare decent case and power supply.

    Hopefully it won't take too long for prices to drop to $250.

    Of course Raid of any level is no replacement for a full backup, but it's certainly better than nothing or relying on a single drive no matter how good the quality/warranty.

    1. Re:Raid 1 or Raid 5 by 3terrabyte · · Score: 1

      You can get 200GB drives now for $101 each. (Pricewatch) Only need to buy 6 to do RAID-5 and hit 1TB.

      --

      Why are there only 19 people folding@home for slashdot?

    2. Re:Raid 1 or Raid 5 by 3terrabyte · · Score: 1

      I'd also like to see where you got 400GB drives for only $250. If they're even for sale yet for the common peon.

      --

      Why are there only 19 people folding@home for slashdot?

    3. Re:Raid 1 or Raid 5 by ed1park · · Score: 1

      I was projecting the pricing to when they would be available at $250, which isn't terribly too long from now. Sorry I didn't make that clearer.

    4. Re:Raid 1 or Raid 5 by ed1park · · Score: 1

      Yeah, but who wants to stick 6 drives into a case? Power requirements, heat issues, spacing, etc.

      Personally, I'll wait until i can get 4 400gb drives. Not a big deal really.

    5. Re:Raid 1 or Raid 5 by 3terrabyte · · Score: 1
      Sorry, I didn't know we were playing make believe from the future.

      All I'm saying is you can get a TB RAID 5 going for only $800, right now. Some of us who thought it was cool to have a 10-bay super tower case 5 years ago, are now looking at smaller sized cases (Shuttles ,etc) and thus can stick their unsightly hunk of metal in the basement as a central file server.

      --

      Why are there only 19 people folding@home for slashdot?

    6. Re:Raid 1 or Raid 5 by ed1park · · Score: 1

      Apology accepted. You're way too uptight. Relax. :)

      Another thing to consider when using more drives in RAID 5 is that you multiply the chance of a drive failure causing downtime. An extra drive is just another point of failure.

  51. bigger questions, cost of insurance by Anonymous Coward · · Score: 0

    RAID does little for you when you have a power problem, either the power supply smokes the mother board, or the drive goes and hozes the IDE interfaces of other drives.
    .
    I have had both happen.
    .
    The cheaper solution - is to purchase drives with a good warenty and not the cheapest thing you can find, and a good power supply, not the cheapest one.
    .
    But the true answer depends on how much you value your time, here - down time at work is about $4000 per hour.
    .
    What is your time worth for your personal time and trouble?
    .
    Downtime at home costs what?
    .
    When will you be upgrading or replacing this? IN 2 years, or 3 years?
    .
    What is your personal ROI needs?
    .
    The decision is like buying an insurance policy.

  52. Double Nickle by Ed+Almos · · Score: 1

    Here we use the 'double nickle' on all our file servers, RAID 5 spread across five disks. In six years we have never lost data due to a drive failure and if one of the little buggers does die we just pull the drive out of its cage and slot in a new one. The server BIOS (IBM Netfinity) then takes care of rebuilding.

    Ed Almos
    Budapest, Hungary

    --
    The more corrupt the state, the more numerous the laws. - Tacitus, 56-120 A.D.
  53. RAID 1 for small use only by fayd · · Score: 1

    Generally RAID5 or RAID 10 (not 0+1) is what you'd like to see, but 5 requires a minumum of 3 disks (4 or 5 is better), and 10 requires a minumum of 6 (again, more x2 is better) disks. For personal use, there's just not that much space in the chasis for that many disks. Not to mention the potential cost of acquiring that many disks.

    Really, your only choice is RAID1. Two disks, maybe a card (if you don't use the Mobo RAID Controller that seems to be standard these days). For Hardcore (even personal) usage, you're probably better off going with SCSI. However for light use, IDE is fine.

    I haven't seen alot on SATA RAID yet, but it seems to be pretty popular. I would imagine it'd be fine for light use as well.

    1. Re:RAID 1 for small use only by swv3752 · · Score: 1

      Raid 10 or 0+1 requires only 4 disks. But I think raid 1 with some other source of backup is good.

      For a personal file server, ATA or SATA would be fine. Even a software solution should work, but hardware is usually better. I am told Windows can setup software raids and I know Linux can do it. Ars Technica recently had an Article where they setup software Raid on a Mac with some USB drives so apparently it can do it as well. (I have seen some benchmarks of some hardware that was truly atrocious.)

      --
      Just a Tuna in the Sea of Life
  54. RAID 1 for SOHO by Anonymous Coward · · Score: 0

    RAID 1 has another advantage for no one has listed. Make sure to mount your drives on removable trays. In the event of a fire or other disaster, you can just yank out one drive and be confident that you have saved all your data.

    No need to burn to a crisp while trying to unplug all the cables going into the PC.

  55. RAID 5 by Mercenary_56 · · Score: 1

    I'm currently running a 3 drive RAID 5. It was pretty easy to get going. It all depends on how much you want to spend and what you want to do with the server. RAID 5 gives you (N - 1)*(drive size) storage (3 x 200GB drives gives you 400 GB storage). The problem with RAID 5 is it requires at least 3 drives, the more the better. I really like my 3ware sata raid card, it gives you the option to have "hot spares" so should it detect a problem, it will automatically start rebuilding onto the spare. It's also a hardware-based card meaning (among other things) it takes very little from the server to rebuild the drive. 3ware's drivers were easy to get running (even in linux) and it included a monitoring system that can send alert emails should something go wrong. For more information on the 3ware cards, check their new line out here

    --
    /* Insert some overused slashdot quote here */
  56. Software raid by Rei · · Score: 2

    What I really want to know is what sort of performance you get from software raid solutions. After all, the concept of being able to get redundancy without forking money over for a raid card (even from ebay, they're expensive), is rather tempting.

    --
    You know when it's okay to shout fire in a crowded theatre? When it's on fire.
  57. Mix & Match by SuperChuck69 · · Score: 1
    If I build a RAID-5 array out of, say, 5 250gb hard drives and five years down the road one of the drives craps out, can I replace it with a 250gb drive of a different make and model? Maybe a different speed?

    Question 2
    What if I want to add another 250gb drive to my array (to bring the total up to 6)? Would that be possible?

    --
    :wq
    1. Re:Mix & Match by isolationism · · Score: 1
      Mixing and matching makes and models is generally not a good idea -- particularly because the disk geometry is the crucial part here -- the geometry is going to determine how well the drives perform together; even if the drive is much faster but the geometries aren't similar, you're in trouble. It's a good idea to buy really popular drives for your RAID array that are likely going to be around for a while.

      As far as question 2 -- It depends. Hardware RAID vendors usually offer this option. Adaptec does for its ATA/SATA models (but the maximum number of drives you can connect is four, I believe) and Promise only offers this for SOME of theirs -- check the specs closely. Just about any SCSI RAID card will allow you to add more drives later. As far as software RAIDs go -- I have no idea. I'll leave that to the softRAID geeks to answer.

    2. Re:Mix & Match by stanmann · · Score: 1

      You should mix and match batches at least, if not manufacturers. Hard drive failures as we all know frequently occur in groups, so limit your failure points as much as possible.

      No

      --
      Food not Bombs is a nice platitude but it breaks down when you notice that the Bombees are usually well fed
  58. humans fail more then drive? by Incy · · Score: 2, Insightful

    I'm setting up redudent storage at home. After looking at all the RAID options, limitations and what I really needed I decided that a nightly backup of my data onto another drive on another system will be very redundent, prevent human error (me deleting things), and be cost effective. (since I already have another machine). Backing up a nightly image of your drive would restore things faster, but not help against human failures. (which I think are more common then drive failures.. but I guess it depends on the hardware and humans involved ;) ). Google around and you will find all kinds of arguements for IDE not being a good RAID solution. (mostly write cache related).

  59. Which RAID level to run ... by isolationism · · Score: 3, Informative

    Really depends on the type of RAID you'd like to implement.

    RAID 0 stripes the data across 2 or more drives and therefore offers no redundancy (in fact, in a two-disk stripe you mutiply danger of data loss x4 compared to two individual drives -- because you not only double the possibility of failure with two disks as opposed to one, but stand to lose all of the data on both drives should one fail). In any event, no point in discussing it further since redundancy is the point.

    RAID 1 offers redundancy by exactly duplicating the contents of a drive onto another drive, and needs exactly two drives. This is considered the most "fail-safe" method of RAID array although offers no performance benefits whatsoever.

    RAID 10 (or 1+0 or 0+1) is a combination of RAID 0 and 1 and is nearly always done with four drives, although technically it can be done with six or eight (if your controller supports them). It offers both performance benefit and redundancy, although the cost of the "wasted" drive space is quite high.

    RAID 3 involves using 3 or more drives, one of which contains parity information to rebuild the lost drive should any of the other drives fail. This is one of the least popular RAID formats and has more or less been totally replaced by RAID 5.

    RAID 5 involves using 3 or more drives and writes parity information across all drives in the array, allowing one drive to fail with little to no performance loss. The failed drive can be replaced and the RAID rebuilt. Depending on your hardware/software, this can often be done hot without having to power down the system at all. It is one of the most commonly implemented RAID solutions because of the good mix between drive use (the price goes down the more drives you have in the array yet you can have as little as three), redundancy, and high availability.

    There are others out there like RAID 50 but nothing worth mentioning, especially for a home user.

    The only question left to you is whether the RAID will be run by hardware or software (software might be a good choice if you are already running Linux on the server, but you'll have to ask someone else about it because I don't know a thing about it). Personally I chose the hardware route years ago and bought an Adaptec 2400A, which is a four-channel hardware ATA-RAID card capable of RAID0, 1, 10, and 5 -- guess which I use. I use all four channels, each with a 200GB SATA hard drive. I've lived through a couple drive failures, a full drive upgrade (when I first bought the card it was 4x60GB drives) and even once where two drives RAID tables got zapped (I'll NEVER put my drives in removable cages again) and never lost a byte of data -- so the CAD$500 or so for the investment on the card was worth it.

    600GB of storage means not having to worry about all those unlicenced-in-North-America-anime torrents running out of space any time soon.

    1. Re:Which RAID level to run ... by swv3752 · · Score: 1

      Raid 1 if properly implemented will result in up 2x throughput speeds. The write speed should be almost as fast as a single drive.

      Raid 1 has the cheapest setup cost but the worst economy. The storage of raid 1 is limted to the smallest storage capacity of a single drive. One can use different sized drives in most raid 1 arrays, and if done using software, one can even use the leftover space on the larger drives.

      Raid 5 gets better economy with the more drives in the array. The storage is N-1 meaning N is the total storage minus the storage of a single drive.

      --
      Just a Tuna in the Sea of Life
    2. Re:Which RAID level to run ... by Anonymous Coward · · Score: 0

      I use all four channels, each with a 200GB SATA hard drive. I've lived through a couple drive failures, a full drive upgrade (when I first bought the card it was 4x60GB drives)

      How exactly does a drive upgrade work with RAID? It's my understanding that each drive needs to be the same size as all the others. Sure with software RAID you could partition a big drive down to the smaller size and place that in the array, but then the rest of the drive isn't useable in the array. (Well actually it is, but it's pretty stupid to do that.)

    3. Re:Which RAID level to run ... by isolationism · · Score: 1
      Since what you've quoted compared to what you've said are two different terms that might be being confused, let me clarify one point beforehand -- When I say I "upgraded" from 4x60GB to 4x200GB, it was done all at once and was a completely new volume which was built and formatted from scratch and the data restored from a backup, not an upgrade in the sense that I gradually added more storage to an already extant array without breaking it. The 60 GB drives were completely retired from service; I coined it an upgrade because the controller (and everything else -- RAID level, server, file system, role, purpose, etc.) remained the same as before.

      Adding storage to a RAID 5 array without breaking it is, however, possible -- provided you have sufficient unused channels on your controller for the additional drive(s) as well as software (or possibly hardware, or a combination of both) support to do so. Having a drive of similar or identical geometry to those in your existing array is also highly desirable (or possibly necessary).

      I've never delved into the technical details of how the procedure actually happens -- nor would I care to, as I have more important things to do than understand how it works so long as it works -- but let me take a guess.

      A RAID 5's data is staggered across the containers in fixed-size blocks (often 16KB, IIRC, although this is usually adjustable). I imagine that when you add an extra disk to a volume, the software performs an operation similar to defragmenting a drive -- except that the blocks are re-organised (and necessary parity re-generated) across all of the disks to use the new drive (instead of making the files contiguous).

      I have no idea if any other RAID levels besides level 5 support the addition of disks to increase the capacity of an existing volume, so someone else would have to answer for those. Also, anyone in the know may feel free to shoot my theory full of holes with documented fact.

      As for partitioning a big drive down to a smaller size for inclusion in an array -- I'm not sure that's actually possible. In the case of a hardware RAID, a RAID table is written to every drive (before even the partition table, MBR, or anything else, I believe) containing information about the array -- like the ID number of the drive, the type and dimensions of the array, the condition of the array, etc. This would preclude the possibility of partitioning an individual drive manually. Software RAIDs may operate differently however -- someone in an earlier post did mention that you could still use the slack space in a larger disk with a soft RAID but I wouldn't know how to do it (or if that's even true).

      I am however fairly certain that just about any type of RAID array is limited to the minimum available container size -- if you have one 2 GB and three 200 GB discs and made a RAID 0, 1, 10, or 5 (no idea about any of the rest) -- the maximum size you could make an array by using ALL of the containers would be 2GB per container (creating a maximum usable array size of 8 GB by opting for RAID 0) which is obviously a pitiful waste, whether or not you were able to use the slack 198 GB in the remaining three drives. You'd be better off excluding the 2 GB drive entirely and making a RAID 5 out of the three 200 GB drives, where you would have approximately 400GB usable space with redundancy should one of the drives fail.

  60. firewire by chocolatetrumpet · · Score: 1

    Make your cold backup drive firewire if you want to simply plug it into another system to access your data.

    Very critical data (in small quantities) gets quad redundancy- desktop, laptop, firewire drive, and usb keychain.

    I tried to go a week without my data and facilitate public school classes at the same time... never again! I now have a 250gig firewire drive, confident that the chances of my laptop and desktop failing at the same time are relatively slim. The next step would be off site backup...

    --
    Spoon not. Fork, or fork not. There is no spoon.
  61. High Availability? by jazman_777 · · Score: 1

    RAID 5 requires time to rebuild. So you're down if a disk dies. RAID 1 is just mirroring. Is there any time needed for a rebuild? Or is it still available while you scramble to replace a hot-swappable disk? Obviously the new disk would need to by sync'ed up, is that done in the background?

    --
    Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    1. Re:High Availability? by isolationism · · Score: 1

      Sorry, no. Most hardware RAID controllers support hot-swap and hot-rebuild capability -- especially RAID 5, which is most commonly used for high-availability business operations. They will rebuild the missing drive from parity during idle cycles with little-to-no noticeable loss to the user.

  62. RAID? by Anonymous Coward · · Score: 0

    This is a hard one to answer. I would say that if I had to go with any one type, it would be RAID Ant and Roach Killer with Germfighter. It kills bugs dead!

  63. i have an idea by Anonymous Coward · · Score: 0

    why don't you give me your job.. and i'll take it from there

  64. Where do you want to spend your money? by puppetman · · Score: 1

    RAID 1 (mirroring) cards are cheap (and sometimes built into the motherboard), but for every gigabyte you want for storage, you need to be two gigabytes worth of hard drives.

    RAID 5 cards cost more money (sometimes a thousand dollars or more), but if you set up a 5 drive system, only one of the drives is "wasted" storing redundancy data (of course, you need to buy five hard drives). RAID 5 on three drives is possible, bu the "wasted space" ratio goes from 20% to 33%, as a whole drive's worth of capacity is used to store parity info.

    There are other RAID setups that use combinations of striping, mirroring, etc in an attempt to overcome performance bottlenecks.

    Another interesting setup is NetCell's SyncRaid/Raid XL - Tom's Hardware had an article on it a while ago, but actually getting it is tough.

    If you are planning on building a new system, Anandtech had an interesting article on RAID on the motherboard.

    After a few years of experience with Promise RAID 0+1, Promise RAID 5, 3Ware RAID 5 and SCSI RAID 5, and recently 3Ware SATA RAID 5, I would say that the cheaper solutions often provide a false sense of security, especially if using IDE drives. We have a machine that has a Promise RAID-5 IDE setup that on reboot, seems to require a few restarts to get up and running, and when we lost a drive recently, it took quite a while for the array to rebuild (though this might not be an issue at home, where it's faster to rebuild an array than rebuild your whole computer on a fresh drive). I had a Promise RAID 0+1 card in a computer a few years ago that would corrupt any large file that I moved between hard drives on the computer.

    If your data is important, get a good card from a trusted manufacturer (3ware is pretty good, and they have open source Linux drivers), and go SATA.

  65. EIDE RAID 5 by TarlCabbot · · Score: 0

    IANAAE (I am not an Adaptec Emp.), just wanna share.
    I just had a very good experience with the Adaptec 2400 EIDE RAID card ($350). Configured it for RAID-5, after a month diags told me I lost a drive (NO data loss). By the time I got a replacement, the RAID had repaired the drive unit. It's been 6 weeks and no new errors, but I have the spare on hand.
    (BTW, just for giggles, I boot with a SCSI drive.)

  66. RAID 1 by JBMcB · · Score: 1

    With the availability of cheap, huge drives, I'd do a RAID 1 of two big drives. This would be fine for a personal file server. For personal use I wouldn't worry too much about performance, I'd worry more about data integrity/security. Modern hard drive throughput can flood a 100Mbs, or even a 1000Mbs network with no problems.

    Here's an interesting review of chipset-based RAID solutions. RAID performance isn't always what you think....
    http://tech-report.com/reviews/2004q2/c hipset-raid /index.x?pg=1

    --
    My Other Computer Is A Data General Nova III.
  67. HERE HERE Re:My choice by sharper56 · · Score: 1

    Mod this guy up!

    It's all well and good to have redundant hot data but a virus, bad fsck'ing kernel, wacky power or a good ole' 'rm -rf *' will kill you dead.

    Better to get the warm/cold backup and be able to restore from a mistake AND have a clean system.

  68. Dead-drive security? by Anonymous Coward · · Score: 0

    Which configuration gives away the least access to data if someone decides to recover a dead drive that has been removed from your system... on a dead drive, a "wipe" can't be done, but much data will still, in theory, be accessable!

  69. use mirroring with mdadm on linux by Anonymous Coward · · Score: 0

    I just set up 2 250Gig drives to do mirroring using mdadm on linux. This setup is called RAID level 1 and in the event that one of the disks fails, you'll have a complete copy of this disk. Although this approach only allows you to use half of your total disk capacity, I think the simplicity outweighs that considering how cheap hard drives are these days. See the HOWTO below:
    http://www.tldp.org/HOWTO/Software-RAID-HO WTO.html

  70. Avoid Promise like the plague! by JoeShmoe · · Score: 5, Informative

    True story...had a personal fileserver with a Promise RAID card. I got the Promise card because it was cheap and had a good rating on a couple of review sites.

    What I didn't know at the time, but learned the hard way, is that Promises's RAID monitoring program "PAM" is a user-mode only application. That means that if you don't login, it doesn't run. Care to guess what happened to me?

    At some point while I was gone for the weekend, I can only guess something crashed and rebooted Windows 2000. When it rebooted, I didn't have it set to automatically login (why would I? it's a server). So "PAM" wasn't running when one of the drives in the RAID 5 set failed. Maybe it even had something to do with the crash, I don't know.

    Now, the point of PAM is that if a drive fails, an e-mail gets sent, in this case to my mobile phones textpage address. Since PAM wasn't running however, nothing was sent. The drive failed and, I can only guess, put off so much heat that it cooked the drive above it (why do so many cases mount hard drives horizontally above each other anyway?) and next thing I know, I can't login to my server from where I'm staying. I call a family member with a key to come by and they are unable to restart the server. It wasn't until I came home and read the BIOS messages that I understood why. Everything gone.

    I had a lot of stuff on CDR, but let me tell you, I was plenty outraged that Promise could design something so utterly stupid as a monitoring utility that doesn't know how to run as a service. Even to this day, PAM still will only run as a user-mode program, and even worse, you actually have to login to the program now to start it, which can't be scripted.

    F Promise. Only a complete and utter fool would be stupid enough to buy any of their products. May they rot in that special place reserved for child molesters. (Yes, I'm still bitter about it)

    - JoeShmoe
    .

    --
    -- I wonder which will go down in history as the bigger failure: the War on Drugs or the War on Filesharing
    1. Re:Avoid Promise like the plague! by Anonymous Coward · · Score: 0

      "Any Windows 2000 program can run as a service. That's where srvany.exe is for (clicky).
      Ofcourse, your urge to project your own shortcomings on the manufacturer of your RAID controller is very reasonable and totally non-indicative of your evolutionary distance to the Western Lowland Gorilla."


      Dang, what's your f-in problem? Why flame the guy like this? Have you *used* srvany.exe? I have. Alot. Does it work equally well on all programs (including programs that were not designed to work in this way) that you try to run as services? Hell no.

      Have you tested this PAM program with srvany.exe? Hell no. So STFU.

    2. Re:Avoid Promise like the plague! by verbatim_verbose · · Score: 1

      You DO know that Promise makes quality RAID equipment, right? Don't hate them just because you bought the cheesy stuff...

    3. Re:Avoid Promise like the plague! by benzapp · · Score: 0

      May they rot in that special place reserved for child molesters. (Yes, I'm still bitter about it)

      Just because you some perv touched your pee pee doesn't mean its ok to harbor such hateful feelings. Sexuality is normal behavior. Forgive and forget!

      (make sure you carry some k-y in case someone wants to have there way with you in the future)

      --
      I don't read or respond to AC posts
    4. Re:Avoid Promise like the plague! by Anonymous Coward · · Score: 0

      Yeah, and why the fuck did you not have an auto email notification when your server rebooted? Is an unexpected server reboot not important enough to notify you about?

    5. Re:Avoid Promise like the plague! by Anonymous Coward · · Score: 0

      If you use FireDaemon you can turn your user-mode monitoring utility into a service with all of maybe 5 clicks.

    6. Re:Avoid Promise like the plague! by Anonymous Coward · · Score: 0

      You can use a utility to run user-mode programs as a service... not sure if that was tried and caused problems but if not, maybe a way to get more life out of your crappy hardware.

      If not, there's always ebay.

      Myself, I backup important data across the LAN to my wifes PC. As I build up enough I archive to CDR/DVDR.

      Works for me, and if a drive fails I just buy a new one and don't have to worry about getting the same size/etc. Stick sucks if/when it happens.

    7. Re:Avoid Promise like the plague! by peacefinder · · Score: 1

      Yeah, I'm not a fan of Promise... or at least not of the particular RAID card I inherited at work. (The FastTrak-66)

      Before the business had an IT staff, they bought a system from a local computer shop for use as a windows terminal server. It needed to be pretty highly available, so they put an IDE mirror set in it using the FastTrak... which worked fine for a couple years.

      But when a drive finally died, the system stopped serving terminals. It kept the data, which was handy but not at all critical. The reason the system was RAID to begin with was so that it would continue to do its job in the event of a fault. It might be described as just a performance hit, but it was about a 98% hit. The local session was incredibly slow, and it took me about 30 minutes just to to complete the login and shut down process.

      It sure didn't fill the need to remain operational. On the bright side, it did keep the data... so if that's all you're after, it should work fine.

      (In fairness to Promise, I suppose this may be a problem common inherent to IDE-RAID or particular to that older controller. I replaced the server with SCSI-RAID, so I'll probably never know.)

      --
      With reasonable men I will reason; with humane men I will plead; but to tyrants I will give no quarter. -- William Lloyd
    8. Re:Avoid Promise like the plague! by Anonymous Coward · · Score: 0

      Dear Joe Schmoe...
      Promise does suck, buy a 3ware.
      But seriously, I thought every slashdotter out there as least knew how to make something run without logging in.
      Open regedit and put a link to the software in
      HKLM/Software/Microsoft/Windows/CurrentVersion /Run
      - Joe Shmuck

    9. Re:Avoid Promise like the plague! by Anonymous Coward · · Score: 0

      I aggre ! I had a promise PC100 ATA RAID card. The card ran fine for 4 months on my ext3 debian linux machine in RAID-1 mode. When I decided to power down my server to install some new hardware, I figured it would be a simple power off, install new hardware, poweron procedure. Ohh how I was wrong ! To my alarm, when I powered the box back on, I had file system errors all over the place. I couldn't even repair the filesystem, it was gone and there was no indication as to why it died.

      I was extremely pi**ed off because I had a load of personal photos from vacation stored there.

      Remember to always keep a 2nd copy on a seperate non-RAID disk and don't rely on RAID for safety AND Stay far, far away from promise products.

  71. RAID 5 by Luciq · · Score: 2, Interesting

    Actually, I just built a 1TB fileserver for my home last month (I do a lot of video editing and need a secure place to store it). I'm using Mandrake Linux 10, but most any flavor will do as long as you have the raidtools installed. Also be sure to install Samba so you can map drives on both Windows and Linux systems.

    One great thing about using Linux on the fileserver is that you can use software RAID. As the name implies, this requires no special controller cards (which is nice, since RAID 5 controllers typically run $200+). You also have the option of setting spare drives, which allows the array to begin rebuilding immediately in the event that one drive fails - the spare takes its place. Setup is easy - create a RAID, select what type you want, and then add drives to it and format.

    I'm using a RAID 5 setup with 5 x 250GB drives giving me 4 x 250GB = approx. 1TB of storage space. As has been mentioned, using RAID 5 allows you to recover if one drive fails. The odds of more than one drive failing before you have a chance to rebuild the array are essentially the odds of your box being destroyed (tornado, fire, etc.).

    Also previously mentioned, never attach more than one drive per IDE bus (assuming you're using IDE like I am). Doing so is irresponsible from a bandwidth standpoint as well as from a reliability standpoint, since a drive crash typically brings down the bus, and all drives on the bus with it (and as we all know by now, losing >1 drive is not survivable). Buy some cheap PCI IDE controllers, keeping in mind to ensure that they're dual channel if you plan on connecting >1 drive per controller.

    Take some time and read this - it will tell you everything you need to know.

  72. Maybe its redundant... by SmileR.se · · Score: 1

    ... but I like to point out that RAID (at any level) is not a replacement for ordinary backups because you still have a (fair) chance of filesystem corruption

  73. Need for offline backup by Anonymous Coward · · Score: 0

    I use RAID on all critical servers but even RAID 5 or better isn't 100% protection for your data. Last week I had a power failure that corrupted critical systerm files on a box and lost all the data. I chose to use CD/DVD backup of critical data (only a gig or 2) for that box. I have had it happen on Novell server with mirroring done in both hardware and software. The critical areas are directory tables and File allocation tables (Can't remember what the modern equivelant is). DVD burners are cheap, make a script file have it run at night and change the dvd everyday. I am glad I did.

  74. By a process of elimination... by Zocalo · · Score: 4, Informative
    So, your key requirements are:

    It's for home use

    No data loss if a drive dies

    Easy to rebuild - remove dead drive, install new one

    Budget... Ah. Why is it *every* "Ask Slashdot" never mentions the budget? On the cheap, you could do simple mirroring RAID1 - most mobos with on-board SATA RAID will do this for you. The overhead is that you pay twice as much per GB because you obviously need two drives and the performance gains are negligable.

    Personally, I'd take the more expensive route; get a proper hardware RAID controller with proper RAID management software. There are 4 port SATA RAID controllers (who *really* still needs SCSI for home use?) for a few hundred dollars and do full RAID5. You lose one drive for the parity info, but that could be as little as 25% of your total capacity if you get four drives instead of the the minimum RAID5 requirement of three drives.

    Also, with a proper hardware RAID controller, you should also get a performance boost from use of RAID and have minimal CPU overhead. Get four of Seagate's new 400GB drives and you'll have over a TB of disk space, which should give you some bragging rights for a months or two before it's old hat. :)

    --
    UNIX? They're not even circumcised! Savages!
  75. 3ware by Ann+Coulter · · Score: 1

    3ware Escalade series products provide incredible amounts of storage for your needs. A single card can support up to 12 serial ATA hard drives. One can put 24 400GB hard drives into a 5U case and expect 8.8 TB at one's disposal. Since the question is regarding personal fileservers, I would expect an expectation of lowered cost. Having a single machine embody the entireity of one's needs is more cost effective than having multiple machines doing the job. That 8.8 TB assumes RAID 5 setup, which means that one of the drives, out of 12 on a card, will act as a parity check. This setup will provide great storage capacity in a highly reliable package. The cost of such a system is less than that of other servers with the same storage capacity.

  76. Go Software RAID to save money by WD · · Score: 1

    If you've got an old PC, then really the only cost will be the hard drives to put in it. (and possibly an additional PCI IDE controller, so that there's no more than one drive per channel)

    Sure software RAID will cause increased CPU load, but if it's used for something like NAS, the network is going to be the bottleneck, not the RAID.

    RAID5 will give you the most space available out of your 3 or more drives. (n-1). RAID1 will give you half of the space, with better write performance.

  77. L@@K!!! R@ID LEVEL 5000 IZ H3R3! by Anonymous Coward · · Score: 0

    Tired of hard drive failure. Think that RAID is too expensive?!?!? Why not join everyone that is running RAID 5000!.!.! RAID 5000 is a whole new level of RAID so much better than any other RAID's we had to take it up over two orders of magnitude. It uses all the best of RAID 0-50 with non of the cost usually associated with expen$ive hardware and extra drive$. It is a unique piece of software that keeps your hard drive from failure and garauntees 100% no-file loss.

    Don't be the last in your clan to get this l33t software! Order today!

  78. Best way to boot software RAID? by phorm · · Score: 1

    What I'd like to know is the best way to boot software RAID. At the moment, I have a 1GB root partition on disk 1, and then various other partitions for /var /home /usr etc etc

    Other than root, everything is RAID-1. But if the primary disk goes down, I will still lose my bootsector and /etc. So weekly, a cron with rsync /etc to the secondary disk. I'm wondering if anyone can think of a better way to do software RAID-1 with two disks (can you RAID your root partition using software RAID?).

    1. Re:Best way to boot software RAID? by smcavoy · · Score: 1

      yes, it's entirely possible. I use it on a number of servers.
      check out http://www.tldp.org/
      they have howtos for Root on RAID

  79. RAID information by JWSmythe · · Score: 4, Informative
    My goals are to build a file server that can live through a drive failure with no loss of data, and will be easy to rebuild. Ideally, in the event of a failure, I'd just like to remove the bad hard drive and install a new one and be done with it. Is this possible?


    You want a Promise UltraTrak SX8000 It's the easy idiotproof array. We're using several of these.

    If a drive fails, it beeps at you til you replace it. You just yank it out, and put in a new drive, the same size or larger. It then rebuilds automatically. No shutdown or reboot required.

    The Linux crowd will be happy to know the RM series runs linux. I don't know about the SX series, but I suppose it does too. Either one appears to the server to be a single SCSI drive. No drivers required, other than making the SCSI card of your choice work.

    There's the Linux method of doing it too, which I like a lot. It saves you a *LOT* of money in extra hardware. You can go with 3 drives without adding any extra cards to your system, or you can put in IDE controllers to add as many drives as your system can support (PCI slots, power, and physical mounting points are the limitation). Read the "Software-RAID-HOWTO", which should come with your system. I've done many of these also, and they work quite nicely. You have to shut down the system to swap a drive, and then run `raidaddhot` with a couple parameters (the md device, if I remember right), and you can be running while it rebuilds.


    How many drives to I need to get this done, 2,4 or 5? What size should they be? I know when you implement RAID, your usable drive space is N% of the total drive space depending on the RAID level."


    You should have looked it up before you posted.

    RAID 5 is the most common for a large redundant array. The array size is (N-1)*size . The more drives you use in a single array, the better off you are for size loss.

    3 100Gb drives = 200Gb
    5 100Gb drives = 400Gb
    10 100Gb drives = 900Gb
    10 200Gb drives = 1.8Tb

    RAID 0 is striping. No redundancy, which you won't be happy with. (One failure means losing the array.

    RAID 1 is mirroring. With two drives, you still only have the size of one.

    RAID 50 is nice where it does striping across redundant arrays. You lose size, but gain speed.

    Most other RAID types aren't very popular for various reasons.

    Watch out for going over 2Tb in size on a single block device. I'm having problems with that right now. I have two Promise VTrak 15100's with 15 250Gb SATA drives in each, and anything with a block size over 2Tb is giving me grief. There are legitimate reasons for this, most of which newer documentation claims to be fixing, but I'm still having problems with a current Linux release. Making logical drives under 2Tb works, but doesn't accomplish what I need.

    I hope this helps.
    --
    Serious? Seriousness is well above my pay grade.
    1. Re:RAID information by dsouth · · Score: 1
      RAID 0 is striping. No redundancy, which you won't be happy with. (One failure means losing the array.

      RAID 1 is mirroring. With two drives, you still only have the size of one.

      RAID 50 is nice where it does striping across redundant arrays. You lose size, but gain speed.

      Most other RAID types aren't very popular for various reasons.

      Acutally, the other RAID types are quite poplular, but not in low-end applications like the one being discussed.

      RAID 3 is used extensively in sitiations where high-bandwith, large accesses are required (eg video streaming, sequential access of large datasets). RAID 3 and 5 differ in how the parity is stored, in 3 there is a dedicated parity drive, in 5 the parity is "distributed" to each disk in the raid set. One benifit of RAID 3 is that a single disk failure has little impact on performance compared to RAID 5.

      IIRC, RAID 4 is used by NetApp appliances for reasons I don't remember.

      RAID 5 tends to be used for things like databases as it handles smaller random accesses somewhat more gracefully than RAID 3 (though either can be tuned for better performance by twiddling cacheing and stripe sizes).

      Part of my job is optimizing RAID arrays for "big data" viz -- we currently have around 30TB of fibre channel raid systems in use as scratch space, mostly RAID 3 but a couple RAID 5. Either can do the job, but there are trade-offs. [Actually we then RAID 0 the above luns into logical volumes for XFS filesystems, so we can usually sustain read rates upwards of 600MB/sec.] Beats being unemployed. :-)

    2. Re:RAID information by PlusFiveTroll · · Score: 1

      Look at the 3ware controllers if you want to create partitions over 2Tb, from what I've seen it supports it rather well.

    3. Re:RAID information by justins · · Score: 1
      RAID 5 is the most common for a large redundant array. The array size is (N-1)*size . The more drives you use in a single array, the better off you are for size loss.

      And the more completely fucked you are performance-wise when a drive dies and the array has to run in degraded mode. In that instance the controller has to read from every drive in the array for every single block read and calculate parity, so the performance suckiness increases linearly. It also takes longer to rebuild a drive in a really large array.

      As a practical matter a lot of that probably isn't important, just thought I should mention it.
      --
      Now before I get modded down, I be to remind whoever might read this that what I am saying is FACT. - bogaboga
  80. recent projects by ch-chuck · · Score: 1

    I just finished something like that - one server is a cheap ($150 from ebay, incl ship) PIII 800Mhz with a $20 AHA2940, a $30 scsi cable with 5 connectors and 4 36Gb IBM disks for $180 (all from ebay). Slap RedHat 9 on it, read the HOWTO, use the built in tools and blammo, 100Gb raid-5.

    Next project was a Sun E250 from ebay for $300 (incl. ship!), that came with 6 9Gb disk drives. Also got a box-o-10 18Gb drives for $100, and 5 spud brackets for $60. Replace 5 of the 9G drives with 18's, install DiskSuite, follow the instructions and blammo, 50Gb raid w/ an automatic hot spare failover, tested and working (just yanked a drive out one night to 'simulate' failure). Not the biggest but relatively inexpensive and very reliable.

    --
    try { do() || do_not(); } catch (JediException err) { yoda(err); }
  81. More SCSI snobbery.. by swb · · Score: 1

    I replaced 6 out of ~60 of our "high quality" name-brand HP and HPaq SCSI hard drives last year. All were less than 3 years old and all are installed in name-brand racked servers and disk array cabinets, in a clean, modern, and well air-conditioned data center. None get pounded too hard except during the weekly full backup, either.

    I don't think buying "high quality" SCSI drives does all that much for you, frankly. If it makes you feel more 5up3r 3l1t3 and validates your purchase, great, but experience shows it's not a panacea.

    1. Re:More SCSI snobbery.. by Anonymous Coward · · Score: 0

      I replaced over 40% of the standard IDE drives here in desktops and low end servers...

      a 10% loss in a scsi raid is easily dealt with. a 40% loss is unacceptable.

      anyways you CAN buy server quality IDE drives.

      He is right... buy good drives first then look at RAID.

    2. Re:More SCSI snobbery.. by Anonymous Coward · · Score: 0

      Keep in mind that for the price of one SCSI drive, you can replace an IDE drive seven or eight times.

      I have almost two dozen machines at home from Sun servers to standard PCs and linux servers and rackmounts and in the last fifteen years, I have only had three hard drives ever fail on me out of the countless IDE drives I have used. I currently have more than 40 IDE drives in operation at home and have yet to have a failure in the last four years *AT ALL*.

      Besides, that's why you buy cheaper (compared to SCSI) IDE drives and a decent hardware raid IDE controller card. You get the affordability of the cheap IDE drives with the security of RAID5.

      If I'm running IDE in RAID or SCSI in RAID and in each, one drive dies... what do I care? Each can be fixed by replacing the drives without losing data. So... little difference.

    3. Re:More SCSI snobbery.. by Tenareth · · Score: 1

      As someone that has well over 3000 disks spinning in my data center, SCSI definately has a much longer life-span than IDE. True, some drives will fail quickly due to manufacturing issues, but if they make it past the first 6 months, they generally last close to 4 or 5 years before the failure rates start to go up.

      Compare that to the slightly more than 1000 IDE drives we use on the desktop/batch machines, which we have to swap out on a fairly regular basis.

      --
      This sig is the express property of someone.
    4. Re:More SCSI snobbery.. by Tenareth · · Score: 1

      Granted... disk still fail, or RAID wouldn't be so popular... just saying, SCSI does generally have much longer lifespans.

      Drives fail, just get used to it :)

      --
      This sig is the express property of someone.
    5. Re:More SCSI snobbery.. by Sloppy · · Score: 1
      Might the drives' environmental conditions in your "data center", have been superior to the desktop machines? In my experience, desktop machines sit under a desk on the floor and kicked by smoking users, are generally less-well cooled/ventilated and full of dust bunnies when you open 'em up, and are directly plugged into the same power outlet as someone's laser printer. Whereas servers are "taken seriously", treated with TLC, may even have their own air conditioners, are probably plugged into a UPS, etc.

      I'm not refuting your conclusion; merely suggesting that you might not be comparing apples to apples.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    6. Re:More SCSI snobbery.. by Anonymous Coward · · Score: 0

      Well, the same goes for our 1U IBM servers as well. Although it seems to have stopped now. Had more SCSI disks failing than in our cheap IDE=>SCSI RAID boxes with 12 disks in each.

    7. Re:More SCSI snobbery.. by swb · · Score: 1

      I can't remember a desktop IDE hard disk failure in the last 5 years. We've had some logic board problems and CD/DVD drives crap out, but no hard disks. We've run our desktop machines around 4 years recently, so this covers about 500 or so machines.

  82. consider other risks too by BeerMilkshake · · Score: 3, Insightful
    RAID 1+ can protect you from a failure of any one disk. That's great, because that is the most probable fault condition.

    However, what happens if your place has a fire, gets vandalized, or a burglar takes off with your server(s)?

  83. More important questions: by Geiger581 · · Score: 1

    People usually scoff at the IDE vs. SCSI question nowadays, but for running a server, the underlying issue of 'consumer level' versus 'server level' drives remains. Server drives are designed to be left spinning for extremely long durations without failure while most PC drives are optimized for fast spin-up on boot. What you want to investigate is mean failure times, guaranteed spin-up-use-spin-down cycles, -Heat and Sound Output-, seek times, and sustained throughput. Good SATA drives are reasonably cheap, 0/1/0+1 SATA RAID controllers are becoming relatively common on motherboards, and SATA RAID5 controllers are getting more common and cheaper. RAID5 is obviously the way to go for 3+ drives if you can spare the US$200-$300 for a card.

  84. mod down, incorrect! by Anonymous Coward · · Score: 0

    RAID-1 is NEVER faster than a single drive, with a good controller it's slightly slower than a single dirve on both reads and writes. The rest of the information is correct (2 drives, redundant, only half space usable)

    1. Re:mod down, incorrect! by PatMouser · · Score: 1

      Excuse me?

      RAID-1 can be close to twice as fast as a single drive because you can have, in effect, the same read head on different pieces of data at the same time. If you've got identical copies of the data on two drives why would the heads on the two drives be reading the same data?

      Think before you reply, mi amigo.

    2. Re:mod down, incorrect! by Anonymous Coward · · Score: 0

      That's what he said:

      The performance of a RAID-1 array tends to be faster on reads but slower on writes when compared to a single drive.

    3. Re:mod down, incorrect! by Anonymous Coward · · Score: 0

      Oh, i thought it was a reply to the original post as the one you wanted to mod down was modded down... sorry :)

    4. Re:mod down, incorrect! by Tenareth · · Score: 1, Informative

      You are extremely wrong, RAID-1 should be faster on reads, but will be slower on writes if you are using a single controller. If you are mirroring across controllers, writes will be as fast as the slower drive (Though, they should always be the same exact model when you are mirroring).

      Any halfway decent RAID controller, or software RAID will do large reads by using both drives at once, greatly increasing the performance.

      IDE has some limits to this, because they are stupid drives compared to SCSI, but the controller can still take advantage of the 2 copies.

      --
      This sig is the express property of someone.
    5. Re:mod down, incorrect! by mdfst13 · · Score: 1

      "Any halfway decent RAID controller, or software RAID will do large reads by using both drives at once, greatly increasing the performance."

      If it does, it is not RAID-1, but RAID-0+1 or RAID-10 (I've seen both names and others used). Using both drives for reads is called striping and is characteristic of RAID-0. Otherwise you are correct. It's just your terminology that is loose. However, the previous poster was also correct in a literal reading of the statement: RAID-1 is for data backups but is slower; RAID-0 is speed. The two can be combined to get both benefits simultaneously (without sacrificing read speed or the data backup).

      I suspect that the confusion is mainly due to the fact that there is no point in pure RAID-1. The combination is strictly better, since there is no benefit from doing all the reads from one drive (except perhaps that the driver would be slightly simpler). I.e. what you call RAID-1 is actually the combination, because you've never used actual RAID-1.

    6. Re:mod down, incorrect! by mdfst13 · · Score: 1

      I should also point out that RAID-10 also means an entirely different kind of RAID as well as being sometimes used to refer to RAID-0+1. My previous post didn't make that clear.

  85. Try this... by wumarkus420 · · Score: 4, Informative

    At my last job, we needed a basic RAID device that was under $500. We found this: http://www.accusys.com.tw/7500.htm It was about $200, and is OS and system independent. You simply put in two IDE drives, and you magically have RAID-1. You can hot-swap the IDE drives if necessary. We had one drive go bad and it worked perfectly. I recommend it to anybody on a budget. It takes up 2 drive bays, so it's a pretty easy fit in any standard PC.

  86. May be it's just me but... by Anonymous Coward · · Score: 0

    This is the type of questions on ask/. sometimes I have the suspicion someone somewhere said "We need a RAID for our server but we don't now what to get. Let's throw the question into a bunch of nerds at /. and let them work for us.".

  87. Here's some reading material for you. by Grandmaster+Mort · · Score: 2, Informative

    First, you must decide which RAID level meets your needs/wants. To do this, you must educate yourself on the various RAID levels and the pros and cons associated with each so you can make an informed decision. I recommend reading "The Skinny on RAID" if you want to learn the various RAID levels available.

    After reading that article, you should learn about hot spares and what they can and cannot do for you. A recent article has been written about setting realistic expectations on what hot spares can do for you. "The Mythical Hot-Spare - Tape/Disk/Optical Storage" will be informative on this subject matter.

    Lastly, you should read "Kill SCSI II: NetCell's RAID 0 Performance + RAID 5 Security Equals SyncRAID" to look into a innovative IDE RAID card that can give you kick ass performance and reliability. Be sure to read the benchmarks on the review so you can make an informed decision.

    --
    si vis pacem, para bellum..."if you wish peace, prepare for war"
  88. rsync by Anonymous Coward · · Score: 0

    I have friends who are fans of using cat to copy one drive to the other, then using rsync to keep the second drive up to date. If all you want to do is be able to switch drives real quick in case of a failure, this is another option available to you. Downside of using cat initially is that the drives must have identicle geometry, but if you're doing RAID this isn't anything new.

  89. 0+1 by whitelabrat · · Score: 2, Interesting

    In my career I've had the best results with a 0+1 RAID also known as a striped mirror. Particularly because RAID 5 has some performance hitches to due to the redundancy method, you have to have a lot of disks to really get good performance and redunancy, and if you loose a disk your performance drops like a bomb.

    In 0+1 is all just data baby! Loose a disk, just break the mirror and you'll still get good speed until you can fix the failed disk.

  90. Might want to back up some... by Anonymous Coward · · Score: 0

    "I'm tired of HD failures."

    Not only going to RAID, but you might also want to figure out why you are having so many HD problems. Whats the temp inside your cases? Is it humid in your house?

    Reason I ask is I've had dozens of computers in the last 10-15 years and have never once had a hard drive fail (knock on wood!).

  91. Software RAID5 with 5 drives by Nightreaver · · Score: 0
    I'm corrently running on 5 x Matrox SATA drives in RAID5 for the very same reason you have stated. I found that you can easily replace motherboard, RAM, graphics card and the like, but when your disks fail hell is loose!

    When writing to RAID5 in software some CPU time is spent on computing the parity data, but shouldn't be a problem if your going to use a modern CPU.

    If your file server will run Linux and you will be running RAID in software, you should take a look at mdadm which is a lot better for managing your RAID array than the old RAID Tools.

    BTW, here's a hdparm test of my array:
    nightreaver root # hdparm -Tt /dev/md0
    /dev/md0:
    Timing buffer-cache reads: 1444 MB in 2.00 seconds = 720.67 MB/sec
    Timing buffered disk reads: 298 MB in 3.00 seconds = 99.28 MB/sec
  92. ghost? by thebdj · · Score: 2, Insightful

    I am going to get yelled at for this, but have you considered ghost programs? You know make an image and then when the machine dies you rebuild from the image. Seriously it takes less time to do then rebuilding the data from the raid array probably would be and you can use the extra space you saved for more fun stuff.

    --
    "Some days you just can't get rid of a bomb."
  93. Huh? How does RAID 5 work?? by green+pizza · · Score: 1

    If you want the best % of drive utilization go for raid 5. It works by Striping the data across 2 drives then XORing the data on the 3rd drive.

    That makes a little more sense, but it still seems like black magic to me. In the case of a big array, how can that one parity drive recover the data from any one dead drive? Is it because most of the data is striped across the rest od the drives? How about the case of just a 3-drive RAID-5 with 250 GB drives... two data drives (500 GB total) plus one parity drive. If one drive dies, now you only have half of the stripe data (just 250 GB worth of the stripe... every other block I suppose). But the parity drive, which is also 250 GB is built of parity data for BOTH drives. How that can work is complete black magic to me. It seems like data is being pulled out of the thin air.

    If you can explain this to me, please do so! :)

    Related question: would RAID 5 still work if the data stored was purely random (say from a bingo cage) numbers?

    1. Re:Huh? How does RAID 5 work?? by Oestergaard · · Score: 1
      In the example with two data disks and a parity disk (this is really RAID-4, but the principle is the same as for RAID-5, except in RAID-5 the parity blocks are distributed among the disks instead of being located on one disk), the parity is computed as "parity = data_1 (xor) data_2"

      Now, because exclusive-or works the way it does, the following holds:
      parity = data_1 (xor) data_2
      data_1 = parity (xor) data_2
      data_2 = parity (xor) data_1

      So, you run this algorithm over every bit on your disks, and you end up with parity information that will allow you to "regenerate" the information on any of the two data disks, regardless of which one is lost.

      Example:
      disk 1, disk 2, parity disk
      0 0 0
      0 1 1
      1 0 1
      1 1 0
      Now imagine we lose disk 2:
      disk 1, parity disk, d_1 xor p
      0 0 0
      0 1 1
      1 1 0
      1 0 1
      Voila! By computing the XOR of the data on disk 1 and the parity data, we can magically reconstruct what was on disk 2 before it crashed.

      The same will work if disk 1 or the parity disk was corrupted.

      If you try and write this down on paper, you will see that the scheme also easily extends to any larger number of disks. Pure genius :)
    2. Re:Huh? How does RAID 5 work?? by Ed+Random · · Score: 1

      Err - let me oversimplify a bit...

      Let's say you have Disk1 and Disk2. The contents of the parity disk, Disk3, are calculated with the following "RAID formula":

      "Disk3 = Disk1 - Disk2"

      This formula is embedded in the RAID controller (or software driver).

      Say, Disk1 = 12; Disk2 = 3 => Disk3 = 9.

      Now, Disk1 fails. The RAID formula now misses one value:

      "Disk3 = Disk1 - Disk2"
      9 = Disk1 - 3

      This yields: Disk1 = 12

      Say, instead of Disk1, Disk2 fails:

      "Disk3 = Disk1 - Disk2"
      9 = 12 - Disk2

      Same calculation: Disk2 = 3

      Finally, assume Disk3 fails:

      "Disk3 = Disk1 - Disk2"
      Disk3 = 12 - 3

      Therefore, Disk3 = 9

      This shows that a 3-drive RAID can survive the loss of any one disk. Of course, the actual formula is more complicated but it shows the general principle.

      HTH!

      --
      -- Gxis! Ed.
    3. Re:Huh? How does RAID 5 work?? by Bombcar · · Score: 1
      RAID 5 works no matter what data is stored.

      For simplicity sake, I'll use stripes of one bit in the example below:
      1 2 3 4 5 6 7 8 9 (9=parity disk)
      1 0 1 0 1 0 1 1 1
      0 1 1 0 0 0 1 0 1
      1 1 1 1 0 1 0 0 1
      1 1 0 0 1 1 0 0 0
      Now here's how the parity was calulated, in binary, for the first stripe:
      1+0+1+0+1+0+1+1 = 101 (keep only last digit) = 1
      Last stripe:
      1+1+0+0+1+1+0+0 = 100 (keep only last digit) = 0
      Now, if you cover any single disk, you then add up the remainders, and see if you get what the parity says.
      1+X+0+0+1+1+0+0 = 0 (parity of last stripe).

      Assume X=0:

      1+0+0+0+1+1+0+0 = 11 (last digit 1 != 0), so X must = 1.
      This also works with any groups of numbers, modulo the base system.
  94. stand-alone raid recommendations by mabu · · Score: 1

    What's the best stand-alone raid system? A Raid % setup that is self-contained and can plug into a SCSI port on a PC? Are there IDE systems that can perform well in web/mail environments?

  95. Re:Raid is not an option by Blaubart · · Score: 1

    "Redundant Array of Independent Disks" Gotta love commercialization eh? It used to be "Redundant Array of Inexpensive Disks", but I guess there wasn't much money to be made with that acronym. (Yes, I know that this move was made in recognition of the fact that RAID arrays are implemented for performance as much as redundancy nowdays, so 15k SCSI drives are pretty much the standard). Anyway, back to the topic at hand. For a home server, I'd cast my vote for RAID-1. Even though I run RAID-5 on my home server, I'm just nerdy like that and I think that's overkill for the average Joe. One thing to consider that I haven't read (but might be posted already) is rebuild time. If you have a RAID-1 array and a drive fails, you can keep working. (At your own risk mind you since there will be no redundancy anymore). With RAID-5, you lose a drive and things come to a screeching halt until you replace the drive. (Which is also why I have a hot spare in my system) Someone did mention it, but I'd have to second it - RAID arrays are not a substitute for backups. If you data is important, back it up. RAID only protects from hardware failures, not user failures, file system corruptions, viruses, hackers, etc.

  96. Alternate backup method: by Anonymous Coward · · Score: 0
    1. Tar, bzip, and encrypt your /home directory or whatever
    2. Rename that file to something like "olsen twins nude bubblebath.mpeg"
    3. Release on KaZaa
    4. Retrieve if drive(s) fail
  97. Lazy? by Anonymous Coward · · Score: 0

    Dear slashdot,

    I am really too lazy to use google. Instead of doing decent research on the subject by reading several HOWTOs, or taking a pencil and paper and doing some basic math I have decided to post an article to slashdot.

    My question is "Why? For the love of goddess, WHY?"

    Thank you for posting this fine question, and many others to add to my ignorance of google.

    Kind regards,
    Ann "on any moose" Coward

  98. RAID 3XL by brennz · · Score: 1

    Don't go with Raid 1 or Raid 5

    Go with Raid 3 XL

    1. Re:RAID 3XL by XenaWP · · Score: 1

      The RAID XL (a modified RAID 3) is amazing for personal, and small file server use. It's much faster than RAID5 as long as you don't need it to access a million files a minute like a web server. For a personal file server or multimedia box, it's perfect. My experience with it: I have the 5 port Raid XL card (http://www.netcell.com/) with 3 200gig WD drives attached to it all running as a media drive in my main comp. Yeild is a 400 gig array with parity. It has sustained throughput over 75megs/sec for files over 1 meg each. Due to user error (an id10t error), I unplugged a drive and messed up the array. It simply gave me a warning that one drive was no longer usable and needed to be replaced. No data loss, no slow down. I knew the drive hadn't been damaged so I reinserted it into the array. It asked if I should use the unassigned drive to complete the array and I said Yes. Just for fun I benchmarked the system before, during and after rebuild and it was almost exactly the same each time. Even when rebuilding, I was able to use the array for a large rendering project that was due the next morning. The drive remained perfetly usable even when it was being rebuilt. (all with cheap drives too!) Just for fun (never trust technology completely) I back up most of the files on that array to an old PIII box with a 250 gig drive in it. Hope this helps, it sure has helped me!

  99. RAID not as useful as advertised. by Anonymous Coward · · Score: 0

    I have elected NOT to use RAID as the most
    common failure mode for me is NOT hard disk
    failure, rather, power supply failure. As
    such, backups are more useful than RAID

  100. skip raid alltogether by brainchill · · Score: 1

    in my home file server I don't use raid at all. I have my drive with exported filesystems mounted under /export and my backup drive (identical drive) mounted under /backup (but not all the time) and I run this every night from cron

    #!/bin/bash
    mount /dev/yourdevicehere /backup
    cd /export
    find . -mount -depth | cpio -pdumv /backup
    umount /backup

    that way you have a perfect mirror copy of all of your data/home directories/whatever cloned on a second drive nightly and if the first drive dies you just unplug it and remount your backup drive as /export and away you go.

  101. 6+ SATA drives = RAID 50 by Anonymous Coward · · Score: 0

    Check out 3ware's latest options. Striped RAID-5's. Increased speed and redundancy. (You of course lose two drives' worth of space. www.3ware.com

  102. Linux software mirroring by mooboy · · Score: 2, Interesting

    I've found the linux kernel's built-in RAID capabilities more than adequate for most of my fault tolerance needs. The best part is I can move the drives to pretty much any system - a new motherboard, whatever - without having to worry about kernel support or finding that IDE driver. If a drive fails I can boot its mirror up in any system and be in great shape. I also use the utility mdadm to email me if one of the drives fails. For some linux firewall systems I've built, I use old crappy 6GB drives, but mirror them so there's no risk if one of them goes out. Looking at my basement firewall now and...

    root@fw01:~# cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid5] read_ahead 1024 sectors md0 : active raid1 hdb2[0] hda2[1] 38796864 blocks [2/2] [UU] unused devices: <none>

    everything is cool!

    --
    There's no place like 127.0.0.1
  103. Use an external RAID drive by Anonymous Coward · · Score: 0

    In addition to the plethora of external USB drives, you can now get external RAID drives that act as either a FW800 or USB2 external drive, where the RAID-1 (or RAID-0) is handled transparently by the hardware device itself. Miglia.com do one that provides RAID-1 with transparent mirroring, and you can hot-swap the drives without the OS even noticing.

    The main reason I looked at one of these is because configuring a RAID system is a pain in the arse under Linux (yes, it's do-able, but if something goes wrong, you're screwed). I've had friends who have toasted entire drives because they were set up with a RAID set of partitions, and it wasn't clear how to re-create then after a disk crash.

    With an external device (and FW800 gives faster throughput than the hard drive can manage on its own), if there's a problem with the host, you can just yank out the plug and stick it into a new machine. If there's a problem with the external drive (and you're using mirroring), you can just remove one of the drives and mount it into another (single) external drive until your replacement comes through.

  104. Drive cost by autopr0n · · Score: 1

    Given the cost of Raid-5 capable drivers, you'll probably get more storage for your dollar with raid-1 then a raid-5 solution, if you're a home user wanting to use IDE drives.

    --
    autopr0n is like, down and stuff.
    1. Re:Drive cost by stanmann · · Score: 2, Informative

      Actually not Here I priced it out

      --
      Food not Bombs is a nice platitude but it breaks down when you notice that the Bombees are usually well fed
  105. 2 drives with a complete file copy at 4 am by tstoneman · · Score: 5, Informative

    Don't get too fancy with yourself on this one...

    You definitely don't need any type of RAID solution because it doesn't offer you what you really need. You say you want RAID, but what you really want is backup.

    All RAID solution deal with disaster recovery, but they don't deal with the situation where you accidentally rm -rf a directory that you wanted. If you mirror or RAID 5 your drives, you're still hosed because both drives will delete the files. In the end, this is more important and much more convenient.

    Instead, go with a better approach which is copy or tar your files every night (or every week) to a backup drive, preferably over the network on a completely different machine. This will prevent the problem of a power surge or accidental shutoff from corrupting both drives at the same time.

    1. Re:2 drives with a complete file copy at 4 am by brer_rabbit · · Score: 1

      me too

      I fully agree with doing a backup instead of setting up a RAID. Either use rsync, or perhaps unison, depending on your use case.

      For myself, I've got my /home mirrored between my laptop and desktop machines. I use unison to keep the both in sync. On the rare occasion I accidentally delete a file, it's good to know I can still fetch another copy from the other machine.

    2. Re:2 drives with a complete file copy at 4 am by Anonymous Coward · · Score: 0

      I guess you guys can't READ ENGLISH. He said he wants to replace a drive and be done with it when a drive fails. Backup isn't what he wants, RAID is. He didn't say anything about file deletion. Backups are not zero-maintainence - you have to run them every X number of days, and when you have a failure, you have to restore the data AND pray the restore works.

    3. Re:2 drives with a complete file copy at 4 am by The+Prezent+Tenz · · Score: 1
      I agree. I have all my key stuff under a directory that get diff replicated every 2 hours to a server. The server then diff replicates to a USB drive (when it's on).

      It's over kill, but the drive on the server was a spare and the USB drive is just handy for transport.

      This way I get performance (my local drives are fast SCSI) and the data being copied every 2 hours means there's never a large transaction. I get reliability (3 seperate boxes with 3 seperate drives). I get low cost (other than the USB everything else was a spare part or something I would have bought anyway).

      Finally, my server once a month does a massive ZIP of everything (result is about 4 gigs) so I can still back it up to a DVD if there is something really important going on (year end, tax time, etc..).

      I'm not suggesting this as a plan, but I am suggesting it's worth being clever and using stuff you have laying about anyway.

  106. correct! by whitelabrat · · Score: 1

    Finally someone who know what their talking about!

  107. My strategy by bcs_metacon.ca · · Score: 2, Interesting

    I have two 80GB drives, with /boot (100MB) and /home (40GB) mirrored, but the rest is / on one drive and /data on the other.

    Basically, I'm more worried about keeping what's in /home than I am about full failover redundancy in the case of single-disk failure. Rebuilding the OS is a reasonably painless process but some of my data is irreplaceable (and backup CDs/DVDs are too easy to lose/break/corrupt/tempting to re-use). /data holds information I don't care about so much or that I can get back (like my ripped-from-CDs-I-own music).

    If zero-downtime is a critical factor for you, you probably want to RAID-1 the whole disk (just remember to copy the MBR, too!)

    --

    How appropriate. You fight like a cow.
  108. RAID 5 with global hotspare over RAID-10 by swb · · Score: 1

    Hotspares are way cheaper than RAID-10 and are as reliable, barring simultaneous, multiple disk failures. Most controllers will also allow you to have a single spare usable for multiple logical drives, further lowering the cost.

    1. Re:RAID 5 with global hotspare over RAID-10 by WuphonsReach · · Score: 1

      Hotspares are way cheaper than RAID-10 and are as reliable, barring simultaneous, multiple disk failures. Most controllers will also allow you to have a single spare usable for multiple logical drives, further lowering the cost.

      Cheaper, perhaps, except that if a 2nd drive in the RAID5 array goes before that hotspare finishes synchronizing, your data is toast. On some setups, you're looking at *hours* before that spare finishes spinning up. Anytime the array is in degraded mode, you're one click away from losing the entire thing.

      Which is why there's RAID6 (IIRC)... not very widespread, but it uses (2) drives for the parity information. So if you had (8) disks, 5 would be used for data, 2 for parity, 1 for hot-spare.

      Unfortunately, I don't have links on RAID6, and have only seen it mentioned in passing... so maybe it's all a dream.

      --
      Wolde you bothe eate your cake, and have your cake?
    2. Re:RAID 5 with global hotspare over RAID-10 by swb · · Score: 1

      Cheaper, perhaps, except that if a 2nd drive in the RAID5 array goes before that hotspare finishes synchronizing, your data is toast.

      But how likely is that to happen? We've had RAID-5 based systems here as long as I can remember, and I can't remember a situation where two disks failed at once. The closest we came was a situation where a drive failed (no hotspare), and a lazy admin didn't verify that the rebuild happened. When another disk failed, the whole logical drive was lost. But that wasn't a spare or simultaneous failure issue, it was a dumbassness issue.

      As far as RAID-6 goes, there's a Wikipedia entry on it, and it almost sounds like RAID-4's dedicated parity disk with mirroring of the parity drive. I've never seen a controller that actually implemented RAID-4 or 6, though. Usually it's 0, 1, 5, and 10.

    3. Re:RAID 5 with global hotspare over RAID-10 by WuphonsReach · · Score: 1

      But how likely is that to happen? We've had RAID-5 based systems here as long as I can remember, and I can't remember a situation where two disks failed at once.

      There are a few anectodal stories about drives from the same manufacturing batch being likely to fail right around the same time. You'll see people suggest that when you buy the drives for a raid array, that you don't get them all from a single source (or at least spread the purchase over the course of a few weeks).

      I won't definitively say that I've seen it happen. There might have been other environmental reasons that two drives in my RAID5 array went belly up within a week of each other. Fortunately, the array had finished rebuilding by the time the 2nd drive dropped out.

      --
      Wolde you bothe eate your cake, and have your cake?
    4. Re:RAID 5 with global hotspare over RAID-10 by swb · · Score: 1

      There are a few anectodal stories about drives from the same manufacturing batch being likely to fail right around the same time.

      That actually never occured to me, but at least where I work there's little that can be done about it. We buy HPaq servers, typically with enough drives for whatever the application is all at once, and the bureacracy makes part diversity impossible.

      For worse or for better, though, since HPaq doesn't make drive anymore, it's not unusual to get different vendor's drives in the carriers.

  109. Hardware solutions are a problem by Anonymous Coward · · Score: 0

    I see lots of people here suggesting proprietary RAID controllers and I most strongly disagree. The biggest problem is hardware obsolescence. Unless you can get an exact replacement for a failed hardware RAID controller, there is no way to recover your data when the controller fails.

    To my mind, RAID 1 (mirroring) is the best solution for reliability. As mentioned elsewhere here, RAID 5 will give you more storage efficiency, but at the cost of some downtime when a drive fails.

    Our NT server here runs RAID 1 (software) and we lost a drive a couple of months ago. No one in the company even knew! I RMAed the drive, had a replacement in one day. During that day, everyone in the company worked on the still-functioning drive. When the new drive came in, I had to kick everyone off for about 20 minutes while I did the drive swap, brought the system back up and let NT mirror the new drive in the background while everyone continued to work. Virtually 0 downtime. If we had hot-swap capability, it would have been 0.

    And hard drives are cheap nowadays; who cares if you are only getting 50% utilization? How much is your data worth?

  110. RAID-1 between drives made by different vendors. by sommerfeld · · Score: 1

    Over the past 20 years i've seen any number of cases where a particular drive model had a manufacturing or design defect which caused many/most of the drives to fail when the drive reached a particular age. (Anyone remember the RA81 glue problem? at a site with ~60 of them we were losing one or more a week for a while..).

    You can reduce your vulnerability to this problem by mirroring between drives of different design made by different manufacturers.

  111. you fucking dumbass by Grandmaster+Mort · · Score: 1

    Hey, dickcheese! It's Inexpensive, not Independent, you completely moronic ignoramus.

    "For all you Quiz Bowl participants, let's get the fun acronymical knowledge out on the table first: RAID stands for Redundant Array of Inexpensive Disks.

    'Seriously. No, wait, I'm not joking. That's really what it means. (You wouldn't believe how many people e-mail in saying that it's some combination of random, really, real-time, redundant, array, assembly, interconnected, independent, inter-relation, devices, etc).'

    Despite what Techweb and other sites say, the original name as proposed by the original researchers is just that (just consult Patterson, Gibson, and Katz). There's a darn good explanation for the name, and for the genesis of RAID per se. Since the inception of the hard drive, disk I/O performance has been a persistent performance bottleneck. Here's the abstract from the above mentioned source (Patterson, et al):

    'Increasing performance of CPUs and memories will be squandered if not matched by a similar performance increase in I/O. While the capacity of Single Large Expensive Disks (SLED) has grown rapidly, the performance improvement of SLED has been modest. Redundant Arrays of Inexpensive Disks (RAID), based on the magnetic disk technology developed for personal computers, offers an attractive alternative to SLED, promising improvements of an order of magnitude in performance, reliability, power consumption, and scalability. This paper introduces five levels of RAIDs, giving their relative cost/performance, and compares RAID to an IBM 3380 and a Fujitsu Super Eagle.'"

    - http://arstechnica.com/paedia/r/raid-1.html -

    Read it and weep, bitch!

    --
    si vis pacem, para bellum..."if you wish peace, prepare for war"
    1. Re:you fucking dumbass by strictnein · · Score: 1

      Give me a break... Hey fucktard... it's nice to see you get so upset over a little good-natured jab like that. I'm perfectly aware of the origins of the term RAID. Re-fuckin-lax.

  112. For home/small office use, cheap RAID 1 by John_Booty · · Score: 1

    For a few years I used an inexpensive (about $50) Highpoint ATA-100 RAID card on my home development server. It was perfectly adequate. I ran two drives in a RAID-1 config. Read/Write speed was very comparable to a single-drive solution, since it was a dual-channel card and I only had one drive on each channel.

    I didn't have any hardware failures, so I didn't get a chance to give it a "real" disaster recovery test, but when I disassembled that PC and plugged the drives into another machine, each one was perfectly readable. So I'm assuming that, if one of the drives had failed, I would have been able to access the data on the other drive with zero complications and problems.

    I don't think you *want* a more complicated solution than this for home or small business use. For home use, two hard drives are plenty noise- and heat-producing enough. The only reason you'd want a higher RAID level would be if you needed hot-swappability, or ATA-100 performance was a real bottleneck, neither of which would be a factor for home/small office use. A higher RAID level would give you less "wasted" disk space, but it's still going to be more expensive overall, since any kind of RAID-5 card will be far more expensive than a $50 (or built-in) RAID-1 solution.

    One thing I didn't like: the drives never seemed to spin down, no matter how I played with Win2K Server's power settings. I don't know if that was the driver or OS's fault, but I didn't like having those guys spin 24/7.

    --

    OtakuBooty.com: Smart, funny, sexy nerds.
  113. Hilarious by Anonymous Coward · · Score: 0

    I like macs, but a friend of mine suffered with one of the drives in his graphite G4 powermac for months

    it went sort of like this:

    beep-beep(from the firmware)...freeze

  114. Small and Slow Solution by $criptah · · Score: 1

    Look, I know what is the best way to implement a RAID setup. However, you have to ask yourself another question: what is the best bang for a dollar? I assume that you're just a geek(ette) that needs a safe form of backup without too much concern about performance issues. If so, go RAID 1.

    RAID 1 is cheap, it is easy to implement. That is all you need if you are afraid of losing your MP3 collection and other crapt that you have managed to gather. You can also have a small backup server where your workstations rsync important data on a nightly basis. That is exactly what I do.

    Tar, gzip, encrypt, rsync. A simple Perl (fuck perl, shell!) script can do it for you and then you run it from crontab. I find that having an independent backup solution is the best way to store all my important data that is nicely spread around several workstations and two laptops. Currently, I have only one drive, but I rotate my images and that is why nothing fills up. I will get RAID 1 setup as soon as get extra loot.

  115. My setup by proxima · · Score: 1

    I prefer software RAID 1. When I first set it up, I could only afford 2 120 gig disks. I kept one drive per controller (cable) and split the two disks between the built-on controller and a cheap (~$35) Promise IDE controller. I recently ran out of space and bought 2 200 gig disks, and another promise controller. The controllers play nicely together, and again I split the two drives between the two physical cards. That way, any one physical card can die and I still have my data.

    I like RAID 1 because you can mount either drive alone, on any system, and get at your data. No dependence on a particular RAID controller, and perfect redundancy (RAID5 only allows 1 disk to die at a time). I ran into some stupid setup problems with the second set of disks and used the ability to mount a disk alone, without using the RAID driver in Linux (md).

    Granted, you don't get as much total space, but the redundancy and ease of adding/removing 2-disk sets is key. You also get a performance hit on writes, but since my usage is primarily reads, this wasn't a huge factor for me. At 5 hard drives now, I had to upgrade the power supply (well, I didn't try the crappy one), and added a fan (I may add another).

    --
    "The universe seems neither benign nor hostile, merely indifferent." --Carl Sagan
  116. Multiple raid arrays? by Cyno01 · · Score: 1

    Might as well piggyback on a good RAID discussion. Is it possible to have multiple arrays within one system? I'm building a computer and would like to have a system drive and a storage drive, i want two 74GB raptors in RAID 1 for my system drive and 2 250GB SATA drives in RAID 0 for non-critical storage. I'll be running XP Pro, and my motherboard is a DFI NFII Ultra Infinity. My motherboard has 4 SATA ports, and supports both RAID 0 and RAID 1, but i dont know if it would support both separately. Will my mobo be able to handle this, or do i need a separate controller, if there are even controlers that can do this?

    --
    "Sic Semper Tyrannosaurus Rex."
    1. Re:Multiple raid arrays? by stanmann · · Score: 1

      Yes, Most controllers can do this, my promise SX4000 supports multiple RAIDsets.

      I would assume that the 3ware and Hipoint units can do the same. I know that most onboard units are crippled in one or more ways so you may need a seperate controller, but any good controller should do this for you

      --
      Food not Bombs is a nice platitude but it breaks down when you notice that the Bombees are usually well fed
    2. Re:Multiple raid arrays? by Cyno01 · · Score: 1

      I'm rather ignorant on this topic, so another question, my board basically has this built in. Can it do what i want it to?

      --
      "Sic Semper Tyrannosaurus Rex."
  117. I had FAILURES with my super SCSI system. by Anonymous Coward · · Score: 0

    I dropped big money a few years ago on a big SCSI server drive. It broke. I lost tons of stuff. I got a replacement. It broke. I lost stuff although not so much. Screw that. If your expensive SCSI disk breaks, you're fucked. If your cheap IDE disk breaks, you're fucked. If a cheap IDE disk in a RAID array fails, no big whoop. If two or more disks in a RAID array break simultanously, you're fucked.

    Now, here's a little lesson in probability. If drive failures were independent (or the great majority of them were), the probabilities would MULTIPLY. MULTIPLYING a number 1 by another number 1 yields a number that is even smaller than either number. Because I understand multiplication, I suggest RAID. Get it?

  118. The joys of RAID by retro128 · · Score: 4, Informative

    Seeing as how you want data redundancy, there are three RAID levels for you to pick from:

    RAID 1 - Drive mirroring.
    Pros:
    -Excellent read performance, no loss of performance if one drive crashes.

    Cons:
    -The amount of space you can have on this array is limited to the largest drive you can find. Then you have to buy a second one to mirror the data, which means you are paying double the cost per unit storage on your array.
    -Write performance is slower than other RAID levels.

    RAID 5 - Striped array with parity. You can stack as many drives as you want on this array (within limits of the controller of course) and lose only one for redundancy.

    Pros:
    -You can build a very large data array out as many drives as you want, losing only one for the purpose of data reconstruction should a drive in the array fail.

    Cons
    -Array performance dies in the event of a failure, as lost data is reconstructed on the fly from parity information stored across the remaining drives. Of course, performance is restored with the bad disk is replaced and the array reconstructed.
    -You need at least 3 drives to build a RAID 5 array.

    RAID 10 - Drive mirroring with striping. Essentially combines RAID 0 and RAID 1, hence RAID 10.

    Pros:
    -Redundant and fast. Array can survive multiple drive failures.

    Cons:
    -Expensive. You need at least 4 drives to get started with RAID 10, and go by 2's as you expand on the array. As with RAID 1, your price per unit storage is doubled.
    -The array can survive multiple failures, but that depends on which drives die...If you lose two drives out of the same mirror set, then the array is gone

    Which RAID level you pick depends on your application. If you are interested in having something like a 1 TB data dump, you'll probably want to go RAID 5. If you only want 200GB or less in your array, then RAID 1 is probably the way to go. If you are interested in lots of space, lots of redundancy, and have lots of money, then RAID 10 is probably what you want.

    --
    -R
    1. Re:The joys of RAID by justins · · Score: 1
      RAID 1 - Drive mirroring.
      Pros:
      -Excellent read performance, no loss of performance if one drive crashes.

      Cons:
      -The amount of space you can have on this array is limited to the largest drive you can find. Then you have to buy a second one to mirror the data, which means you are paying double the cost per unit storage on your array.
      -Write performance is slower than other RAID levels.

      And if RAID 1, 5, and 10 are the only RAID levels you've ever heard of, that statement is probably true. A nice mirror will be a heck of a lot faster with writes than RAID 3 or RAID 4, though, and will use much less CPU in a software RAID configuration.
      --
      Now before I get modded down, I be to remind whoever might read this that what I am saying is FACT. - bogaboga
  119. Consider offsite backup as well by Anonymous Coward · · Score: 0

    My setup is a RAID-1 setup, implemented through a hardware RAID controller. One disk is mounted permanently in the computer, the other is in a removable drive carriage. There is a third disk, also in a removable drive carriage.

    What this gains is, offsite storage without effort. Just pull out the removable drive carriage, and travel to your offsite storage (i.e. your desk at work.) Grab the third disk (which was in your desk already) and take it home, plug it into the now empty drive carriage slot. Break the mirror set and re-establish it with the new drive (using the permanently-mounted drive as the source of the mirror of course)

    Now if your house burns down, or the feds raid you, you still have your data. Offsite backup with almost no effort, no tape drives, no schedules. The downside is of course, you effectively use only 1/3 of your storage space. But what is more important, loss of data or being cheap?

  120. why not just rely on spinrite by keithy · · Score: 1

    www.grc.com

    now does NTFS. Linux and just about any other filesystem you care to mention! ;)

  121. RAID 10 by localman · · Score: 1

    I'm a big fan of RAID 10. With the cheap price of space these days, you can basically have the best of both worlds: faster perforamance and more dependable than a single drive.

    Though RAID 5 is the most popular I've found the write penalty to be a problem. And rebuilds are slow. Anyways, check out this page about different RAID types. I found it most helpful.

    Cheers.

  122. RA *I* D by Doc+Ruby · · Score: 2, Insightful

    The whole point of RAID (Redundant Array of Inexpensive Disks) is that failure is a when, not an if proposition. MTBF (Mean Time Between Failures) rates averages across all units in a model line. For every HD like yours that beats the MTBF, there's one that dies early, or two that die a little less early.

    Right now, the cheapest HDs per GB are 30GB@$3 = $0.10:GB. Cheapest RAID controller card is $15 for 4 drives; a PCI PIII/1GHz server stacked with 24 drives gives 720GB (down to about 600GB with RAID redundancy) for about $400. Large capacity drives (~160GB) are at $0.50:GB, so your $400 server gets you about the same storage, but no RAID. Add the faster seek times by switching over more IDE buses rather than moving fewer drive heads, and the RAID promise delivers.

    --

    --
    make install -not war

    1. Re:RA *I* D by Anonymous Coward · · Score: 0

      how about just doing what he said and buy good quality drives??? I can get server quality IDE drives with a 5yr warr on them...

      if you hate drive failures (20 Deathstar failures in 3 years here!) stop buying junk first then move up to a RAID.

      a RAID with crap drives is no better than no raid and crap drives.

    2. Re:RA *I* D by Zathrus · · Score: 1

      if you hate drive failures (20 Deathstar failures in 3 years here!) stop buying junk first then move up to a RAID

      Oh, wow, the IBM Deskstar 75GXP drives have a high failure rate?

      Man, screw IDE then. Because all IDE drives must be the same exact quality as those Deskstar drives. I mean, at the exact same time WD, Maxtor, and every other vendor were having massive failure rates too, right?

      And, of course, we all know that no manufacturer has ever had a bad batch of SCSI drives, right? Uh huh.

      Disks fail. End of story. If you want to protect yourself, have backups and/or drive redundancy. If you're particularly worried about it, buy disks from different batches or (better) different manufacturers.

      Yeah, I'm sure SCSI drives have a marginally lower failure rate over time than IDE does. But it's not worth the price premium. If you need one of the other advantages of SCSI -- like speed -- then that's fine, but I seriously doubt you do for home file server usage. Spending the extra money on SCSI over IDE for reliability just shows that you're gullible.

    3. Re:RA *I* D by Doc+Ruby · · Score: 1

      How about paying attention to the insights in the post you're replying to, Anonymous naif Coward? Those "good" drives will also fail, later, with more data. Without failover, you'll lose data. The RAID principle accepts failure, copes, and moves on. The issue is whether more & cheaper is better than less & bigger.

      --

      --
      make install -not war

    4. Re:RA *I* D by JesterXXV · · Score: 1

      Where the hell did you find 30GB drives for only 3 bucks?

      --
      Yo mama so fake, she failed the Turing Test.
    5. Re:RA *I* D by Anonymous Coward · · Score: 0

      Actually, it's Redundant Array of Independant Disks.
      I have no idea where 'Inexpensive' first got substituted, because RAID was always SCSI, and always expensive, until a few years ago.

    6. Re:RA *I* D by DeComposer · · Score: 1

      And where the hell do you plug in all those drives? I've never seen any motherboard with more than four IDE connectors. Even a cheap IDE controller card will only add four additional IDE channels. I suppose you could add FOUR cheap IDE cards but I'm not sure how well the chipset would resolve any bus mastering conflicts

      And how much does it cost for a case big enough to mount 24 drives. It's hard enough just finding a case with enough slots to mount ten (e.g., eight RAID, one boot, and one CD burner).

      Conceptually, it could work but I'd need to see a more detailed spec before I'd be convinced.

      --


      Karma
    7. Re:RA *I* D by Doc+Ruby · · Score: 1

      Actually, it was Inexpensive first, named by the researchers. When the marketdroids started rolling out products, of course they changed that to Independent.

      --

      --
      make install -not war

    8. Re:RA *I* D by ffsnjb · · Score: 1

      The guy didn't read pricewatch very carefully. I checked, becase I was going to order 100 of them at $3 each. Turns out thats the price of IDE cables.

      --
      "Why do you consent to live in ignorance and fear?" - Bad Religion
  123. RTFM by Kehl · · Score: 1

    try "man google"

    And stop asking stupid questions .... Cliff - why did you even consider this as an artice?

    1. Re:RTFM by swordgeek · · Score: 1

      Hmm. What's the cost of buying (say) six drives vs. buying four, plus a RAID controller? Or more likely, ten drives vs. five plus a controller? RAID5 is generally more affordable than mirroring.

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
    2. Re:RTFM by DavidH_Mphs · · Score: 1
      thanks for the helpful info; however, that doesn't count as an available resource. At least, not for me anyway:

      The requested URL / was not found on this server

  124. I Did The Work For You by ArchAngel21x · · Score: 1

    Just click on the link. http://www.iomega.com/europe/support/english/docum ents/11243e.html

  125. Adaptec 2100s by Thaelon · · Score: 1

    It's what I use, combined with (4) 18GB Atlas 10k III's (The drives have a seven year warranty) in a RAID 0 array. It costs 3 times as much as most motherboards and better than most motherboards.

    I'm not using RAID 5 (though the 2100s supports it) because I need the space. I just run Rapidbackup to back up select data to my old IDE drive. My system is now 3 years old and it still performs fine in all but the newest games, I can run 5-6 copies of Diablo II Expansion simultaneously with almost no noticible slow down.

    Last I checked the 2100s was the cheapest hardware raid system out there and it's probably worth it.

    I only wish I could afford 36GB drives instead of my 18's, if I could I would use RAID 5.

    --

    Question everything

  126. Raid 5 is Ready! by celltech · · Score: 1

    I personally have a Raid 5 setup. Never had a failure nor any real problems once I made sure the bios/driver versions matched. When building a system for home I think it is important to consider the available equipment. Promise makes a line of cost effective cards in their SX series. I would look at a 4 channel card that will handle 4 drives. The 6 channel cards are so long that they may not fit in your case! I added 4 x 120Gb drives and created 360Gb of usable space. The card was only $150 and drives are so cheap these days. For fun I have removed a drive and watched it be rebuilt when I turned it back on. At that price point I don't think you can go wrong.

  127. Software RAID vs Hardware RAID? by Anonymous Coward · · Score: 0

    I'm surprised the subject of software or hardware-based RAID hasn't come up. If one is REALLY on the cheap, you could always just utilize software RAID in Linux, *BSD, or Windows (NT-based versions, level 5 only). Just as secure, but with a definate performance trade-off.

    Then again, you ARE asking Slashdot, so you're already getting a performance trade-off on your advice. :)

  128. For RAID 0 by Anonymous Coward · · Score: 0

    Are you kidding? Who gives a shit if you're only doing RAID 0? You're dropping reliability through the floor and asking to lose all your data anyway.

  129. Don't put your faith in RAID by dasMeanYogurt · · Score: 3, Interesting

    It sounds to me like this guy just needs a quality HDD and good tape backup. Do not put your faith in RAID, put in a good off-site backup. I've seen RAID solutions fail to many times. I've seen RAID solutions fail twice recently. The first one was a company with a slick server and nice hot-swappable SCSI drives but their controller card went out. It was replaced by the manufacturer but the techs were unable to recover the data. Next one happened when a machines case fan went out and the mirrored HDDs cooked themselves to death. The moral of the story: NEVER TRUST RAID and as always keep a backup.

    --
    --Gentoo Baby!
  130. RAID5 by Alan+Cox · · Score: 2, Informative

    RAID5 is a much bigger performance drain in most setups, its also pushing boxes up to 4+ disks (realistically raid5 you need a hot spare) and that pushes it out of 1U/2U and mini cases.

    IDE is so cheap you might as well just buy two big sata drives for most usage. Do make sure you buy two drives from two different vendors - its really embarrassing when you use two identical drives with near serial numbers and they fail the same day.

    Also keep external backups. One place I worked we lost an entire array and the hot spare to a PSU failure. No backups.. thankfully it was the usenet spool

  131. What Is Raid by ArchAngel21x · · Score: 1
    http://searchstorage.techtarget.com/sDefinition/0, ,sid5_gci214332,00.html

    It should be called inexpensive because they are not independent. Think about it. If you take a hard drive out of a server which is part of a RAID array, like RAID 5, and put it in a different computer can you still get information off of it? No. That data is spread across mutiple hard drives. Hecne the reason they are not independent. They DEPEND on each other to run in the RAID array.

    1. Re:What Is Raid by ArchAngel21x · · Score: 1

      T get that link to work, just take that space in the between the commas out, (0, , sid5_) I don't know why that space was put there. :/

  132. Budget VS Speed VS Reliablility by kortex · · Score: 1

    Raid 0 (stripe) - Fast, Cheap - the more drives the faster - no redundancy Raid 1 (mirror) - Pretty Fast, Cheap - 2 drives - redundant - most hardware raid will rebuild failed drives on the fly, performance will be affected though Raid 5 - Redundacy is more important than speed - min 3 drives - total data space is *about* the totalof all disks minus one drive (3x36G ~ 72G R5), rebuild failed drive on fly, performance not as impacted as R1 rebuild. Raid 10 Fast, Expensive, Redundant - 4 drives min. Striped Mirror Set. IMHO the way to go if you have the dinero. Pretty sure this will get modded as redundant :)

    --
    -- kortex "Not everything that counts can be counted, and not everything that can be counted counts"
  133. Dell's RAID products by mabu · · Score: 1

    Has anyone had any experience with Dell's RAID standalone products?

    We've been using Compaq's for storage and they work well but getting parts are expensive. The standard Seagate drives are modified for Compaq so you have to get their special OEM versions at much higher costs. I'd like to find a cheap, reliable, pro level raid array and have been looking at some of Dell's products. Anyone have experience?

    1. Re:Dell's RAID products by skroz · · Score: 1

      The CERC controllers are good for the low end, though we've had problems with the IDE (a modified LSI Logic card) version under linux, mostly due to the megaraid vs. megaraid2 drivers (hint: megaraid2 has a memory leak with the IDE CERC cards!)

      The new SATA CERC card works pretty well in my limited testing (just got one the other day) but it seems to work extremely well with Fedora Core 2. Looks like it requires libata, but it also uses the aacraid driver. It's a remarked Adaptec card.

      The high-end PERC cards are fantastic. No caveats like the CERCs described above... they're flawless in my experience. The only thing that could be remotely described as a problem occurred back in the RH 7.2 days; the 7.2 load media didn't have PCI information for the newer PERC cards, so it had to be supplied manually at boot. After that... everything worked fine.

      Short version : If you're going to buy a CERC, buy the native (LSI Logic or Adaptec) versions and save yourself some money. For the PERCs... they're good, but so are many of the off-the-shelf cards out there. The integration of the PERC is excellent, however, and Dell's support is fantastic, so if that's important to you...

      --
      -- Minds are like parachutes... they work best when open.
    2. Re:Dell's RAID products by mabu · · Score: 1

      Thanks for the excellent info! It seems that for mission-critical apps, the non-IDE is the way to go? I take it some of these require a card in the host PC? Have you used the native SCSI systems that can simply plug in to a SCSI port on a host computer?

  134. Raid 10, 0+1 by Anonymous Coward · · Score: 0

    I like raid 10, 0+1, whatever your vendor may call it. It requires four hard drives, offers a significant speed boost, and protects you from any single drive failure. Additionally, in 3/4 of cases, it will survive a 2 disk failure.

    Rebuilding a raid array is definitely easier than restoring from backup, but it can take some significant time which may be speant offline. Hot-swappable drives and online array rebuilding are definite features you may want depending on the importance of uptime.

  135. Non-stop RAID? by DoWeHaftTo · · Score: 1

    I've been doing RAID 1 with 2 disks and a raid card for a few months and I like the margin of storage safety it gives me. However, I have been having some problems with my card (or setup) and my raid array has failed occasionally lately.

    One problem revealed by this is something I've not seen discussed here, and that is that I have to manually reset my raid and reboot my system to get back online (usually have to break the array and re-duplicate one of the disks to re-create the array).

    What I'd like is a RAID that keeps on working as long as there is at least one good image of the disk, and lets me fix it whenever I get around to it.

    For instance, if I am running a webserver and one of my mirror disks crashes in the night I would like the webserver to keep on chugging like nothing happened because there is still one good disk there. Does anyone know of any non-stop RAID cards or software or systems or research?

    Thanks,
    Tom

    (-; Does sig advertising work? Just did! Email me for rates! ;-)

  136. My personal fileserver set up by TheBadger · · Score: 1

    Here's my set up....

    1 x highpoint HPT374 (4 channel IDE)
    2 x 20GB IDE - OS installed here
    2 x 120GB IDE - soon to be upgraded
    2 x 300GB IDE - used to be 120s
    2 x 300GB IDE - used to be 120s

    atapci0: port 0xb000-0xb0ff,0xac00-0xac03,0xa800-0xa807,0xa400-0 xa403,0xa000-0xa007 irq 11 at device 7.0 on pci0
    ata2: at 0xa000 on atapci0
    ata3: at 0xa800 on atapci0
    atapci1: port 0xc400-0xc4ff,0xc000-0xc003,0xbc00-0xbc07,0xb800-0 xb803,0xb400-0xb407 irq 11 at device 7.1 on pci0
    ata4: at 0xb400 on atapci1
    ata5: at 0xbc00 on atapci1
    .
    .
    ar0: 19541MB [2491/255/63] status: READY subdisks:
    0 READY ad4: 19541MB [39703/16/63] at ata2-master UDMA100
    1 READY ad6: 19541MB [39703/16/63] at ata3-master UDMA100
    ar1: 117800MB [15017/255/63] status: READY subdisks:
    0 READY ad5: 117800MB [239340/16/63] at ata2-slave UDMA100
    1 READY ad7: 117800MB [239340/16/63] at ata3-slave UDMA100
    ar2: 286103MB [36473/255/63] status: READY subdisks:
    0 READY ad8: 286103MB [581290/16/63] at ata4-master UDMA133
    1 READY ad10: 286103MB [581290/16/63] at ata5-master UDMA133
    ar3: 286103MB [36473/255/63] status: READY subdisks:
    0 READY ad9: 286103MB [581290/16/63] at ata4-slave UDMA133
    1 READY ad11: 286103MB [581290/16/63] at ata5-slave UDMA133

    I haven't installed any of the Highpoint software, but I do run "atacontrol status " from cron once a day.

    When I upgraded the disks I had to break the mirror, install new drive, copy files across, re-mirror (which included syncing 300GB, although I'm not sure if it syncs non-used parts of the disk). I used the firmware to do this.... it took hours and hours! Lots of downtime, but I just left it overnight.

    Perhaps the software that come with it would sync the disks "in the background", but I couldn't get the firmware to let me re-mirror without syncing (possibly me being thick, but it's not something you have to do very often).

    Anyhow.... I also e-mailed Highpoint support and thanked them for supporting FreeBSD :-)

    1. Re:My personal fileserver set up by TheBadger · · Score: 1

      For the files that I really wouldn't like to lose (like photos) I also rsync them across a couple of the mirrors. I should really do it to a machine offsite, but I don't (due to lack of trusted sources).

      But I think of it like if there was a fire I'd lose normal photos anyhow (unless I kept copies or the negatives offsite).

      So burning them to CD/DVD is the obvious solution..... must remember to do it every now and then!

  137. The word is FUCK by Anonymous Coward · · Score: 0, Funny

    I'm not one for spelling flames, but why is it so hard for slashdot geeks to spell the word "FUCK"??? The S and U keys are nowhere near each other.

    1. Re:The word is FUCK by Tenareth · · Score: 1, Offtopic

      Uhm, it's based on the FSCK command... in the old days, when you had to use it, you were FUCKed, because you were probably going to lose data.

      Therefore, FSCKd is saying the same thing... Just like FUCK used to be a law that eventually got turned into a vulgar term related to the act that was related to the law.

      get it?

      --
      This sig is the express property of someone.
    2. Re:The word is FUCK by ProKras · · Score: 1

      Just like FUCK used to be a law that eventually got turned into a vulgar term...

      Looks like you got taken in by yet another internet urban legend.

      What the Fuck?

      You're probably right about FSCK, though.

  138. SW or HW? raid 1 v. raid 5? lilo or grub? gotchas? by rjnagle · · Score: 1

    ok, just a few things.
    You didn't indicate sw raid or hw raid, so I assume you're talking about sw raid.

    In a nutshell, use the easiest configuration you can get away with. You don't want to spend time troubleshooting RAID stuff. Buy identical drives and consider making the whole drive as a partition.

    I had major problems with maintaining software raid when I tried to do software raid on a 3 hard drive system. Actually I used raid 1(I think) for the /boot and raid 5 for /.

    Putting /boot on RAID was a majorly bad idea. First, because if the array fails, you're basically in sad shape. (two other problems I had was the third hd was from a separate controller card, and the BIOS didn't allow booting from a controller card).

    Second, on my gentoo, grub was doing really funny things. i spent way too much time trying to get grub or lilo to boot without the use of my array. to work. Looking back, it seems like a big bother.

    Instead, I put root on a unraided drive, and did RAId-1 for the two remaining drives, using one partition for the entire hard drive. /hda1 /boot 100mb /dev/hda2 1.5 gigs, swap /dev/hda3 / the rest
    dev/hde1 /dev/hdg1 = /dev/md1 = /home RAID1
    (the whole 60 gig drive)

    My critical needs is having protection of my /home data (I put my mysql db on it).
    I have less of a need to keep my system up 24x7, but I'm probably going to use a 2nd system (as my personal working machine for everyday use) which has an rsync copy of my /home data and configured similarly (web server, etc). That way, if the system itself goes down, I could just use the 2nd system as my primary system and rely on my rsync of /home to restore my data. (Also, btw, I backup my most critical data on my unraided / directory on my primary machine.

    Like I said, I'm more worried about my /home user data, not so much worried about configurations. Come to think of it, maybe I should rsync/backup the /etc directory too.

    --
    Robert Nagle, Idiotprogrammer, Houston
  139. RAID6 by Mirar · · Score: 1

    How come noone has mentioned RAID6?

    Like RAID5, but "two" drives with redundancy, so any two drives in the system can crash without losing data (or the tempo). I thought I heard something about that there was Linux support for it now?

    1. Re:RAID6 by wmeyer · · Score: 1

      Since even-numbered RAID levels are not defined by the RAID organization, but buy vendors, it is a proprietary system, and is whatever the vendor says it is.

      --
      --- Bill
    2. Re:RAID6 by Syntax+Heir · · Score: 1
      I've always heard this refered to as "RAID5 with hot spare" and yes I've run into serveral companies that use it.

      In fact one the places I've worked had a drive fail and the hotspare kicked in and started the rebuild. Shortly thereafter we lost another drive in the set.

      I had an upset tummy after that ... =(

      --
      The greatest hindrance to success is a well-rationalized excuse
    3. Re:RAID6 by Mirar · · Score: 1

      RAID6 is not RAID5 with a hot spare, it's extra parity to allow two disks to break down simultaneously.

      The system uses a 2d array for parity, so for 5 disks, you get 6 parity blocks for every 9 data blocks, (3+3+3)+(3+3)=5 disks. (Draw it in 2d and you'll see - one parity right and one down.)

      You add extra hot spares on top of that.

  140. Actually, the parent was right... by painehope · · Score: 1

    and I think only the guy who made the asshats comment realized it.

    The original name was ( repeat after me kids! ) Redundant Array of Inexpensive Disks.

    Don't believe me? Check out the Wikipedia entry for RAID.

    The new name is more applicable, since RAID arrays sure as shit ain't inexpensive any more, but learn some history people...

    --
    PC moderators can suck my White pierced, tattooed dick. If you think pride == hate, s/dick/Aryan meat mallet/g.
  141. Epox Motherboard with HPT374 controller by Bodhammer · · Score: 1

    I have the Epox EP-4PCA3+ motherboard running 4 Western Digital WB800JB drives in RAID 5. I ahve been very happy with the setup. HTH, Bod

    --
    "I say we take off, nuke the site from orbit. It's the only way to be sure."
  142. RAID 1: Our experiences by Futurepower(R) · · Score: 1


    Two drive RAID 1 mirroring is good. We've had a lot of trouble recently getting tech support from Promise Technology, so we have switched to HighPoint RocketRAID 133 adapter cards.

    These RAID cards use the main CPU, they don't have on-board microprocessors. This causes some problems in Windows XP when you have a script that runs at startup. Some commands in the script will sometimes cause the mirror to break, apparently. Apparently Microsoft has not integrated some of the CLI commands into Windows XP yet. This was such a big problem that I wrote a paper on it for Microsoft technical support: Windows XP problems: Port Re-direction.

    If you are willing to spend a little more, a lot of people suggest 3Ware products: 7006-2 adapter cards, for example. We have no experience with them. They have a drawback, compared to HighPoint cards: They won't boot with just one drive, according to 3Ware technical support. After the drives are used in a mirror, they will not boot from the IDE adapter on the motherboard. This could be a big drawback if your 3Ware card is not working for some reason. Possibly 3Ware cards available in the future will not be incompatible, leaving you no way to get your data from the drives. If the card fails, you will at least have to buy another one to be able to see your data.

    The advantage with 3Ware cards is that there is a CPU on the adapter, leaving no way for MS bugs to cause the mirror to break. That system is also faster, of course.

    I wrote a Slashdot article about RAID 1: Mirroring Controllers - What have been Your Experiences?. Note that the Slashdot software has a bug that will not let you see all the comments in nested mode. That bug is years old.

    Slashdot has run a number of articles from people who wrestle with the data reliability problem.

    Acronis makes backup software that has been generally good for us. It is possible to do a full hard disk backup of a Windows XP hard drive while Windows XP is running. (This uses XP's Shadow Copy mode.

    Slashdot also published a story I wrote about drive imaging software: Experiences w/ Drive Imaging Software?. Best sentence: "Microsoft Windows 2000 and Windows XP have crippled file systems. The file system cannot copy some of the files that are necessary to the operating system. If you don't have experience with Microsoft operating systems, you may find this amazing..."

    Windows XP keeps most of its settings in files collectively called the registry. So, no backup is complete unless you back up everything on the boot drive. MS tech support has told me many times that there is no way to do this with Microsoft tools. The recommend a "third party" method. We've tried the third party methods, and had a lot of grief with everthing except Acronis. Symantec has given us poor and unfriendly technical support, in my opinion. Symantec bought its competitor PowerQuest; I view that as a bad sign.

    It is really, really miserable for me that Microsoft treats me, and every customer, as a criminal by building in copy protection that mixes all the programs and settings together; the copy protection causes me a lot of grief, and significantly damages the entire design of the OS. Linux is a very strong competitor in that area. Everyone is a friend of Linux, users are not criminals, and the OS design is not degra

  143. RAID Levels by Harassed · · Score: 1
    As you've probably already discovered from reading this thread, there are several RAID levels to choose from depending on whether you choose SCSI, IDE, SATA, FC or whatever disks.

    Before I continue I'd probably better own up that I work for an IBM reseller so I'm using their standard terminology for RAID levels but the other major vendors (HPaq/Dell/Adaptec/etc) have similar things available but may call it something different (aren't standards great!)

    There are numerous RAID levels but the most common are RAID-0,1,5 and, more recently, RAID-1E, RAID-50 and RAID-5E. There are also several RAID-x0 options (RAID-00, 10, 1E0 and 50)

    RAID-0 also known as data striping. It is well-suited for program libraries requiring rapid loading of large tables, or more generally, applications requiring fast access to read-only data, or fast writing. RAID 0 is only designed to increase performance; there is no redundancy, so any disk failures require reloading from backups. Select RAID Level 0 for applications that would benefit from the increased performance capabilities of this RAID Level. Never use this level for critical applications that require high availability.

    RAID-1 RAID 1 is also known as disk mirroring. It is most suited to applications that require high data availability, good read response times, and where cost is a secondary issue. The response time for writes can be somewhat slower than for a single disk, depending on the write policy; the writes can either be executed in parallel for speed or serially for safety. Select RAID Level 1 for applications with a high percentage of read operations and where the cost is not the major concern.

    RAID-2 and RAID-3 - RAID 3 and RAID 2 are parallel process array mechanisms, where all drives in the array operate in unison. Similar to data striping, information to be written to disk is split into chunks (a fixed amount of data), and each chunk is written out to the same physical position on separate disks (in parallel). More advanced versions of RAID 2 and 3 synchronize the disk spindles so that the reads and writes can truly occur simultaneously (minimizing rotational latency buildups between disks). This architecture requires parity information to be written for each stripe of data; the difference between RAID 2 and RAID 3 is that RAID 2 can utilize multiple disk drives for parity, while RAID 3 can use only one. The LVM does not support Raid 3; therefore, a RAID 3 array must be used as a raw device from the host system.

    Performance is very good for large amounts of data but poor for small requests because every drive is always involved, and there can be no overlapped or independent operation. It is well-suited for large data objects such as CAD/CAM or image files, or applications requiring sequential access to large data files. Select RAID 3 for applications that process large blocks of data. RAID 3 provides redundancy without the high overhead incurred by mirroring in RAID 1.

    RAID-4 RAID 4 addresses some of the disadvantages of RAID 3 by using larger chunks of data and striping the data across all of the drives except the one reserved for parity. Write requests require a read/modify/update cycle that creates a bottleneck at the single parity drive. Therefore, RAID 4 is not used as often as RAID 5, which implements the same process, but without the parity volume bottleneck.

    RAID-5 RAID 5, as has been mentioned, is very similar to RAID 4. The difference is that the parity information is distributed across the same disks used for the data, thereby eliminating the bottleneck. Parity data is never stored on the same drive as the chunks that it protects. This means that concurrent read and write operations can now be performed, and there are performance increases due to the availability of an extra disk (the disk previously used for parity). There are other enhancements possible to further increase data transfer rates, such as caching simultaneous reads from the disks and transferring that inform

  144. Indeed, no RAID by ballpoint · · Score: 2, Informative

    I'm doing the same thing at home. I have three identical drives. One, the primary, is sitting in the server, the secondary is unmounted in a removeable tray in the server, and the third is also in a tray but at a distant location.

    Initially I've dd'ed the primary to the other two disks.

    Every morning the primary is 'cp -fpRu'ed to the second one. No files are deleted on the secondary, unless I'm running out of diskspace there, at which time I do an 'rsync -aH --delete' after some verifications.

    Each few weeks I bring the third, down the server swap it with the secondary, and return the swapped third.

    I feel pragmatically protected. In the case of a crash I won't lose more than a day of work. In the case of burglary, fire or Gotterdammerung, a few weeks.

    Next time I'll rebuild the file server I'll make the 2nd and 3rd an external Firewire or USB2 High Speed.

    Fingers crossed.

    --
    Flourescent (adj): smelling like ground wheat.
  145. back up? by jojowasher · · Score: 1

    None of my crap is worth backing up, I can always get more pron, and I dont think anyone wants to see my flash movies of hamsters with top hats. jojo

  146. RAID Level 5 by Anonymous Coward · · Score: 0

    I had an excellent experience using the level 5 RAID capability built into Linux.

    Some years ago I setup a 100G Level 5 partition using 5 hard drives around 30G each. I used it for my main file archive and also to serve as a backing store for other workstations (most of whose drives at the time were several Gig each).

    After several years of faithful operation, one of the hard drives failed and literally several months went by without my even noticing. Linux automatially recovered from the error and continued serving files but without the redundancy. (Greater diligence in my part was called for but the story still has a happy ending.) The problem didn't come to my attention until a second drive failed and the entire raid partition failed to come up. Fortunately, Linux had some reconstruction utilities that allowed a complete recovery.

    The bottom line is that I retained all my data despite TWO hard drive failures. And if I had been paying closer attention and attended to the problem soon as the first drive failed there would have been no need for the reconstruction utilities.

    I'm now in the process of putting together a Terabyte RAID level 5 array (5 250G drives).

    I heartily endorse the built-in Linux RAID features over any hardware alternatives. If you're talking Windows, then you may be stuck with using hardware. Before you do, I would look very carefully at the recovery tools. In at lot cases they're not very useful or robust. If you can afford it, I'd suggest setting up a Linux file server seperate from your workstation. You need a minimum of 3 drives for level 5 raid. Drives are cheap and you don't need a fast cpu/motherboard to run the server.

  147. Snap Appliance by dbug78 · · Score: 1
    Other options include the purchase of a Snap! server, or other brand of NAS. If you've got a little $ to throw around, NAS is the way to go. Plug it into your network, minimal setup, and your off and running. Not very upgradeable, and somewhat problematic if your drive does actually die, but I use them at the office for a zero maintenence file server.
    I'd feel compelled to go in this direction if it were me. If you've old equipment around, you may be able to build this new file server for fairly cheap, but the price of new equipment compared to something like a Snap Server is insignificant in my mind. A Snap Server 1100 with 250GB is a mere $805. At the other end of the spectrum the Snap Server 4500 with 1TB is a hair under $4500. The 4500 has handy features like snapshotting too, so if you screw up a file you can restore it at HDD speeds from a previous snapshot instead of fiddling around with tape. I'm not sure what features the lower end models have.
    1. Re:Snap Appliance by buckminster · · Score: 2, Informative

      Or you could buy an old SNAP server on eBay and replace the drives. I bought a SNAP 4000 used for $425 last summer. Pulled the 4 x 30GB drives and replaced them with 120GB drives. It was a heck of a lot cheaper than paying full price for a new SNAP server.

    2. Re:Snap Appliance by Anonymous Coward · · Score: 0

      Careful with those snap4000's. I own two, and multiple times the power PCB (yes Virginia, it voids your warrenty to open it up) has burned out or stopped providing enough power to keep the drives moving.

      I've been fortunate enough to have friends at Snap that can get me a spare board from their 'junkpile' but not forever; I was notified that this last incident will most likly be the last time i can do this due to the availability (or lack thereof) of these spare parts.

      So.... anyone want to buy a few snap 4000's?
      ab2650-HATES-SPAM-@hotmail-HATES-SPAM-.co m

    3. Re:Snap Appliance by buckminster · · Score: 1

      Anyone have a clue if it's possible to migrate these drives to a newer unit?

  148. There is only one kind of RAID by Anonymous Coward · · Score: 0

    HARDWARE RAID 5. Time-tested and nerd-approved. Forget about what people tell you about mirroring and duplexing or software RAID or this serial ata crap. Use SCSI RAID, period.

    Get an *Adaptec* RAID adapter and 3 SCSI drives. Label each drive with the SCSI address that you decide to give them.

    Build your array. You lose the space of one drive for parity, big deal. You can configure software to alert you to a drive failure. Or the card may already be set to spew a high pitched alarm that will let you know in a big hurry.

    So your drive failed. What do you do? Well, your server keeps right on trucking. The software tells you the address of the failed drive. If you didn't label them like I told you, you can have the software "blink" (flash the LED of the drive in question) so there is no doubt which one is fubar. Replace the bad drive with a good one, tell the controller to rebuild the array and you're done.

    If you truly want near hassle-free, redundant operation, use SCSI Hardware RAID 5.

  149. High uptime system by mcrbids · · Score: 1

    I provide a high-uptime guarantee for my hosted clients. I don't actually host all that much information, just a few gigabytes of heavily databased information. As such, I get few hits, but each hit is very, very important.

    1) Primary server is configured with IDE RAID level 1, two drives mirroring each other in realtime, 80 GB each.

    2) Hot failover server on a different network, different city, with the same size drives as the primary system. (Backup server is not raid, tho) This is for failover in case of severe emergency.

    3) Network backups performed at a 3rd offsite location using rsync over ssh. The scripting I use (in PHP) is available at effortlessis.com/backupbuddy . (though I need to update the current release) This is a cheap, low-end dedicated system with big, cheap IDE drives (~ 400 GB) that just backs them up.

    It's incremented going back about 1.5 months. (At any point, I can roll back the system to any point as far back as 1.5 months)

    With this setup, any two systems can fail completely and I'll still have virtually no data loss.

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
  150. RAID 5 is the way to go by TexNex · · Score: 1

    It seems that RAID 5 or 10 is the way to go. Here are some instructions on building a fairly fault tolerant server. The page deals with setting up a server with RAID 50 but can be switched to 51 for superior redundancy.
    Over all it's about how much money you want to spend. If you have ooodles of cash go for a real server with RAID 60 and daily tape backups.

  151. It's a good way to do it by grahamsz · · Score: 1

    This doesn't seem like overkill.

    I'm setting up something similar for my father in laws digital photo collection. Once i get my own system better set up, we'll each have a system such that:

    Files get saved onto disk1

    Nightly copy onto disk2

    Nightly rsync moves disk2 on my system to disk2 on his and viceversa.

    We have a lot of data to start with, but rarely add more than a few 10's of megabytes at a time, so the rsync shouldn't consume too much of our broadband.

    If that gets too heavy going then i'll get a pair of firewire external disks and always leave one at my office.

  152. RAID5 by chrysalis · · Score: 1

    To make a long story short, use RAID 5.
    The minimum is 3 disks. RAID5 will provide you decent performances (unlike RAID 1) and one dead disk won't loss any data.

    --
    {{.sig}}
  153. Recommended RAID level by Sivar · · Score: 4, Informative

    Why not read a few FAQ entries at StorageReview?

    In short, I would probably recommend RAID5 if you have 3+ drives.
    RAID5 gives you the most available space while still being redundant. It allows for exactly one hard drive failure.
    RAID5's write speed is usually terrible, especially with a small number of drives, but write speed isn't a big deal on my home file server. (Only you know about your needs).

    RAID1+0 (NOT RAID 0+1, which is inferior) is great for performance. With 4 drives, you have potentially twice the STR of one drive (writing) and 4 times the STR of one drive reading. Of course, since STR is not important for most IO, this doesn't really effect your end performance much unless you are dealing with linearly reading/writing very large files.
    Writing performance will almost certainly be higher than with RAID5.
    You do lose quite a lot of space (especially when you use a large number of drives). If you used a 4-drive 1+0 array, you would have the space in two of those individual drives.

    RAID1 is nice, and is very reliable, but is impractical with more than two drives unless you are incredibly paranoid. RAID1 simply makes all drives copies of the others, this, you always have as much free space as one drive would have, even if you have ten. If course, you could also handle 9 drive failures and not lose data. RAID1 is fine for 2-drive arrays though.

    DO NOT FORGET that RAID is no substitute for regular backups. RAID will not help if your data loss is caused by FS corruption, a cracker, accidentally typing "rm -rf /", etc.

    For lowest cost, I would use software RAID, such as Linux's LVM, FreeBSD's Vinum, or whatever Windows has. (RAID5 requires Windows server). (I would not use Windows as the file server myself).
    For slightly higher cost, try a Promise controller.
    I would avoid Highpoint and Silicon Image controllers. Highpoint, especially, is crap. (but it is very cheap, at least).

    If you possibly can, I would recommend a nice 3Ware Escalade controller. Escalades are true hardware RAID cards, unlike Highpoint/SI and most of Promise's cards, and are OS independent and very stable (with certain exceptions for some unlikely configurations).

    If you have any questions, you might try the StorageReview forums. There are a number of extremely knowledgeable people there, including engineers and executives-level researchers at hard drive companies. They can give far better advice than I can, I am sure.

    By the way, all my comments assume that all drives are the same size. If not, treat all drives as if they are the same size as the smallest drive on the array (unless you are using JBOD, which is not redundant)

    --
    Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
    1. Re:Recommended RAID level by wmeyer · · Score: 1
      I would avoid Highpoint and Silicon Image controllers. Highpoint, especially, is crap. (but it is very cheap, at least).

      If you possibly can, I would recommend a nice 3Ware Escalade controller. Escalades are true hardware RAID cards, unlike Highpoint/SI and most of Promise's cards, and are OS independent and very stable (with certain exceptions for some unlikely configurations).



      I'm going through testing now on the latest HighPoint card, and it is definitely not crap. OTOH, I've had a number of issues with 3ware, and am not very happy with them now, especially from the standpoint of support.


      I'd be very happy to find StorageReview (or any other hardware site) doing a thorough review of RAID controllers with medium to large arrays (5+ drives), but I'm not holding my breath. Not many people need such things. As it happens, I do, as my work is with video servers, but that's clearly atypical.

      --
      --- Bill
    2. Re:Recommended RAID level by kaszeta · · Score: 1
      DO NOT FORGET that RAID is no substitute for regular backups. RAID will not help if your data loss is caused by FS corruption, a cracker, accidentally typing "rm -rf /", etc.

      Indeed, since in addition to drive failure you also have to consider the risks of the RAID itself failure (software drivers for software RAID, or the RAID controller itself for hardware RAID).

      I say this since I used to work in a shop where in my 6 years there we easily had more RAID controller failures than failures of the drive in the RAID array itself. Luckily, we had good backup strategy and could restore with minimal effort.

    3. Re:Recommended RAID level by Sivar · · Score: 1

      StorageReview is planning to publish a review using a variety of RAID controllers testing their performance with TCQ (Tagged Command Queuing) for both user and server access patterns. It should be almost finished. The results so far are rather surprising to say the least..

      --
      Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
    4. Re:Recommended RAID level by Sivar · · Score: 1

      :blinks:
      What brand of controllers failed the most often?

      --
      Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
  154. I see a lot of posts about proper raid levels by HBI · · Score: 1

    I see nothing about variable implementations. Crappy RAID controllers aren't worth much. A good RAID controller has its own BIOS and its own processor. That means it actually controls all aspects of the drive interface. Most cheap RAID 1 implementations do not implement this.

    I have seen a lot of people with a boot drive and a RAID implementation as their primary data partition. This is nicer, I suppose, than nothing. This does nothing for you if you have a total loss of the boot drive. To me, RAID implementation is about saving my own time, not having to do system recoveries at all. I don't like working on the same thing repeatedly - call me lazy.

    Here is my rig:

    Proliant 5500 server (4x400mhz P2 Xeon, 512mb RAM running Gentoo) w/redundant power supplies and dual redundant fans.
    6x 18.2gb UW 10k SCSI hotswap drives configured up in a 70GB RAID-5 array with 1 hot spare.
    Smart 2/P array controller w/4MB cache
    1500va UPS
    4-tape DAT autoloader for backup

    Cost: about $300 on Ebay (UPS was $125 new in addition), plus about $150 shipping.

    My rig is more reliable than anything anyone has mentioned here, and probably cheaper. True, it sounds like a wind tunnel, but you can put it in a cabinet if you really want to. If you want your data to be _safe_, this is the right way to go.

    Imagine, all of this for my collection of mp3's and pr0n.

    --
    HBI's Law: Frequency of calling others Nazis is directly correlated with the likelihood of the accuser being Communist.
  155. Don't forget power costs by phildog · · Score: 1

    Since you mention the magic keyword "inexpensive" I'll mention that you should factor in the cost of running a PC 24/7. I've seen estimates that put this at around $5/mo for an average PC.

    You keep that running for a year, and suddenly commercial solutions like the Snap Server start making a lot of sense. They draw much less power as they are designed from the ground up to be NAS devices. Rsync the snap every few minutes and you get redundancy to boot.

    By the same reasoning, many home users who roll their own firewall/router solutions with old PCs running linux completely forget the power costs and don't realize that the little $50 linksys router would pay for itself in just a few months of electricity charges for the old PC.

    --
    slashsearch.org - slashdot search. powered by google.
  156. Just curious... by Krypto420 · · Score: 1

    but what is everyone backing up that they would need a RAID array? Is this just a nerd thing? I don't get it....

    1. Re:Just curious... by Little+Brother · · Score: 1
      Do you know how long it takes to get the *good* pr0n? I mean, that's worth RAID 1 plus automated backup systems! (I mean since /. is completly made of 15 year old boys who only use a computer in their parents' basement this has to be what they use RAID for. Its not like some of the crowd here actualy administers servers in production enviroments or anything. No, definantly nobody actualy in the IT buisness would ever read or post to /.)

      I just fed a troll though, didn't I?

      --

      Little Brother, watching the watchers

  157. Re:RAID 1 and POWER SUPPLIES by lcsjk · · Score: 1

    Any good backup system that really needs to protect data needs backup on more than one system. Although power supplies may have some internal protection, a sudden surge from a suddenly failing supply could take out every hard drive in your raid system. Backing up to a completely separate system might be safer than a straight raid system.

  158. Think about more than RAID by oerlikon · · Score: 1

    Is hardware failure really all you would like to address? I think it more likely that inadvertently deleting or modifying something occurs much more frequently. RAID doesn't help with this, the deletion is written to the array.

    I address this by giving my drive 2 mirrors. One of the mirrors is there for drive failure protection, the other mirror I use as a backup device, which is split off at a regular interval with a script. The stale mirror serves as a point in time backup. I can mount it and get something off of it if I need to.

    To make the next backup, the scripts adds the second mirror back in, lets it sync up (freshens up the backup) and then splits it off again. I do this daily, but you could set any reasonable interval.

    HTH

    Greg

  159. My Personal Choice by skroz · · Score: 1

    I've been told I'm a bit obsessive about home backups, but...

    1. Four disk RAID 5 on Fileserver A (hardware controller)
    2. Monthly full backup to disk on server B. SKip non critical that can be replaced (mp3, movies, etc.,)
    a. Immediate encrypted copy of critical data to DVD media and store in fireproof safe.
    b. Immediately encrpyt a copy and send to another system offsite via portable HDD.
    3. Weekly backups of everything that has changed since the last full or weekly backup to disk on server B. Save to encrypted DVD and put in safe whenever a 4.7 gig chunk is created.
    4. Daily incremental backup of all changed data since previous backup of any level to disk on server B. Save to encrypted DVD and put in safe whenever a 4.7 gig chunk is created.
    5. Weekly mirror (via rsync) of entire data filesystem to encrypted fs on USB hard drive. Dump root/boot/var/other system partitions via dumpe2fs to the same encrypted fs.
    6. Daily copy of super-critical data to an encrypted USB keychain that I carry with me when I leave the house.
    7. Encrypted copy of data from step 6 to a second offsite location.
    8. Encrypted hourly database backups to both offsite locations.
    9. Files in one specific folder are checked every ten minutes for changes. Any file changed in the last ten minutes are copied with timestamp value to a separate folder. Anything in that folder older than 48 hours is erased. (This is because MS word keeps eating one really big document and corrupting the on-disk version.)
    10. Desktops backed up to server B as above and stored as above.

    Hardware :
    Fileserver
    Dell PowerEdge 600SC 2.4 GHz P4
    2 GIG RAM
    USB 2.0 250 GB hard drive
    DRU-500A DVD Burner
    4 x 6Y200M0 Maxtor 200 gig HDDs for data (RAID 5)
    1 x WD 40 gig root disk
    1 x spare 6Y200M0 for cold spare.
    LSI Logic SATA150-4 RAID Controller

    Backup Server
    Home-grown 1 GHZ PIII (x2) Abit VP6
    2 gig RAM
    4x 80 Gig WD HDD (striped)

    Offsite Server 1
    Dell PowerEdge 600 SC 2.4 GHz P4
    1 Gig RAM
    1x 40 gig root HDD
    USB 2.0 250 GB hard drive

    Offsite server 2
    One gig of disk space on a friend's machine.

    Off-brand 256 MB USB keychain. :)

    Software :
    Amanda
    RedHat 9 (Offsite 1)
    Fedora Core 1 (Fileserver)
    Fedora Core 2 (recent upgrade for Backup Server)
    ksh
    rsync
    dumpe2fs
    loop-aes
    gpg
    cdre cord.

    I've never actually written that out before... damn. I'm about to hit the limits of DVD, though, and will probably soon add a tape drive. DDS4, I'm thinking.

    --
    -- Minds are like parachutes... they work best when open.
  160. For data integrity, we go with linux sw raid 1 by dannys42 · · Score: 1
    We've gone through many raid controllers (DPT SCSI, ICP Vortex, Arco IDE, 3Ware Escalade). And _every_ single time we've had any problems it was due to the raid controller. Another problem with hardware raid controllers is that they like to format the card their own special way. So if you don't have the same card and firmware, you may not be able to retreive your data if the card dies. (I haven't tested this for a number of hardware RAID 1 solutions, though. It's definitely true for RAID5). However, any ext2/3 partition on a linux software raid can be taken out of the raid set (or whatever system it was in), and be placed in another linux system and can be used as a just a regular partition with all data intact.

    On a similar subject, we've also had real bad luck with linux data integrity in general when handling large files (>500MB). I've seen this problem on both low-end IDE drives as well as high end (5 year warranty) hot-swap SCSI drives. I've mailed the IDE driver author on this (when I thought it was an IDE-only problem), but received no comment. I suppose I should post it to the kernel list.

    In any case, for anyone interested, I submitted a test program "writetest" to the Linux Test Project for anyone interested. Just give it a really large block size (a 1GB file is generally large enough) and repeat about 10 times. I wouldn't mind hearing from people on what they see on various mb/chipset combos. Some controllers/motherboards have problems, others don't.

  161. contrariwise... by wmeyer · · Score: 1
    In spite of the assertions that RAID-5 is the obvious choice, either RAID-3 or RAID-5 will deliver what you want. The difference between them is in how parity is handled. The impact of the difference will be felt most with respect to disk writes: in RAID-5, every write is actually a read-modify-write cycle.


    As to cost, you would do well to look at the RaidPort 1820A card from HighPoint, as it is available on the street for about $200.00. In setting up a RAID array, also consider that with a hot-spare, a failed drive will trigger automatic repairs. Without a hot spare, you must initiate a rebuild through the BIOS.


    Another choice is software RAID, as for example, with Windows Server 2003, but the hardware path is cheaper now.


    For hot-swap drive cages, look at www.cremax.com, as one possibility.

    --
    --- Bill
  162. Like everyone else says, it depends by Sloppy · · Score: 1
    It all depends on how much money you want to spend, how much capacity you need, how much speed you want, and how much risk you want to take. But from "personal server" I guess we can make some inferences about your priorities.

    If you have a low budget and still want great fault tolerance and decent performance, I recommend RAID1 with two huge cheap ATA drives. There'll be no checksumming, and even on a machine with only two ATA channels, you won't have any serious bottlenecks. And you won't spend much money.

    Really, the only downside to this, is that your capacity will be equal to the size of one drive (50% efficiency). I can't tell if that'll be a problem for you or not. Personal servers probably need more capacity than business, since (totally guessing here) you'll be storing multimedia. Maybe you're going to use it as the backing store for your MythTV, or keep your DVD/porn collection on it, I just don't know. But even then, 200 Gigabytes ain't bad.

    Get into striping if you are willing to spend more money on more drives or need more capacity, and/or want faster reads. But if you get into more drives, think carefully about channels, especially if you're doing ATA.

    One other thought: when doing RAID0 or RAID1, I recommend software RAID rather than using any fancy hardware or dedicated coprocessors. It's simple enough that it won't burden your CPU, and then if you handle your mirroring at the partition level rather than the disk level, you can do performance optimizations. For example, if you just care about not losing your porn but don't really mind if the machine temporarily crashes in the event of a drive failure, then you don't need to RAID1 your swap or /tmp, instead you might want to stripe those things for speed, and just RAID1 the "important" data. I don't know whether today's hardware raid solutions give you that much flexibility or not (maybe they do, like I said, I don't know). Just something to think about.

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  163. Do you buy cardboard drives? by gelfling · · Score: 1

    Since 1981 (that's 23 years right - - Old Timers Disease...) I have had more than 12 home PCs. Ihave had

    -Zero-

    hard drive failures.

  164. Raid 5 -- but it won't necessarily save you by ianbnet · · Score: 1

    My file server uses RAID-5 in a 5x200GB array, for 800GB total storage.

    And I've lost it all, twice. Once through no fault of my own (dual drive failure), and once through my own incompetence combined with what i consider a fault in the array controller -- i turned off the machine while it was rebuilding from a drive failure.

    I agree with others in that RAID-1 is the safest, but I just can't justify the loss in storage space. But you have to be careful; even a RAID array won't protect you if something happens outside of hard drive failure (corruption, deleting), and it especially sucks when you lose your whole array -- it's basically impossible to recover.

    --
    --------------------- -me, Crusher of those who are Foolish (don't be foolish)
    1. Re:Raid 5 -- but it won't necessarily save you by Preacher+X · · Score: 1

      What raid controller do you use?

      --
      "And the heathens with their ways of trickery and deceit shall not prevail over the will of the righteous"
    2. Re:Raid 5 -- but it won't necessarily save you by ianbnet · · Score: 1

      I use the Promise SX6000; there are two things that drive me insane about it, although performance and reliability-wise it's been charming.

      One is that if a drive fails, it won't stop beeping -- there's no way to stop the beeping and for a file server that lives in my bedroom, when i might not be able to get a replacement drive right away, that's a problem. It's LOUD.

      The other is that there is no way to expand the RAID by adding additional disks; you have to completely rebuild it which means losing all the data. So I'm stuck where I am, even though it would support one more drive.

      For a cheap, fast solution though, it works well. I'm just using it for TIVO-like storage, backups of my workstation, and some other things, so it's not really mission-critical data.

      --
      --------------------- -me, Crusher of those who are Foolish (don't be foolish)
    3. Re:Raid 5 -- but it won't necessarily save you by Preacher+X · · Score: 1

      Thanks a bunch, I was looking at the HT RocketRaid 454 which would support the proper number of drives for my 1TB array i am building, however I hear many horror stories about it's less than acceptable CPU usage.

      --
      "And the heathens with their ways of trickery and deceit shall not prevail over the will of the righteous"
  165. Hotswap drives (was: Re:Software RAID?) by beavis88 · · Score: 1

    Firewire!

  166. 3Ware, RAID 1 by vandan · · Score: 1

    3Ware seem to have the best Linux drivers around. It's hard to go past that. When I was looking into other chipsets, I remember seeing comments about how their drivers were 'a complete mess' and 'no-one is interested in porting them to the 2.6 kernel'. Scary stuff...

    As for the type of RAID, RAID 1 ( mirroring ) is what you want for simplicity.

  167. Has Slashdot become a Tech Suport page? by stackdump · · Score: 1

    Hate to draw the fire, but

    I mean really what kind of story is this. The Guy is basically asking which RAID level he should use. If He knows how to implement all the types he has answered his own question.

    I think the real question is do you want Faster access or just redundancy.

  168. Re:Software raid - correction! by Oestergaard · · Score: 1

    Oops - one correction to the above:
    Any HW RAID controller with battery backed memory will lose big-time to SW RAID

    That of course should read "without battery backed memory"

  169. RAID 5, but more importantly by macdaddy · · Score: 4, Informative
    ...buy a decent RAID controller. Don't buy a POS Highpoint or Promise card. I speak from experience with both when I say you will regret it. Buy a decent brand of card such as a 3Ware or LSI. Adaptec is also fine if you're using SCSI drives. I personally have 3 3Ware cards (7000-2, 7506-4LP, 8506-12) and love them all. I also have an Adaptec 2940U2W in my old Mac that I'm also quite fond of (not to mention a few 2940UW controllers floating around somewhere). Buying a good controller is probably the most important thing you can do. You need excellent driver support. Highpoint cards and their support of Linux is a joke at best. The driver is a freaking nightmare. I've had 2 experiences with Promise controllers and OEM chipsets. Neither were positive and both resulted is massive amounts of lost data. 3Ware and LSI support in Lilnux is excellent, as is Adaptec. #1 rule of building any array is start with a quality controller.

    Next up is drives. Not all drives are alike as I'm sure you already know. Do you want a SCSI or an IDE array? I won't go into this lengthy topic further. I'll assume though that you will build an IDE array. Some drives do not work well in RAID setups. The controller companies are more likely to tell you this than the drive manufacturers. I own 6 Western Digital WD12000JB drives (7200 RPM, 8MB cache, 120GB capacity). By all accounts one would expect those drives to work quite well in a RAID setup. They have excellent read/write times individually and have a massive amount of cache. Well, one would think that and they'd be wrong. Both 3ware, Highpoint, and Asus tech support (on an OEM Promise chipset in teh A7V333) recommend against using Western Digital drives. 3Ware did however say that WD will give you firmware that works significantly better in RAID setups if you ask for it. Personally I'm a fan of Maxtor, both the drives and the company. I've had very few failures with Maxtor drives. Whenever I did they were always extremely helpful with getting me a replacement fast. I've been very impressed by ther service. I have 2 Maxtor 7Y250P0 and 2 6Y200P0 drives in the server sitting next to me. The second is a very high quality drive from Maxtor's DiamondMaX Plus 9 line. It too have 8MB cache and 200GB to spare and runs at 7200 RPM. Nice drive. The first pair are from Maxtor's MaXLine Plus II. They have a high MTTF, 8MB cache, 250GB space, and run at 7200 RPM. They are also a little bit faster than the 6Y200P0. They are excellent drives. My next drives will also be Maxtors but this time I'll be buying the SATA siblings of the MaxLine Pluss II product line.

    That brings me to my next point. PATA or SATA. Does your case have an abundance of room? I mean a massive amount of room to route long 80-conductor ribbon cables? Do you have at least 1 if not 2 PCI slots to waste below your RAID controller with the room needed to route the ribbon cables and make connections? If not then you need to go with Serial ATA drives. Don't even think twice about it. Go with SATA. The drives cost almost the same nowadays and you'll find wht little price difference there is ($5?) is worth it in the end. SATA drives are so much easier to wire. I have a case full of round cables. The case I have is an extremely large Codegen case and even I am having trouble with the cable mess. SATA is a wonderful thing. Along the same lines is hot-swap cages. There are a dozen brands to choose from. You should probably utilize them, even if you don't need hot-swap capabilities. I need them to create 3.5 drive slots from 5.25 bays. If you do want to do hot-swapping, make sure you drive cage and controller support it.

    Finally we get to RAID levels. You don't want to increase your risk of losing data so level 0 is out. 1 is extremely redundant and with the right controller can actually speed up reads. It's also costly at twice the cost per GB. Unless the data you're storing is absolutely critical you won't want to use 1 (in most cases). Forget about level 2. For starters th

    1. Re:RAID 5, but more importantly by wmeyer · · Score: 1
      Both 3ware, Highpoint, and Asus tech support (on an OEM Promise chipset in teh A7V333) recommend against using Western Digital drives. 3Ware did however say that WD will give you firmware that works significantly better in RAID setups if you ask for it.


      That has not been my experience. First, neither 3ware nor Highpoint has recommended I avoid WD -- in fact, from Highpoint, the advice was the opposite. As of yesterday.


      SATA is the only sensible approach, with point to point wiring, but the connectors suck. If you will ever move the machine, you are well advised to apply either some hot-glue or some RTV silicone. On their own, the connectors are barely passable in a stationary installation.

      --
      --- Bill
    2. Re:RAID 5, but more importantly by macdaddy · · Score: 1

      I've had lengthy discussions with all of them and all of the said to avoid WD drives. The only brand I use anymore is 3Ware (although LSI is also quite nice and I have a college buddy working their too). I wouldn't recommend anything else. I have a Highpoint 404 that I pulled out of disgust. I keep thinking I'd sell it on ebay. I should just throw the piece of trash out.

    3. Re:RAID 5, but more importantly by macdaddy · · Score: 1

      BTW, I should have mentioned that these conversations weren't with sales droids (I don't know if your's were or not). The conversations were with upper-level techs. It seems they all pass you up the food chain when you call in and are very irate about losing data. :-) They said internal benchmarks singled out the WD's (without the firmware updates) as horrible performers. That response was consistent across the board. I wonder how the current offerings from WD fair. For the record I have 4 WB1200JB drives in the machine I'm typing on right now. 2 are individuals and two are striped together. The stripe fairs worse in terms of speed than one of the individual drives. This is on a 3Ware 7000-2. Neither drive has the newer firmware since the array was full before the firmware became available (and I finally heard about it). The speed improvement isn't worth the risk to my existing data however.

    4. Re:RAID 5, but more importantly by wmeyer · · Score: 1
      My conversations were with engineering, and reverified today. The card I'm testing, though, is the 1820A, which is much newer.


      The 3ware has given us numerous problems, some of which have been corrected, others not.

      --
      --- Bill
    5. Re:RAID 5, but more importantly by beakburke · · Score: 1

      Did the problems with WD drives extend to RAID 1 as well?

      --
      ----- Question authority, but not ours. Hate the man, but we're not him.
    6. Re:RAID 5, but more importantly by macdaddy · · Score: 1

      I haven't used RAID 1 in years so I couldn't say for sure. The other replier said his recent discussions with the tech dept didn't say anything about it so perhaps WD is shipping the fixed firmware on all drives now. It's possible I suppose. I rarely update the firmware on my drives. I definitely don't do it if there is data on them I'd like to keep. :-) Maybe next time I bring a new machine online I'll copy the data over there temporarily.

    7. Re:RAID 5, but more importantly by macdaddy · · Score: 1

      I wonder if WD is shipping the RAID-compotent firmware on all drives now... That might explain it. They were quite adament about it before. 3ware hardware support PDF even mentioned not using them.

  170. RAID option by Lord+Kestrel · · Score: 1

    I picked up a LaCie disk pack not too long ago, and it is perfect for this kind of thing. External, Firewire 400/800 attached diskpack, each with 1TB. Two of those in a mirror would give you a decent amount of storage, and also provide for easy portability if you want to move data from one location to another. Just hook one of them back up later, and the mirror will rebuild itself.

  171. Finger trouble by HermanZA · · Score: 1

    is more common than HW failures. Therefore, instead of RAID1, I use 2 drives with rsync every night. This gives redundancy with a time lag. If you accidentally screw things up, then you can go and dig on the second drive.

  172. Building a home fileserver by KaiLoi · · Score: 5, Interesting

    I have just finished doing this exact thing.

    I basically built a box to do nothing other than fileserv. I put together a nice simple old PC (550mhz with 256 meg of ram) and mounted it in an old rack mount case I had lying round.

    It's running debian with 2.4.26.

    I'm running software raid and installed 2 x 2 interface IDE cards.

    I threw in 6 seagate 120 gig drives (the ones with the 8 meg cache) and ran raid5 across 5 of them and a hot spare to rebuild the raid should a drvie fail. Each drive has it's own IDE channel to prevent channel faliure from screwing my raid.

    I'm using ext3 as the filesystem and wrote my own little raid mon script that SMS's me should a drive fail and alarms locally.

    This setup has been rock steady and gives me 460 (ish) gig of usable space after formatting.

    For added peice of mind the machine is plugged into a UPS that is connected to the machine via Serial. If the UPS kicks in it shuts the machine down properly after sending an alarm SMS (the DSL and switch are also on the UPS) (yes I'm a paranoid freak)

    This makes a perfectly good media and file server and I've had no problem with it in the few months I've had it.

    I also reccomend setting the spin down time onm the drives manually with hdparm. It was getting awfully warm in the box till I turned that on on the seagates. Modern drives are rather hot. ;)

    I have the whole thing mounted via SMB on my other boxes around the house and it's fast,(gig ethernet) reliable and easy.

    Tho do remember that no amount of raiding will save you if you lose 2 drives through some horrible freak of badness, and no raid level is going to protect you from a house fire. Hence mine also rsyncs all my absoloutely vital files (scanned family photos and docs) offsite to a file storage site every night at 2am so as not to chew my bandwidth dduring usable times. Don't forget the only truely secure data is that which is backed up.. and offsite.... twice. ;)

    1. Re:Building a home fileserver by swordgeek · · Score: 1

      "Tho do remember that no amount of raiding will save you if you lose 2 drives through some horrible freak of badness"

      Not true. RAID 1+0 ("Raid 10") is moderately resilient to double-failures if engineered properly. RAID5+0 is entirely protected from dual failures, but of course chews up over 50% of your disk space.

      If you're into mid-range storage, Network Appliance has "Diagonal parity RAID" which basically guarantees that a system will remain up and available with no loss of data from a two-disk failure. I got a long and involved explanation of how it works from one of the NA guys, and it's absolutely simple, beautiful magic.

      But none of this detracts from your comments on backups. They're quite necessary indeed!

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
    2. Re:Building a home fileserver by Just+Some+Guy · · Score: 2, Interesting
      I also reccomend setting the spin down time onm the drives manually with hdparm.

      NO NO NO NO NO. Repeat: NO . Don't do that. Really, don't. Drives, particularly the high-RPM types you're likely to find in servers, do not like to be cycled a lot; it's the single most stressing thing you can do to one. You will dramatically shorten your drives' livespans if you do this.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Building a home fileserver by Anonymous Coward · · Score: 0

      That is what he needs RAID for

  173. tiny raid for tiny home server by bbdd · · Score: 1

    this might not be the best answer, but i have to mention it here since its kind of unique.

    want a two drive mirrored raid that requires no software drivers (works with any os) and fits in a 3.5" bay?

    check out the microraid

    kinda pricey, but would be neat for those shoebox size cpu cases. and with 100 gb laptop drives coming out, it would give a useable amount of space.

  174. A horror story for illumination by A+nonymous+Coward · · Score: 1

    I deleted /usr/man/man1/* by mistake one day, no big deal, I got out the backup tape.

    It jammed.

    I finally got the tape out but destroyed the drive.

    It was a real nice TEAC drive, cassette form factor but very solid robust tapesm and had been reliable for 5 years ... they didn't make them any more, and no one else did either. And a usenet call for help found no responses, no one else used it either.

    Well, only man1, who really cares ...

    Then the disk drive wouldn't spin back up.

    I was about ready to drop the whole thing into the lake but I found a loose fan connection and the drive spun back up. I ended up still without man1, but everything else was ok.

    My lesson was that proprietary sucks, and backup is good as long as it's to nice generic hardware that you can get replacements anywhere in a hurry.

    1. Re:A horror story for illumination by Mignon · · Score: 1
      I deleted /usr/man/man1/* by mistake one day, no big deal, I got out the backup tape.

      It jammed.

      I finally got the tape out but destroyed the drive.

      It was a real nice TEAC drive

      Was it, like, beep, beep, beep ?

  175. Get offsite backup! by grahamsz · · Score: 1

    Find a friend in the same situation and set up rsync to do an offsite backup everynight.

    When it came to my final year university project i had everything (including my tex writeup) in my own cvs server. Every night i ran an rsync to back that up to university, and the following morning they'd back that up to tape.

    Given that i had the files all checked out on 3 or 4 systems, i probably had about 8 copies of my work floating around.

    You don't need to offsite your mp3 collection, but there's bound to be some data that you wouldn't want to loose.

  176. RAID 5 by RancidBeef · · Score: 1

    I had a RAID 5 with 4 60GB Maxtor drives. I've had very poor luck with Maxtor drives (about 50% failure rate). Once when one went bad, I "corrected" the problem with Maxtor's low-level format utility. While it was rebuilding the array, *another* one got an unrecoverable error and got kicked out of the array. Two drives gone and I was screwed. However, I was able to get the "bad" drive going well enough to dd its contents off to another drive. Then I did the low-level format on it. Then I did a "mkraid" using the exact same blocksize, etc. With a little more trickery I was actually able to get the array back up and running with no lost data! I switched to 4 120 GB Western Digital drives and have had no problems with them.

    BTW, I put the old Maxtor drives in a second fileserver. I use that raid for backups of stuff. I discovered that the drives were getting pretty hot, so I installed a window air-conditioning unit in the computer room (it got hot in there with 4 or 5 computers running all the time). That seemed to stop my drive failure problem. I still don't trust the Maxtors all that much, though. The WDs have run fine even when the room got really hot.

    Oh, the software RAID-5 with ReiserFS seems to work well for me. I keep several VMWare virtual machine disk images on the RAID and can run them all at once with surprisingly good performance. The machine is an AMD Athlon 1.4 GHz with 512 MB of RAM. I'm about to upgrade it to 1GB of RAM while I can still buy PC-133 SDRAM...

  177. Why even use RAID? by Not_Wiggins · · Score: 1

    Assuming you have systems you want to backup, why not just put together a dedicated backup system?

    This is the solution I've gone for, and it works well for my modest network at home. I have one system dedicated to being the "dump box" that rsync's to my other systems on a regular basis (cygwin on Windows systems helps me out here).

    This way, I'd need hardware in both systems to fail simultaneously to lose data.

    I suppose one could call it "Network RAID1." 8)
    But, it is cheap and simple.

    --
    Diplomacy is the art of saying, "Nice doggie!" until you can find a rock.
  178. Combining drives of different sizes by KjetilK · · Score: 1
    This was convenient, I'm doing something similar in near future. Basically, I currently have one 20 GB IDE drive, but I was about to get a new drive to replace the 40 GB in the workstation, so I figured I'd stick that in the file server.

    This is going to be software RAID, using Linux.

    There are some stuff that I wouldn't need redundancy for, for example /tmp, so I figured I'd stick that in a partition on the part of the drive which isn't mirrored, if it is possible. Is it?

    A part of the point with RAID is that the system won't go down if one drive fails, so a part of the question is what would happen if the larger drive fails, can I have some kind of fallback for the stuff that writes to /tmp?

    Any advices on this would be appreciated!

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
  179. Mirroring is just as good as raid 1 by PeterJFraser · · Score: 1

    With mirroring, reads come from either disk and writes go to both disks. Windows Servers include mirroring of disk partitions and it works very well. Win XP allows stripping of disks but not mirroring, very frustrating. I have to buy mother boards with builtin raid 1 to get reduncency. The actual cost is very small amount extra, no where near the price of a server licence. I don't understand why Microsoft doesn't allow mirroring of XP, and I would understand why they would not allowing striping.

  180. Best Cheap Raid 5 solution imop by Anonymous Coward · · Score: 0

    I doubt this will get read, but
    Promise has a new 4 SATA raid card that offers raid 0,1, and 5 plus with SATA the drives are hot swappable. The proce for the card was under 200. And you get the added bonus of better airflow for the case(less heat:) Through in a couple of HDD enclosures for 12 bucks and you have raid 5 of up to about 750gb with the current high end SATA drives at 7200 rpm

    Rock on

  181. Good God, you're dense... by EnglishTim · · Score: 3, Insightful

    What you seem to fail to grasp is that your 5 year SCSI guarantee does not guarantee you that the disk will not fail within 5 years.. It merely means that the disk is unlikely to fail in that time and they will give you a free replacement if it does.

    Therefore, if your data is important you won't just trust that an unlikely event won't happen - you'll assume that it will happen and make sure that it won't affect the integrity of your data.

    Therefore you'll be using RAID and preferably regular backups whatever you do. This is what ensures your data integrity, not the reliability or otherwise of your drive.

    After that, it's a case weighing performance, the cost (in money, manpower and downtime) of replacing a broken drive and the cost of setup against each other, and this is where it starts to make sense to use IDE drives for RAID:

    For instance, say you've got 5 IDE RAID array. Over the space of say, five years you end up having to replace three of the drives - that's eight IDE drives you've had to buy

    You also do the same thing with SCSI drives, and luckily none of them break - that's 5 SCSI drives all in all.

    Now, say the IDE drives cost $100 each compared to $500 for the SCSI drives. You've spent $800 in the IDE case compared with $2500 in the SCSI case. There was no difference in the safety of your data but the SCSI one cost three times as much.

    Therefore to choose SCSI, you'd *really* want to get that extra little bit of speed, which to be honest is more likely to be limited by the network to your server anyway...

    So, to recap - assuming your data is valuable to you, the choice between SCSI and IDE has nothing to do with the disk reliability because you'll be relying on some other systems (RAID and backups) for your reliability anyway.

    1. Re:Good God, you're dense... by Anonymous Coward · · Score: 0

      You must be an idiot. OR you've never ever used SCSI hard drives. Once I talked with a guy who is working for a data-recovery company that recovers data from hard drives. He told me, that SCSI hard drives are MUCH MORE reliable, and comparing to IDE drives, it is lot more easy to recover data from them, because they were much more properly designed. (That plus speed is not why I would buy SCSI drives)

    2. Re:Good God, you're dense... by plj · · Score: 1

      Therefore, if your data is important you won't just trust that an unlikely event won't happen - you'll assume that it will happen and make sure that it won't affect the integrity of your data.

      You're just way too paranoid. I've never had any problems with my SCSI drives whatsoever, and I never back them up either - its just too much hassle. But wait, where is that strange clicking sound coming fr

      NO CARRIER

      --
      “Wait for Hurd if you want something real” –Linus
    3. Re:Good God, you're dense... by EnglishTim · · Score: 1

      Actually, I used to have a SCSI drive in my computer. It failed, but that was largely due to a comedy of errors that resulted in the computer and drive severely overheating.

      However, again you miss the point. SCSI drives may be very reliable, but they're not completely reliable. They may not fail very often, but they do fail. Only a fool will entrust his important data to the hope that an unlikely event won't happen.

  182. Hot swap == Hardware RAID by runswithd6s · · Score: 1
    I think you're going to have more issues with the hot-swapability requirement than with anything else. By requiring "inexpensive" RAID, you'll probably be looking at Parallel ATA or SATA IDE hard-drives. In order to have true "hot swap" capability, you will have to look into a hardware solution for RAID. In particular, you need a card that can handle not only the RAID portion, but the power management of the devices as well (this excludes your Promise and Highpoint cards). Software RAID or partial-software drivers are typically poor in this aspect (Windows and Linux alike).

    Additionally, you will need sleds for most of your drives that are compatible with your RAID card. This isn't a difficult requirement, but be sure to consult the RAID card vendor for solutions that they support or know work. You can mount your spare drives internally w/o sleds; it's the "broken" drive you're interested in swapping out, not your spare(s).

    My recommendations: 3ware Escalade 9000 series SATA cards. These are hardware RAID PCI cards that work in both Linux and Windows environments. If you go with the four disk controller, do RAID 10. If you go with the 8 disk controller, you can manage it into multiple arrays and have your choice of RAID's based on your application needs.

    Now, if you're pinched for cash and running Linux, use a simple software RAID level 1 with three disks (one spare). Set up your disks pin-out to "Cable Select" so that when you pull out your "broken" disk, you'll still be able to boot (some BIOS's are really picky about that). The spare isn't necessary, and you won't have hot swap, but it'll be cheap and relatively reliable (with respect to hardware RAID 10).

    --
    assert(expired(knowledge)); /* core dump */
  183. Rsync every night by derphilipp · · Score: 3, Insightful

    I would suggest you dont buy a RAID System: Heres what I do: I got 3 harddrives - one small one with a tiny linux installation on it and 2 harddrives of the same size for data. Every night Drive 1 is rsynced to Drive 2 and unmounted. Now Drive 2 will be mounted instead of Drive 1. The next Night Drive 2 will be rsynced to Drive 1 and so on. The great advance: If you accidentally delete a file, you have untill midnight to restore it without any hazzle.

    --
    Spelling mistakes: My is english spoken not tongue of mother.
    1. Re:Rsync every night by pgregg · · Score: 1

      Now thats plain silly. What if your "data" is modified during the rsync (on drive 1) ? sync completes, drive 1 is unmounted, 2 becomes live and your changes are lost.

      Unless you shutdown all programs and restrict everything, you will lose data.

      Simply leave drive 1 active, and drive 2 as the backup and be happy.

    2. Re:Rsync every night by derphilipp · · Score: 2, Insightful

      I do shutdown all access to this drive before syncing it. About you solution: Hot will you know when you second drive (bakup) is defect ? I will know the next day when network access wont work.

      --
      Spelling mistakes: My is english spoken not tongue of mother.
    3. Re:Rsync every night by pgregg · · Score: 1

      Well if your second set is defective, the copy process (copying from set 1 to 2) will fail. Just have that alert you - plus you have the upside that you don't have all your staff calling tech support to find out why they can't access any files.

  184. Ok, here is the info and prices by SensitiveMale · · Score: 3, Informative

    How do I know? 'Cause I submitted this EXACT SAME story a month ago and was rejected.

    Sigh.

    The cheapest RAID 1 OS internal and independent RAID (MIRROR) is Duplidisk3 by ARCOIDE.com

    You also get a ton of implementations; Stand alone, PCI card (for power only), 3 1/2" bay, and 5 1/4" bay. The ones that install in bays are so the user can seethe status lights.

    If you want an external RAID 5 the cheapest I have found is this - http://www.coolgear.com/productdetails1.cfm?sku=RA ID-5-3BAY&cats=&catid=314,312 It is a 3 bay RAID 5 for $800.

    If you want 5 disk RAID 5 those are @ $1200. http://www.cooldrives.com/fii13toatade.html

    If you want external RAID 0 or 1 relatively cheap then go with one of these - http://www.cooldrives.com/dubayusb20an1.html
    You can find a ton of these devices on the web since they all use the same drive controllers and bays. The nice thing about these is that sometimes you can talk the store into selling you the RAID system without the external case. These things simply require you plugging in an IDE cable and power and can be installed in any PC case that has 2 5 1/4" bays open. If you but just the 2 bay controller they are @ $230 or so. I have one and I am really happy with it.

    Everything I listed above uses IDE drives and is OS independent.

    1. Re:Ok, here is the info and prices by armus · · Score: 1

      I also use the Duplidisk 3 PCI cards. I tried other ones like PROMISE FASTRAK TX4000. The problem I had with the Promise card was that it used drivers. The box that it was going into it was a linux box. If you upgrade the kernel, you have to a)find a new driver or b) compile your own and pray that it works. That seemed like a nightmare so I bought the Duplidisk 3 and have been loving it since. I have 2 40 gig's and 2 250 gig's RAID1. No stinking drivers, pure hardware RAID.

      Check it out here: http://www.duplidisk.com

      -armus

    2. Re:Ok, here is the info and prices by bbdd · · Score: 1

      we use the duplidisk in a voicemail machine that still runs os/2. (if it ain't broke...)

      on older os's or funky hardware that can raise compatibility issues (like os/2 and the phone line cards in the voicemail system), the duplidisk is great since it requires no drivers.

      it saved our butts once already...

  185. Here's what I've tested and use by Syntax+Heir · · Score: 1
    I've recently done exactly what you are proposing. Promise makes this product

    It comes with the drives enclosures, trays and the RAID controller. They're hot swapable and the rebuild time is relatively fast. (4 hours for a 250GB mirror set) $170 from MWAVE.com

    I even went so far as to buy a third tray for offsite storage. I replace the offsite tray with one of the production trays once a week. Promise also has a monitoring utility to put on your admin console so you cant get status alerts.

    Best of luck!

    --
    The greatest hindrance to success is a well-rationalized excuse
  186. Promise 1X2 Mirror/RAID1 by Anonymous Coward · · Score: 0

    add 2 - 36GB SATA WD Raptor / 1000RPM SATA / / 5.2ms / 8MB Buffer / 5 Yr Warranty

    132 year life span

    I don't see a probem in my future

  187. Better Solution by Anonymous Coward · · Score: 0

    Make sure your drives are kept cool.
    Back up data regularly.

  188. Enough of the raid definitions. by Anonymous Coward · · Score: 0

    After the first 50 or so posts, it seems no one answered this question.. most just listed the raid definitions...

    "I'd just like to remove the bad hard drive and install a new one and be done with it."

    Wouldn't one need an expensive hardware based raid controller to seemlessly hotswap and rebuild a volume?

  189. why? by Uzik2 · · Score: 1

    My personal file server has run for many years with
    only a single failure. I replaced the hard drive,
    restored from the backup and restarted. It
    seems like that's less work than a raid array.
    Cheaper too.

    --
    -- Programming with boost is like building a house with lego. It's a cool but I wouldn't want to live in it
  190. Come on! by Cinquero · · Score: 1

    This story is off-topic as it can be. Read a RAID-FAQ. Every idiot knows that there are hot-swappable drives. And that is common in the RAID area.

  191. Cough Coughcough! by PCM2 · · Score: 1
    Data is not mirrored but can be reconstructed after drive failure using the remaining disks and the parity data (very similiar to how PAR files can reconstruct damaged/missing RAR files for the Newsgroup pirates out there).
    COUGH COUGH! Erm, uh, ahh, what he meant to say is that, er, ah, thieves are using RAR and PAR to create illegal archives of all the well-reasoned, insightful and informative conversations many of us conduct via Usenet newsgroups, without clearing the copyright of our posts with us first! It's a terrible situation!

    (Psssssst ... shut up, dude!)

    --
    Breakfast served all day!
    1. Re:Cough Coughcough! by strictnein · · Score: 1

      woah... yes... what he was saying..

      I was uhmm... talking about how the swashbuckling pirates use newsgroups to share maps and sea charts... yes

      the problem is that the ninjas are on to them...

  192. What OS? by Korthrun · · Score: 1

    Stripped, Mirrored. If you can play in Solaris land, disk suite makes things way easy to manage, and way easy to recover from. Haveing hotspares is VERY handy. So is the ability to remove a disk from the array on the fly, fsck/format/wahtever it, and add it back on the fly, and have it auto synced to where it should be.

    Those sorts of things I think are a wee bit more handy than jsut knowing 'what raid level to use'.

  193. and what's wrong with rsync ? by spinash · · Score: 1

    Assuming OS=UNIX|Linux. The problem with raid is that it doesn't protect you against a "rm -rf". I would rather suggest to buy two disks, mount them as separate filesystems, and use a daily rsync to mirror content from disk 1 to disk 2. Avoid "--delete" and you're safe.

    Of course, having the second disk on another PC is better, the best is having this 2nd PC in another location (eg against fire). But this is my running paranoia.

    Side benefit : you avoid RAID cost and complexity (try booting from a soft-raid1 setup when disk 1 has gone south).

    Chuck

  194. No, you take a serious performance hit though. by Anonymous Coward · · Score: 0

    Because RAID 5 stores parity info in stripes on successive disks, n-1/n (2/3 if you have a 3 drive raid5) of your read requests will now require the controller (or worse driver if you are using software raid) to do a parity calculation to get your data. This is slow.

    Speaking from experience, on a low usage array it doesn't matter at all, but on a busy array, its a huge problem. RAID 10 is the only way to go for a busy/important array.

  195. RAID 5, IDE, 250GB (Maxtor or WD), Linux SW RAID by AltoidsSuck · · Score: 1
    Its just that simple. You need 3 (or more) drives. Last time I checked Fry's had 250GB drives for $139 each. So you'll have almost half a terabyte of storage for about $420.

    Linux SW RAID is a breeze, just google for "linux sw raid howto"

    Bryn

  196. Shopping list for $687 400gb RAID 5 by netsavior · · Score: 1

    I build these little shuttle boxes for software delivery at work for very cheap with 400gb Raid 5 usable redundant space for a mere $687 you can add that to an existing PC $300 for the controller 3x $129 for the drives if you shop around and dont use the first froogle links like I did you may be able to save some cash we used to use a different and cheaper (like 200 bucks plus a RDR Stick of ram) card, but it sucked. if you wanna spend more money buy another drive and make it 600gb raid 5

  197. I use (and recommend) raid 1 by PhiberOptix · · Score: 2

    I work for a small consulting business and since i'm the "linux guy" i was told to build a ^sigh^ cheapest, but reliable web/mail server.
    I got two 60 seagate ide drives and used software raid to set it up. That was about two years ago. One of the hard drives failed last year, but i replaced it with a 80gb drive i got in the mall and just rebuilt the server in about 30 minutes (counting the googling and the server stop to replace the drive).
    I definitely recommend, as i use this setup at home too.

  198. My setup by Relifram · · Score: 1

    You said you already had hardware picked out, so I don't know if this will be any help, but here's my setup that's been running constantly now for around 3 years.

    -3Ware Escalade 6410 4-port true RAID controller
    -IBM GXP75 80GB drives (x3)
    -Redhat 7.1 with modified/upgraded kernel

    This system is running as a file server on a small network (4-10 computers depending on the day) and the only problem I've had was when one of the IBMs died (a month after got it). Replacement of the drive was incredably simple: Pull the old one out, drop the new one in, turn the system on and presto: automatic rebuild! Total down time: 8 minutes to swap the drive and reboot. (okay, I cheat, they are in removable carts)

    At the time, the whole setup only cost me about US$500, and I'm sure you can do exactly the same setup now for around $300

    Offtopic: I'd stay away from the GXP75. Not a good drive, unfortunately I didn't know that before I bought them, I just got them for their quietness.

    The longest running drive is a Samsung something-or-other, at about 7 years continuous (or very near) up time.

  199. Re:RAID 1 - Adaptec 2100S by Tuna_Shooter · · Score: 1

    I use for my gaming and development boxes, RAID 1 setups. 2-36 gigs UltraSCSI seems to work well. I am using Adaptecs 2100S's with the most cache i could fit. I've just added an additional 250 gig ide drives for some non-critical items. I've had this setup for about 2 years and just had one of the drives fail due to faulty 5 1/4" tray fans. I never saw the fans fail and i guess the drive was running hot for a while until it finally went kaput!!.. Just pulled the old one out, put the new one in and after about 15 minutes of rebuilding i was back in business. Needless to say i now have enough air-flow through the box (additional fans) that i have to worry about things blowing around.

    --
    *--- Sometimes a majority only means that all the fools are on the same side. ---*
  200. RAID 5 can be appropriate by egarland · · Score: 2, Interesting

    RAID 5 is only really appropriate if you are building a large array. The money you will spend on the controller will make the cost/megabyte higher than RAID 1 unless you are looking for a very big array (more than you can get with a mirrored pair.) I have a RAID 5 array I built about 2 years ago with 4 160GB drives on a 3ware 6000 series RAID controller. It has worked great and I'm planning on using RAID 5 again for my next array. I've only had one drive failure so far but it recovered from it beautifully.

    If you are willing to fork out about $1100 for storage you can create a really nice array. I'd recommend a 3Ware 4 port 9000 series controller like the 9500S4LP (around $330) or a RaidCore card reviewed recently over at tomshardware. Add in 4 $180 250GB SATA drives and you have a nice 750 GB array for around $1100. The Promise FastTrack SX6000 is quite economical and supports more drives if you don't mind it's bad performance and crappy Linux support. 8 port cards are also pretty economical but it's hard to put that many drives in most cases. You have to design a system carefully in order to create arrays much bigger than 4 drives.

    Once you have your array, it's a good to use Linux or something with a reliable journaling filesystem on top of it. Once you have a RAID array your filesystem becomes a much more important point of failure. Using a reliable one will do a lot towards reducing your likelihood of data loss.

    I also use a separate drive with a separate filesystem for backup. I have a script that manages it for me (ignoring certain directories) which runs every night. A RAID array is pretty reliable and a big step up from single drives so it's a good half way point but I wasn't comfortable with it so I went further. How far you go us up to you.

    --
    set softtabstop=4 shiftwidth=4 expandtab nocp worlddomination
  201. Other options that could work by Nemesis099 · · Score: 1

    I bought a server off of Ebay then bought the drives somewhere else. I got a Dell Poweredge 4300 (supports Redhat) and I loaded it with 6 50GB SCSI hard drives for $50 a piece and did RAID 5.

    I don't know if this is the best option but it gave me 250GB of RAID 5 space for under $1000 including shipping. The server came with 3 9GB drives that I bought a holder up top and mirrored them with the OS to make sure the computer doesn't go down that way. With this solution you also get the advantage of good cooling, and multiple power supplies. Of course you get the hotswap bays up front too.

    This is just a thought I'm still not sure if this is better then going the SATA route since bigger SCSI drives are so expensive!

  202. FAQ by Spazmania · · Score: 1

    This is a FAQ. Its the very first thing covered in every single RAID FAQ you find in Google. Read the FAQ.

    And if you're losing that many drives, you should probably read the FAQs about overheating too. I've been responsible for hundreds of drives in the past decade and I've lost only two. Sounds like you have a problem.

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
  203. Linux Software RAID 5 by Anonymous Coward · · Score: 0

    I've been using software RAID 5 for years, and while I've suffered my share of IDE drive failures, and even a controller failure, I've never lost important data because I also back up my server. Critical data gets backed up twice, once on the server, and also on the workstation. Software RAID is more configurable than hardware, and cheaper, too. I use standard Maxtor/Promise ATA-133 controllers, instead of Megaraid or Escalade or similar. I run eight identical IDE retail-grade drives on two controllers, and a pair of large monolithic backup drives on another, plus a pair of mirrored U160 SCSI drives for the OS. You CAN put two drives on each IDE channel, the secret is round-robin disk access timings. My RAID array consistently reads 80MB/s in hdparm -t, while my SCSI mirror only reads in the 50s. The relationship between block size and EXT3 stride length is also very important. Check out the software raid how-to at http://www.tldp.org.

  204. More than that by wurp · · Score: 1

    RAID only protects against _hard drive_ failure. At the last place I worked, the RAID controller went nuts three times, losing all data we didn't have backed up. The drives were physically fine, but all the data was lost because the controller went bad.

    1. Re:More than that by Eelco · · Score: 1

      I'm not sure what type of RAID controller you used, but in my experience (with both Dell and Compaq integrated RAID controllers), you can savely replace the RAID controller (or move the drives to another system) without losing any data.

  205. Ars RAID Article by Anonymous Coward · · Score: 0

    An old but still good "blackpaper" article on Ars that describes RAID options and requirements. Probably nothing that hasn't been discussed here, but at least it's all in one place, and not spread over N hundred posts.

    http://arstechnica.com/paedia/r/raid-1.html

  206. BAARF - www.baarf.com by Anonymous Coward · · Score: 0

    http://www.baarf.com/ - battle against any raid f

  207. Keep it simple by thempstead · · Score: 1
    Having read through some of the responses to the article it appears that some people have way to much time and money on their hands :) ... the important thing is this is a personal system not a commercial one with mission critical data, (if you do have mission critical data on your home machine then you need something really out of scope of this Ask Slashdot).


    For a home system keep it simple, if its simple but works then you can full understand it which means if it does go wrong then you are unlikely to panic and make matters worse.


    Keep your data on mirrored (RAID1) disks and use a journaled filesystem. Use software raid and once you have set it up make sure that you can mount it using a different system than will run it normally, e.g. a Knoppix cd or do as i do and have the OS seperate on a caddied drive so try a spare disk with a distribution on it ... do this BEFORE you put your data on (just in case). I, personally have three disks in each of my fileservers, one for OS and the RAID1 pair for data ... doing the above means if the OS dies you still have access to the RAID array.


    Now that will only protect you against the possibility of a hardware problem with the system ... it will not protect you against user error. To do that you will need to copy the data off of the server in some way ... Personally I do this by having another server, (same style of configuration as before hardware wise but it does run a different distribution on slightly different hardware). The data is periodically copied over onto it, e.g. if i rip a new cd ... it is not rsync'd as its possible that may propagate an unnoticed user error and hence remove data.


    But this doesn't help you if your house burns down, (incidentally taking your backup cds/dvds with it). I personally get round this by transfering the things i do not want to loose, e.g. personal documents, family photos etc, via sftp onto another server, same hardware setup, at my parents several hundred miles away. This amount of data if you are being honest should be small as it should only be really irreplacable files, i.e. NOT porn, mp3's or movies which you can rerip. This is done automatically but uses a 7 day cycle so that i have that long to notice a cockup and just be able to copy back ...this data is also stored on CD there as well just in case. Static data, e.g. Grandma's Birthday Photos 1992 do not need to be copied again and again as long as theres a know good copy offsite.


    This, IMHO, means that my data is reasonably secure from being unretrievably destroyed.


    I have had had disk failures with the data disks ... and with the linux software raid havent had any problem putting in a new disk and remirroring onto it with minimal intervention from myself.


    What ever you decide to do, if you make backups please make sure you can restore from them before you are in a situation when you HAVE to be able to restore from them!


    Regards


    Tim

  208. Best solutions are not the simplest solutions by procrusteous · · Score: 1

    Since having my system disk fail I always mirror my system drive using RAID 1. If one goes you just have to pull it out and you're back in business. Also, some OS don't like to be installed on a RAID 5 array and will be trouble on disk failure, and impossible if you're using the OS for the RAID management. I keep my data in RAID 5 because it is more space efficient. I use five drive striping and a hot swap spare. I backup critical data from both drives to tape every night and store the tape offsite because I had to manually rebuild one of those file systems once. And most importantly, regardless of what RAID system you use, upgrade to a new controller whenever your old one is no longer supported by the manufacturer, else keep a spare around if you plan on keeping the thing going longer than the company that made it. Chances are you're not going to be able to make a simple swap of controllers on drives that are already loaded. I can tell you from experience that it's less costly to pay for the regular hardware upgrades than to have a RAID controller repaired by a company that no longer exists.

  209. I went with RAID5 by steve_ellis · · Score: 2, Interesting
    within the last month I set up a RAID5 system after a nasty disk crash. I know I still need to do backups, but I needed lots of space anyway. I went with:
    • 3ware 9500S-8 8 port SATA RAID controller $485
    • 5 250GB Maxtor Maxline Plus-II drives $195 each
    • Supermicro 742T 7-bay SATA hotswap server case $330
    The drives are in a 4 drive array with one drive as a hot spare. About $1800 total, which includes the server case--pretty steep for ~700GB usable space, but I now have:
    • expandability to at least 7 hot swap drives
    • a hot spare
    • a dual xeon capable case with a 550W supply
    • plenty of airflow
    • online capacity expansion (3ware says available this summer)
    Yes, it is still a personal server, but we keep a lot of video on it as part of my DVArchive setup to support my ReplayTVs. I installed Fedora Core 2 on it right after Core 2 was released.

    Now, when I need to store a few hundred more hours of video, I can just throw 2 more Maxline Plus-II drives at it to get up to ~1.2TB--leaving final cost at under $2/GB, including the computer case, power supply and hotswap bays.

    provantage.com has the 4 port 3ware 9000 card for about $320, I think. -se

  210. Go for the gusto by Anonymous Coward · · Score: 0

    If you've got a lot of data and losing it would be a hassle, don't cheap out on some iffy homebrew solution-- get an external FireWire RAID-5 unit. They cost a little more, but they are worth it. Micronet sells a 600GB (5 x 120GB, 480GB usable) FireWire 800 RAID-5 for $2200, IIRC. If I had need of that much storage space on my LAN at home, I'd have one myself.

    They only sell one size smaller than that, a 480GB (4 x 120) FireWire 400 unit, but it actually costs more for some reason.

    I sell them to clients all the time, and they work great. I've only seen a single drive failure, and the users had no idea it had even happened. I slid in the replacement drive and the unit rebuilt the blank drive in about two hours, with no perceptible performance hit to the end users.

  211. RAID? Use redundant Servers by Anonymous Coward · · Score: 0

    For a home file server, the most reliable solution is a mirror server. You can get a old junk computer and put massive disk drives in it. This will allow you to recover from the accidental file deletion, bad hard drive, bad memory stick, bad power supply, bad drive controller, bad network card, etc. And if you can actually house the computer at a different location, you get disaster recovery too!

  212. RAID 6? by Ratcrow · · Score: 1
    I haven't seen any mention here of RAID 6 yet -- basically, it uses a second drive for another dimension of parity, such that two drives in the volume can fail without losing anything.

    This should at least leave enough time for a hot spare to rebuild before another drive goes, which can be a problem for RAID 5 (as noted here).

    Is this being used anywhere?

  213. Ghost by drew_92123 · · Score: 2, Interesting

    I have a removable drive, I ghost every month and do incremental backups every week to a DVD-RW.(seperate DVD for each incremental)... Worst case I lose a week and a couple of save games.

    The nice thing about ghosting is that I get to use a cheap 120GB 5400 rpm drive and save many compressed images from the drive I'm backing up... I'm backing up a 36GB(?) 10,000 rpm WD Raptor. It only take 15 mintues to restart, boot from my ghost cd, save the image, and reboot into windows XP.

    I didn't like the RAID solutions I was looking at, this not only works just as well for my needs, but I get to keep the removable HDD in a safe(fireproof of course) at the other end of the house just in case...

    Just a thought...

  214. RAID 1 or RAID 5 and BackupPC! by Spoke · · Score: 1

    Everyone else has pretty much covered it already, but here's a brief summary anyway.

    RAID 1 with 2 drives or RAID 5 with 3 drives is the best way to go for your typical desktop depending on your storage needs.

    What's important (as others have also mentioned) is that you also backup the data regularly. There's a great Open Source project called BackupPC which will let you backup just about any type of machine with network access (Unix and Windows machines) automatically. You can configure it to make as many incrementals as you want/need and it also uses compression and hard-links to save storage space. All you need is a Unix server to run BackupPC on with a decent amount of storage space. Restoring files with BackupPC is also a piece of cake, there's an easy to use web interface, or you can use the command line as well.

  215. Software RAID 5 by drsmithy · · Score: 1
    Reasoning:

    Best MB/$

    As a "personal fileserver", downtime to replace a disk is not critical.

    Most IOs will be reads. Even with RAID5's slow writes it won't matter a great deal, since the machine is probably on the other end of a 100Mb (or maybe home-user-level Gb) network. The bottleneck is almost certainly going to be the network, not the disk subsystem.

    For the same reason, the CPU overhead of software RAID is largely irrelevant. Any remotely modern CPU can easily handle the computational overhead of RAID5 with heaps of spare grunt to actually do fileserving.

    Disaster recovery costs are lower. You aren't tied to a specific hardware RAID controller (which may be impossible to buy at all in a few years). The disks can be trivially moved to a replacement machine and accessed from there.

    Also remember that RAID is for protection from *hardware failure*. It is _not_ a backup solution. It won't protect you from accidental deletions, random filesystem corruption, or malicious activities like worms and crackers.

    My personal recommendation, based on my setup, is a Linux machine using software RAID5, LVM, 4-channel disk controllers and drive cages like these. (there's a few different types around, you may want to go Serial ATA, for example) Buy 3 disks at a time and RAID5 them, then glue the space together logically using LVM. You lose somewhat more space than just a straight RAID5 across as many disks as you can lay your hands on, but you gain a bit in reliability and ease of use (adding more disk space, removing old sets of drives as they become obselete and migrating data is easier).

    I started off with a set of 2x(3x20G) drives years ago and have successfully and easily moved through sets of 40G, 80G, 120G and soon 200G drives by following this formula. "Replacing" old disks is a matter of adding the new ones, setting up the RAID, adding the space to an LVM volume, migrating the data off the "old" RAID set, removing the "old" RAID set from LVM and then removing the "old" drives.

  216. Perhaps I'm just lucky by Anonymous Coward · · Score: 0

    But I've been using software RAID 5 + linux for years and have never lost any data as a result of drives going tits up on any of my production servers. These are primarily busy web and mail servers. Back in the day, I also used the md driver for a largish SCSI array that was used at the time for a top 50 news server spool. Nary a problem (at least on the RAID front) and that was 4-5 years ago.

    With RAID drives being so cheap and most current motherboards shipping with 4+ IDE ports, a usable RAID 5 setup is cheap. I added 1/2 terabyte of software RAID 5 storage to an existing Linux box by purchasing 3 Maxtor 250gig drives, using spare IDE ports on the motherboard. I think the disks were $139/each on sale at CompUSA.

    Software RAID bothers you? Get a cheap 3Ware hardware IDE RAID card. They work out of the box for all but the most old/obscure kernels.

    Cheers,

    1. Re:Perhaps I'm just lucky by AKnightCowboy · · Score: 1
      Software RAID bothers you? Get a cheap 3Ware hardware IDE RAID card. They work out of the box for all but the most old/obscure kernels.

      I highly recommend the 3Ware SATA controllers (the 8500 series) and the older ATA 7500 series. They've worked great for my installations. I've got a 2 port 7000-2 Escalade in a server box doing RAID-1 between two 80 gig IDE disks, a 4 port 8500 SATA controller with 4 200GB disks doing RAID-5 in a media server, and at work we've got a nice big file server with three 8 port 8500 RAID controllers with 250GB SATA drives on it for about 5TB of storage storage across 3 volumes.

      They're definitely not expensive either. The 2 port ones are about $100 and are head and shoulders above those crappy Promise RAID controllers that claim to be hardware RAID. The 4 port ones are around $300 and the 8 port ones around $500. They even have a 12 port version.

  217. External RAID dual hard drive enclosures by Go_Ask_Alex · · Score: 1
    If you need just storage and not additional server features, maybe something to consider as a backup is one of the newer external RAID hard drive enclosures. Many are out there with features like...
    • Firewire 800 and/or USB 2.0 interfaces;
    • RAID Levels 0, 1+0, 5, 5+ Hot Spare (varies by manufacturer/model);
    • quick removable drive bays;
    • drive capacities up to 320GB/drive; and
    • auto-formating after drive swaps.
    I've seen prices ranging from $200 to $1300 depending on features, with some units being more portable than others. Simply Google "firewire RAID 800" as a search. I'm considering a RAID enclosure as a master archive for my mp3 and media collection (simple mirroring), with an additional portable single drive Firewire 800 hard drive enclosure as a backup for safety and portability. In my case, I have a file server currently but rather replace it with a smaller and quieter RAID box.
  218. Dual Boot Raid by whistler36 · · Score: 1

    Suppose one wanted a home machine with Windows XP Pro and some Linux/BSD variant. Are there any software/hardware solutions for that configurations? Does a raid array have to be dedicated to a single OS?

    I am supposed to have raid supported on my motherboard (Highpoint, I believe) but my version is not supported by any Linux version.

    1. Re: Dual Boot Raid by The+Rizz · · Score: 1

      Suppose one wanted a home machine with Windows XP Pro and some Linux/BSD variant. Are there any software/hardware solutions for that configurations? Does a raid array have to be dedicated to a single OS?

      Grab a good hardware-RAID card (I suggest a 3ware card) rather than a software-RAID card (which most of the onboard cards are nowadays).
      Most of these hardware-RAID cards have BIOS support on them, so you can generally use them on any OS you want. (Or even under multiple OSes - the RAID array shows up as a hard drive in the OS and can be partitioned just like any other drive.)
      In the case of a 3ware card, it sets itself up as a SCSI controller (even though it uses IDE drives), so on more modern OSes you need a driver disk or special boot option to get it running during the setup process, while older OSes will just treat it as a generic non-DMA drive. (For the 3ware card I have, in Win9x it shows up as a generic int13 drive during setup, in Linux you just need to use the SCSI boot option during setup, and for WinNT/2k/XP you need a driver disk.)

      If you look around on eBay, you can pick up 8-port 3ware RAID {1, 10, 0, JBOD} cards for around $30-50, and 4-port 3ware cards that support RAID5 for about $75-125. (The 4D and 5000 series are the former, and 6000 and newer series are the latter.)

      --The Rizz

      "Forgive your enemies, but never forget their names." --John F. Kennedy

  219. Software or hardware RAID-5 by jemenake · · Score: 4, Informative
    Oh boy... where to start. I'll try to offer some info that the dude wouldn't be able to find via Google (or, at least, not all in one place)...

    Basically, your options are RAID-1 and RAID-5... as hundreds of people here have already pointed out. RAID-1 is just straight mirroring (where all drives in the array contain the same information). Usually, this just involves two drives, but there's no reason why you couldn't have, say, three or four drives all mirrored... and you could lose all but one of them and still be up and running.

    RAID-5 is a very cool beast. You bascially have an array of drives with some portion of them set aside for redundancy. Most of the posts I've seen here only describe a scenario where you have three drives with one of those drives for redundancy. This only scratches the surface, however.

    For example, you could have an array of, say, 5 10GB drives, with 2 drives' worth of redundancy. With this, your RAID implementation would make available to you, what seemed to be, a single 30GB drive (since 20GB of the total 50GB is used for redundancy). This way, you could have any two drives go bad and you're still okay.

    Another example, I guess, is that you could have a two-drive RAID-5 with one drive's worth of redundancy. In this case, you'd have the functionaly equivalent of a RAID-1 mirroring setup. Not very sexy... but you could do it in some implementations, I'm sure.

    I'm trying to use the phrase "X drives' worth of redundancy" instead of "X drives set aside for redundancy" because it's important to point out that, in RAID, all of the drives are considered equal. If you have 5 drives with 2-drive redundancy, it's not like you set 3 of them as the "main" drives and 2 as the "backup" ones. There's no preferential treatment like that. All the drives are equivalent and you could lose any of them and the others all move to cover for the one that was lost.

    Now, personally, I like RAID-5 because it offers the ability to use more than 50% of the space you paid for. With RAID-1 mirroring, you always only get to use 50% of the space that really exists. This would be necessary if, when you suffered a storage failure, you always lost half of it. But that's not how it happens. Usually, you lose a single drive. So, it would be nice to maximize your space available, while having some insurance against a single drive failure.

    This is where RAID-5 really shines, because each successive drive you add, you get all of that space for your usage. You could have, say, four drives, 1 drive of redundancy, and you get 3 drives' worth of space.

    Now, there are a few pros and cons for both RAID-1 and RAID-5 regarding recovering/moving data and changing the size of your array, and I'll list them here.
    • Recovery: Since RAID-1 uses brain-dead mirroring, both drives usually contain the exact same information that the virtual RAID drive does. Because of this, if one of the drives goes bad (or even if the RAID controller goes bad), you can take one of the good drives from the RAID, plug it into a plain SCSI or IDE controller and all of your data is right there. You can even boot from it, if you were booting from your RAID earlier. So, it's brain-dead simple to go back to a non-RAID configuration with RAID-1. With RAID-5, you couldn't do that. Advantage: RAID-1.
    • Changing array size: If you fill up your RAID-1 mirrored drives and need more space, your only option is to go buy two more bigger drives, put them in the machine, set up a new mirror, and copy everything from one mirror to another. This uses up 4 hard drive connections in your machine. (Although, with RAID-1, you *could* pull out one of the older drives, and put in one of the newer drives, copy one of the old drives to one newer one, then pull out the last remaining old drive, put in the second new one, and rebuild the mirrored array. But you still have to buy TWO biggere drives). With RAID-5, there's no theoretical reason why you couldn't just *add* another drive of th
    1. Re:Software or hardware RAID-5 by kefa · · Score: 1

      I like the fact that with raid 1 you can pull out a drive, stuff it in another machine, and, hey presto you can access all your data. You see, you don't have dependencies between your drives. However, what craps me out about RAID 1 under Linux is that if you have to power down without shutting the system down nicely (yes it does happen, my system has been known to crash), then this causes the drive to get out of sync. Linux then requests a resync which involves resyncing the ENTIRE drive - during which time ALL your data is unprotected. This has happened to me on a number of occasions. With drive capacities being so large (a good thing) the resync times can take an age (not good). Anyone found a way of getting Linux to only resync the blocks that got out of sync - I'm assuming this will be possible once snapshotting of volumes is available.

  220. fuck this .. guess what i found out today by Anonymous Coward · · Score: 0

    Today decieded to check the hard disks, just in case.. one is dying :(

  221. RTFM, DUMMY by Anonymous Coward · · Score: 0

    WTF?

  222. My setup... Raid 5 w/ cheap disks... by Anonymous Coward · · Score: 0

    Since you say you want a fileserver, I am assuming (as in my case) that speed is not an issue.
    I set up linux on a machine with 4 drives configured as raid 5 using software raid in linux. No expensive hardware. Drives were 5400rpm models, so a bit slow, but I still got 15MB/sec throughput from the array. Since this is a fileserver, the 100Mbps ethernet is the limiting factor, and not the speed of the array. I use my array for weekly backups and storage of files that don't fit anywhere else.

  223. If you have to ask ... by Anonymous Coward · · Score: 0

    The most important question is what is your data worth. Once you've determined that you can budget accordingly.

    For high end consider a good hardware raid controller, raid 5 + hotspare, and as many spindles as you can afford. The more spindles on raid 5, the better your performance will be assuming you don't max out the raid adapter.

    Regardless of whether you use raid or not, backups and rotating backup media are a must. Raid is not a substitute for backups.

    Regardless of the $ you think this will cost, your personal time will cost more. There are no easy answers.

  224. RAID 50 by Anonymous Coward · · Score: 0

    Two RAID 5 arrays striped. FAAAST!

  225. A Solution Known to Work!!!! by Anonymous Coward · · Score: 0

    Purchase a 3Ware IDE Raid Controller of your favorite flavor.

    Run a RAID level that provides some protection. Mirror at least. Mirror stripe sets . . . or stripe a set of mirrors. Stripe with parity if you must. Read up on the pros and cons. Use your head.

    No matter what, back up your junk!!!

    We have a several four year old 3Ware Escalade 6000's that have saved our butts a half a dozen times or more.

    3Ware will take care of you.

    BTW - Don't use IBM hard drives. . . and Seagate is your friend.

  226. ide raid [Re:Just remember the RAID song] by Anonymous Coward · · Score: 1, Informative

    IDE raid is definitely today's choice for home fileserver. if you dedicate a whole box just for that purpose (i.e. no need for those cpu cycles) you should do soft-raid5 (use that system cpu);

    if you can.. make sure your NIC and disk controller are on different pci buses.

    if you play with hotswap bays make sure they have some quality to them - otherwise you'll be reseating/replacing drives like crazy and that'll bring your raid5 to crawling.
    another prob i've seen - most sata cables tend to become lose; i'm still looking for a decent snug fit cables out there..

    lsi(megaraid), adaptec make decent sata-hw-raid cards (~300$); 3ware is another popular choice;

    might wanna check out these "sofware raid cards": a slightly advanced ide controller, might do hotswap but still uses system cpu which could be an ok for you since system cpu is idle anyway..

  227. Is RAID really all its cracked up to be? by JGski · · Score: 1

    I use four computers 18+ hours a day without RAID (just normal backups) and yet in 5-odd years, I've never had a full-on disk failure of any type. All these computers are running 24/7. There must be a reason some folks have these repeated failures yet others don't. Any insights? I'd love to have a realistic and engineering valid rationale for when I really need to go to RAID.

    My company has a small business server at a server farm that runs RAID on linux, and it's down far more often than all my home machines combined (Mac OSX, Suse 9 Linux, Windows XP and FreeBSD). The failure is almost always a disk issue.

    The only things I can think of that might be different with me vs. the original poster: 1) I don't go out of my way to find the absolute cheapest parts - many /.ers seem to do otherwise, 2) my computer room/office is alway kept below 80 (and more usually below 75) (air con) - most failure mechanisms are heat-activated, and 3) I don't overclock or have a hellacious video card so I'm not generally pushing any component limits in general or generating a a lot of heat in the cases - hey I suck at games and I just want to use my computer to get things done. Also redundancy doesn't necessarily buy you anything if the mechanisms to create it add more error rate individually or in overhead.

    Would love comments and insights...

    1. Re:Is RAID really all its cracked up to be? by vidarh · · Score: 1
      Hardware fails. That it hasn't happened to you yet may mean you're great at maintaining it and swapping stuff out before it breaks and choosing quality components, but it also means you have been LUCKY. RAID with crappy components just means the likelihood of the frequent problems you'll be seeing will be less likely to cause data loss - it doesn't automatically solve quality problems.

      RAID with good components means that when you suddenly run out of luck at exactly the wrong moment it doesn't really affect you that much, except for lowered performance while rebuilding the RAID.

      And it's not always something you control - at one point a company I worked for had an entire RAID array of around 8-10 disks die one by one because it turned out manufacturing problems had affected the whole batch (so hot tip: Don't rely on one hardware manufacturer for all your disks). If it hadn't been for RAID we'd have lost hundreds of MB of customer data - backups doesn't help you that much when data turnover means a large percentage of the data is new each day, and the new data is most important (mail is a typical example).

  228. purposes and purposes by kardar · · Score: 1

    I installed a Linux OS on a new computer that I put together, and I was excited that SGI's XFS was available on Linux. I had been using UFS with Softupdates on a FreeBSD machine, and having gone through various power outages and a minor tornado-like event with no problems, I wanted to have some sort of similar thing on the new Linux machine, and I wasn't necessarily convinced that ext2 was up to the task (compared to UFS with Softupdates).

    But when I heard that xfs was available on Linux, I jumped at the chance, and am still using that machine today. I like XFS, but you have to be careful, because you will tend to lose data when the power cuts out. Whatever files you were last working on, whatever apps were open, that is what is most vulnerable. You might very well end up with an empty file, and that's not a whole lot of fun. I guess that I was just misinformed, or was reading stuff that had misinformed me about the data loss situation. Perhaps ext3 would have been better, but I really wanted to be "cool", as well, so I had to do xfs, of course.

    So I later realized that the purpose of xfs (and journaling filesystems in general) was not so much to protect from filesystem corruption and data loss, but to be able to get your filesystem back up and running easier without having to do extensive fsck procedures when you fire your machine back up. So that's a lesson learned - I still like xfs, and I love the speed with which it performs, even if there are risks when things aren't backed up. For now, I will continue using it, but it's probably not EXACTLY what I was looking for as a replacement for ufs with softupdates.

    But anyway, back to RAID. There are advantages to RAID - if you have a mirrored hard drive, you don't need to go hunt down your backup, you just switch over to the other drive. You don't constantly need to take backups (every 5 minutes, I mean) to have that mirrored drive be current. You can also get the speed.

    What I am wondering is this: Isn't using RAID as a way to mitigate simple hard drive failure in a residential setting something that the concept of RAID perhaps wasn't exactly designed for? Journaling filesystems, for instance - the idea is to recover QUICKLY, not just recover. It seems to me that RAID is, similarly, designed so that you can recover QUICKLY - from a hard drive failure, not just recover, and that's just a hard drive failure - there could be other failures as well, right?

    So while RAID is better than nothing to help you recover from a failure of a hard drive specifically, a better insurance policy would be to have a tape drive of some sort and to use that to do backups and incremental backups. It would seem to me that striping might be a hell of a lot more fun anyway.

    So I think that until we really look at the purposes that RAID can effectively be used for in a bulletproof sense, we might not understand why RAID might be an imperfect solution to the problem of surving a simple hard drive failure in a residential setting, where uptime is not as critical as it might be in a more non-residential type facility.

    I think two computers is a good idea. Keep one unplugged (from everything) when you are not using it, and keep your personal files synced up as best you can (or backed up with CD-Rs, DVD-Rs). Then you can have fun with striped RAID setups if you want and not worry. In the long run, setting yourself up so that you can do the risky stuff is probably not only going to give you the confidence to have fun, but might also serve as a safety net that you didn't even know you had if that ever becomes necessary.

  229. The Emperor's New Clothes by paranerd · · Score: 1

    I've a bit of a radical opinion about raid. Raid sucks.

    In twenty years I've had one hard drive crash. One. If for those twenty years I had linux half the time (240 on/off cycles or 2 reboots per month), and dos/windows/os2 the other half the time (3650 on/off cycles or 1 reboot per day) then I rebooted my system almost 4,000 times. Raid takes about 3 times longer to boot up over non raid devices so let's say raid alone cost me roughly 8,000 extra minutes of reboot time. That's five and a half days of down time.

    Now let's figure out how much money twenty years of raid will have cost me. And then let's figure out how much extra time I'm down because of the added complexity of the raid technology. Er, well, let's not.

    Raid is for overbudgeted IT managers who want to cover their asses when something does go wrong.
    raid sucks.

    1. Re:The Emperor's New Clothes by vidarh · · Score: 1
      No, RAID is for any application where losing data means potentially losing significant amounts of money or time. Under any kind of real stress, with any reasonable amount of disks, you WILL have disks failing on a regular basis. You WILL lose data unless you use RAID or another mechanism for ensuring redundancy. For some usage, that is fine, and you'll just recover last nights backup and move on. For other usage, such as storing mail for hundreds of thousands of users, it's not.

      But yes, it DOES save IT managers asses when something does go wrong, because they won't have to explain to their bosses why your customers are talking about suing your company and/or taking their business elsewhere because they just lost MB worth of data that's too recent to have been backed up.

      From your reboot numbers it appears you are saying RAID sucks because it doesn't suit you on a desktop... Not using it on a desktop if you don't mind losing a day or so's work is fine, but that's not what most people use RAID for. They use it when losing large amounts of data will be a significant problem.

  230. 2 3 4 bits byts blocks by Anonymous Coward · · Score: 0

    I don't have any real world experience with raid 2 raid 3 or raid 4. BUT what is the real world performance and acceptance like. All i know is an easy way to remember for tests 234 bits bytes blocks :)

    oh yea i vote raid 1

  231. increase the MTBF= setup 4GB cache, ups. by Anonymous Coward · · Score: 0

    Look at pricewatch. there are some 1GB dimms that go for $90. Sometimes they're regular, other times they are using chips that require a chipset that can handle the arrangement. Whatever, get a board that can handle these UNBUFFERED dimms that has four dimm slots & can run with 4 gigs. There's some hunting to do here but they're there, $60-120. Get a UPS that'll last long enough to be able to dump 4 gigs to disk, which equates to just about any UPS so you could double the required UPS size if you like & it still not be expensive, $60-120. Do a raid setup like you were intending, either 2/3 drive setup is fine. For a big pipe, use two gigabit nicks with jumbo packets and bonding(both std features on even cheapy $15 ones). For configuration you can use the memory as disk cache and let the kernel manage the usage for you(it'll still do a lot of writes constantly) or setup a ram drive & chron job to periodically save to disk. I prefer the later & rely on the ups but the prior would be slightly safer while causing more drive use. Wash, rinse, repeat the hardware along with a striping distribued network file system to scale.
    For more reliability you could also add redundant ups's, power supplies, and hot swap trays for the drives(linux lets you power down drives & decent trays have ground stay connected long enough after connector unplugged to not cause a short).
    That way you could swap and any of the trio(ups, ps, disk) and your data survive and stay up for a single hardware node. & then there's configuring for redundant servers for handling whole system crashes or servicing.

  232. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  233. Cable management by adolf · · Score: 1

    Why is there an ongoing hoopla over ribbon cables being big, ugly, and hard to manage?

    Properly installed, they're neater and less restrictive of airflow than either rounded or SATA cables. And, you can make them yourself with tools you probably already own.

    The trick is simple: Folding. Fold them against flat things, out of the way. Fold them at neat, 90-degree angles to turn corners and avoid adding crosstalk. Do this right, and they're visually stunning, easy to work with, and nearly transparent to airflow.

    It just takes a bit of forethought and planning.

    I recently installed a large-ish rackmount PC, with a three-bus hardware IDE RAID 5 config, along with the usual floppy and CD-ROM cables.

    Abundance of room? Ha. The box was tight, with 17 full-length PCI cards installed. And cooling was at a premium, as the majority of those cards required additional power from 4-pin molex connectors. So the ribbon cables had to be dealt with accordingly.

    The RAID cables snuck behind their Adaptec controller with neat bends, making them invisible and out of airflow. From there, they tucked flat against the backplane's mounting plate, keeping them almost invisible. They continued this trend until they met the 3-drive hotswap 5.25" enclosure mounted at the front.

    Same stuff with the floppy, and the CD-ROM. All routed flat, out of the way. I'm not sure it could have been done at all with rounded or prefab SATA cables, without looking like a bowl of spaghetti and/or fucking up my goal of laminar airflow.

    Remember the bit about rolling your own? It's easy, -and- you don't end up with slack that needs bundled up somewhere...

    1. Re:Cable management by macdaddy · · Score: 1

      I have a Coolermaster 201 sitting in front of me right now. It is are 4 WD1200JBs, a floppy, a DVD-ROM, and a CDRW (not to mention a dozen fans). PCI cards are pretty simple. 2 short nics (3com and dlink), AGP ATI video card, and a 3ware 7506-4LP (not a terribly big card). I had to situate the 3ware so that the slot below it was free or I wouldn't be able to get my round cables on the IDE headers. The ribbon cables I used before made the machine a nightmare to work on. They couldn't be routed around the box in a pretty fashion because I couldn't use the bottom PCI slot for the RAID controller. I agree ribbons can be fine if you engineer the case with them in mind (like Apple does). For the average Joe they are a pain to work with. SATA is a dream come true in that department. I wish I would just drop $600 on this machine to switch to SATA.

  234. DON'T USE RAID!!!! You said "Personal" right by brak · · Score: 1

    Ok, since this is your personal fileserver, I assume you are talking about storing music, movies, files, whatever. I also take the word "personal" to mean that if you are in the middle of watching 2001 and an error on your drive causes an interruption in the movie you are not going to be overly upset. You may be sad about having wasted certain 2001 enhacing substances, but anyway.

    I would say rsync and scrub the disks.

    Every night, simply rsync one disk onto the other one. You have two copies, you have no hardware or software raid configurations to deal with. It's cake to recover and to resync once you havea chance to run down to the store to pick up a drive.

    Weekly, or while you are at work, run something like:

    find . -type f | xargs md5sum > /filemanifest

    You'll have a history of your disk and can track bitrot or whatever. You'll also be touching every single bit on the disk. No better way to detect errors, might want to run badblocks.

    You are adding complexity and other people software with other peoples bugs trying to use weirdo ide hardware raid, etc. Linux sw raid1 is great because the disks aren't special if you split them, they are just plain ext2, or whatever you put on there.

  235. One more thing, used compressed partitions. by Anonymous Coward · · Score: 0

    Cost is increased cpu usage. Savings is reduced disk usage.

  236. SATA caution by luh3417 · · Score: 1

    Would like to hear from more people _actually_using_ RAID, particulary SATA based. I use a 3ware 7506-4LP on FreeBSD and I have had no problems yet. Uses 4 WD 1200JB PATA drives in RAID 5. I want my next RAID to be SATA but I am cautious. Here are some caveats: http://www.ata-atapi.com/sata.htm "DO NOT tie wrap SATA cables together. DO NOT put sharp bends in SATA cables. DO NOT route SATA cables near PATA cables. Avoid placing SATA devices close to each other such that the SATA cable connectors are close to each other." etc. Check the link for more cautionary info about SATA. Have we even heard from _one_ SATA RAID user? Lotta data at stake here.

  237. Re:RAID 5, IDE, 250GB (Maxtor or WD), Linux SW RAI by Anonymous Coward · · Score: 0

    Here, I'll take the extra step and link the Google search for you.

  238. cheapest hardware raid 1 option by reflous · · Score: 1

    Duplidisk makes these neat $10 (from ebay) IDE hardware raid 1 cards. I don't think there is a cheaper solution.
    http://www.duplidisk.com/

    We use them in all our firewalls and they've been working great.

  239. Your system has FAILED... by OneDeeTenTee · · Score: 1

    ...if you are going to the data recovery company to get your data back.

    You should always have a backup that can be restored without relying on some other company's schedule.

    --
    Stop the world; I need to get off.
  240. 3ware rocks .. raid ide by Syncalot · · Score: 1

    we use alot of 3ware cards, they seem to be the best to handle either raid 1 or 5.. depending on your needs. the best thing really depends on the amount of data you want to keep raided. if you have more than the max hd space out. i think 300+ right now u might want to look at raid 5. but if u have 300 and under just pick up to of the biggest hds and run them as mirror.. works great.. 3ware has a really cool web interface that you can check the status of your drives locally or remotely.

    http://www.3ware.com/

    --
    Pocket Girls. Mobile Adult Mini Mags for your Phone.
  241. Cheap but good by Peter+H.S. · · Score: 1

    No matter what, remember to cool your RAID array adequately. Stacking a lot of hot harddisks on top of each other in a cramped minitower can lead to frequent drive losses.

    The cheapest and most simple RAID setup for a personal fileserver is to have the data and the OS on separate disks, where only the data disks are mirrored, using software RAID 1.
    The reason for this setup is that booting from and RAID array can become tricky if one of the bootdisks misbehaves, unless we are talking serious (not cheap) RAID controllers.

    This setup is not the best with regard to server uptime, since the OS disk isn't mirrored, and the OS therefore needs to be reinstalled if the disk dies. OTOH, it is fast and reliably when it comes to protecting the data, while still being cheap and easy to maintain.
    And I assume that data protection is more important than server uptime, since you say:

    My goals are to build a file server that can live through a drive failure with no loss of data, and will be easy to rebuild.

    You probably want to use a IDE channel per disk, since using having to drives on the same channel/cable (using slaves) kills performance. But a simple PCI IDE controller is cheap.

  242. Re:Stay away from any RAID except mirroring by Anomalyst · · Score: 1

    Unless you can and want to pay even closer attention to you drive status than you do with a single drive, only use RAID 1 (mirroring) solutions. With (hardware) RAID 1 each drive has a FULL and COMPLETE copy of your data. If worse comes to worse you have a good probability of recovering a vast majority of the data even if both drives fail from say a fire or flood. There a several companies that, for a hefty fee have the expertise and clean room facilities to decode the flux reversals back into bits onto a healthy drive, last time I shopped a recovery a couple years ago it was about $1200. RAID 5 is recommended ONLY for an enterprise environment where a determined effort is made to raise and escalate alarms of drive failure to an onsite 24/7 staff. The very same thing that they tout as an advantage is the danger of the configuration. Your data is ripped apart and the bits spread over multiple drives. The survival of your data is dependant on not losing more than n-2 drives. You must act quickly if you loose the parity drive and replace it and rebuild back to the optimal number of drives. The danger is that while you wait for that replacement drive to ship or the bad drive to come back from warranty repair you could lose another drive. What was wrong with the 1st to die might also be wrong with the remaining drives. You probably bought all the same drives at the same time/place and stand a good chance of getting them all from the same manufacturing batch unless you go out of you way to insure they come from different lots. When you lose that n-2 drive you are HOSED. Finding a recovery company that has expertise in recovering RAID 5 data striping as imposed by your particular controller (chances are it is obsolete by a year by the time you get bit by this) is low and if you do find one they are going to charge you 5X or more what a straight mirror recovery might cost, $3500-$5000 AT THE LEAST. Yes you can add warm spares (and you can lose those too, especially if you are not "lot conscious") and take other ameliorative steps, but generally home and small business users do not go that deep into protecting data integrity. I've seen the loss of data on RAID 5 arrays happen to customers, TWICE. For a home user or a small business that runs "lights out" evenings and weekends, KISS applies, get a Promise or 3ware IDE controller and mirror two drives. Given the cost of an 80GB drive at $80 the "inefficient space utilization" is rendered a pretty moot point. You can make your life easier by installing the drives in sleds ($30-120) so you don't have to mess with opening the case and screws and cables. Don't trust "hot swap" unless you absolutely required to keep the machine running, usually not the case for a home/small business. Shut it down, pull the sled, and replace the drive in the sled (buy a 3rd sled if you need to make the swap in minimum time. Leave the RAID 5 stuff with the people and the bucks to nursemaid them, they are just a disaster waiting to happen for those that have neither the time or the inclination to monitor drives on an ongoing basis. If you are using more recent Linux or Windows servers you can use software mirroring, but I do think the $100 controller cost and Windows boot track not being included in the mirroring process (solve this by doing trivial installs on the mirror drive before mirroring the partitions with the OS) is worth the hassle of messing with it from the OS, but the more frugal might find the time/money trade-off to make it wortwhile. HTH.

    --
    There is no right to feel safe thru security vaudeville at the expense of everyone's freedom, privacy and tax money.
  243. My Personal fileserver by sheldon · · Score: 1

    So I had the same goals in mind. I wanted to store a fair amount of data, be protected from a drive failure. In addition, I didn't just want to rebuild the server, I want to be able to upgrade it as needed without having to go through a lot of work.

    This is my solution...

    Intel SE7210 motherboard
    2.4 Ghz P4
    2 Gigs PC3200 ECC RAM
    1 60 Gig system drive
    Promise Fasttrak SX4000 RAID-5 controller
    4 80 Gig drives
    Enhance Technology QuadraPack Q34 enclosure
    VMWare Workstation
    1 160 Gig drive in a USB 2.0 external case

    The 60 Gig system drive houses a installation of Windows Server 2003, and the install of VMWare.

    The 4 80 Gig drives are configured with 3 in a RAID-5 and 1 as a hot-spare. They are in the Quadrapack, which actually allows hot-swap. Onto this 160 Gig volume I have the images for five virtual servers. (Web, SQL, Exchange, File/Print, Build/Source Repository)

    I have the 160 Gig external drive mounted within VMWare as a VMWare Shared Folder, each virtual install has it's own directory. Then I run some backup scripts within the virtuals to backup the critical data files there. Just in case... it was cheap insurance anyway, and it gives me plenty of additional temp storage when I reconfig my workstation or something.

    Doing the VMWare thing is nice, because I have all this custom configuration done to those environments, and I don't have to worry about it if I want to say reconfigure the server in some way. This machine has actually been through three motherboard upgrades, a few harddrive upgrades and such since I first started doing this. The RAID-5 is fairly new, it used to just be a single 80 gig drive. Downside is since I have VMWare workstation, rather than their GSX/ESX server, I have to logon to the box to start up the virtual sessions.

    Anyway, it works well. Were I doing it today I would use SATA drives. I have a RAID-1 SATA set on my main workstation. The SE7210 server board supports same, and I considered replacing the single 60 gig drive with a mirrored set of two cheap Seagate 80 gig drives or something.

    The Promise RAID controller has been pretty good, I don't have any complaints. The PAM controller software kind of sucks, though not as bad as the problems I've had with the Intel server software that came with the SE7210 motherboard.

    Oh yeah, I learned the SE7210 uses a special ATX power supply called ATX-12V... Didn't figure that out until I was trying to install it into the Antec SX1040BX case I already had. :(

    The really important stuff, like my Microsoft money file... I have copies stored on the file server, my desktop, and a 32 Meg compact flash card.... It's not going anywhere unless the house burns down.

    In which case I guess I really should have offsite backup, and I really should handle that by ftping up an encrypted copy of some of these important files to my website which is hosted at an ISP somewhere far away. I'm going to work on that this weekend now that I think of it.

    1. Re:My Personal fileserver by Mistah+Blue · · Score: 1

      I use a USB flash drive to store my Quicken data. It is always in my pocket with me (instant offsite). It is encrypted. I have Quicken set to backup to the flash drive whenever I exit it.

  244. my choice by bonezed · · Score: 1

    3ware raid 5

    4, 8 or 12 port ata or sata card

    very nice hardware

    --
    ---- Put Sig here:
  245. Check out reByte! for a great raid server NAS by Pipermalibu · · Score: 1

    I am not affiliated with them, but I recently bought one, and it works great!!! For 150 bucks you can turn any computer into a NAS (network attached storage) and even gain remote access from the internet. And in the next couple of months, you will be able to sync two reBytes remotely thru the internet (now THAT is backup!) PLUS it comes with its own backup software to backup local computers on the network with no client software needed. It is based on Linux and took less than 5 minutes to set up. I bought a brand new computer with 5 drives in RAID 5 configuration for nearly a terrabyte of storage all for less than 1200 bucks.

  246. RTFM by rips123 · · Score: 1

    RTFM! Sorry to be a troll but in this case you really showed that you had no initiative to check available resources first. Here is a starting point and yes, RAID-1 would be a good start since I doubt you are going to want to spend the money on a large RAID-5 array.

  247. Since you asked... by wart · · Score: 1

    I had similar frustrations, with HDs failing within a year of purchase. I finally decided that I didn't want to worry about it ever again and chose a RAID-5 setup with 1 spare disk. That way a single disk failure would be handled effortlessly. This setup is still susceptible to the failure of a second disk while the first is being reconstructed, but nightly backups handle that case.

    I ended up throwing a chunk of money at the problem:

    $200 for a new dual chanel U160 SCSI controller
    $600 for 4x 75Gb 10krpm SCSI disks (1 spare)
    $200 for cabling and an external case.
    $250 for a ultra-SCSI cd burner and a buttload of blanks.

    Total cost was $1250 for ~150Gb of RAID-5 storage.
    Roughtly half the space was lost for the parity information and the spare disk.

    The multi-disk setup also turned out to be faster than using a single disk. Access rates jumped from 20MB/s on a single disk to 60MB/s on the RAID array. That turned out to be quite nice for those NFS-mounted home directories.

    150Gb might not seem like much, but it's only used for important user data (home directories, mp3 library). The local machines have plenty of scratch space for unimportant data (mozilla builds, games). I don't fear the loss of the system disk as much as the loss of user data. My wife would be very upset if she found out that her email was gone forever, but wouldnt' mind too much waiting a day to have the server rebuilt. No disk failures in a year of running, but that might just be because I didn't by the cheapest drives available at Fry's.

    Of course, it's nothing compared to the 2Tb disk servers at work that can write at 350MB/s. Maybe next year... :)

  248. Adaptec 2410SA + Enclosure Kit by chiph · · Score: 1

    I've been looking at one of these for when I build my next server:

    Adaptec 2410SA + Enclosure Kit

    For $600 MSRP you get an Adaptec 2410SA 4-channel SATA RAID controller (does RAID levels 0, 1, 5, 10, and JBOD), a 4-drive enclosure with hot-swap sleds, cables, and your choice of beige or black. The only thing you don't get are the drives themselves. The 4-drive enclosure takes up 3 full-height drive bays. Note: make sure you have enough 12v current from your power supply -- I'm not sure if the enclosure staggers the spinup.

    Chip H.

  249. Promise FastTrak card and a pair of drives. Yep. by Nick+Driver · · Score: 1

    A few years ago I nearly lost a bunch of irreplaceable original midi files and Cakewalk projects composed and recorded by yours truly and a couple of friends, one of whom passed away from cancer not long after he recorded the songs on my keyboards and computer. I swore I'd never again run solitary drives on an important music composition/production computer and promptly ran out and bought myself a Promise FastTrak card and a pair of 20GB drives (the biggest around at the time). I ran those as RAID-1 until one of the 20GB drives started crapping out and then bought a new FastTrak TX4 100 card and a pair of 80GB IBM DeathStars before I knew about them earning that nickname. Used good old Norton Ghost to copy the known good drive from the old mirrored pair over to the new pair and was up and running on the new drives within a couple hours. Ran those for 2 years as RAID-1 without a hint of trouble despite the IBM drives, and recently replaced them with a new pair of Seagate 120GB 8MB buffer drives. I've never had any disk I/O thruput problems with the Promise card either, it's plenty fast and I also use this particular rig for multitrack audio too, and can easily support recording more simultaneous tracks than my audio hardware can even provide. I used one of the old 80GB Deathstars in a Linux box where it's still happily running, and use the other old 80GB drive to hold a recent Ghost copy snapshot of my music rig and keep that drive stashed away across town at a friend's house for offsite backup in case some major disaster hits my house.

  250. Dear /. by Cervantes · · Score: 1

    Dear Slashdot:
    I'm having this problem where I can't access Gooogle. I just can't get the number of "O"s right. I either put in Gogle, or Gooogle, or Goole... I'm just not having any luck. Can you answer my question for me?
    Thanks,
    Bob_at_AOL

    --------------------
    Dear Slashdot;
    I've decided that /. really needs to cache information. Seeing as I've been shot down many times, I've decide to start asking inanely simple questions for the sole purpose of collecting all the obvious answers in one place. I hope you don't mind that my stories will take the place of those which could actually spark intellectual debate.

    Sincerely;
    I.P. Freely

    ---------------
    Dear Slashdot;
    I've finally figured out a way to get off. I'm gonna put stories in with really, really easy answers, and hope we get featured on news.google.com. It really gets my goatse going to see my creation up there... it just makes me want to google myself. And I've got my next story to post!

    Coming soon: "Windows versus Linux for Al Quada operatives having sex while George Bush and John Kerry engage in a Peruvian DeathMatch in Iraq during which Martha Stewart makes Bukakke Chicken Pot Pie with extra MILF and a dash of Dirty Sanchez"

    Googly yours;
    CmdrTaco

    --
    If I knew the wedgies I gave you back in 6th grade would have resulted in this . . . I might have taken a moments pause.
  251. Nope, still 3 years here. :-) by Trejkaz · · Score: 1

    Actually, it's still 3 years on the sites I buy from. I actually checked before posting. :-)

    --
    Karma: It's all a bunch of tree-huggin' hippy crap!
  252. SCSI based RAID level5... by capsteve · · Score: 1

    is the only choice for reliability, performance and cost effectiveness. yeah, you can build one for much cheaper using ATA/serial ATA, but for longevity and reliability, SCSI is still the best bet.

    look for mylex raid controllers, or if your looking on ebay, consider CMD (5000 series or greater) as a fall back option. i don't recommend chapprel.

    if you're gonna do it on the cheap consider the firewire raid solutions from wiebetech or granite digital.

    --
    three can keep a secret, if two are dead - benjamin franklin
  253. What does everybody have against promise? by aoteoroa · · Score: 1

    This forum could not have come at a better time.

    I am going to move my office file server from a single drive to a mirrored raid drive. After some simple google searches for a linux compatible controller the promise name came up a number of times. I was going to go with that.

    Why don't you like promise?

    1. Re:What does everybody have against promise? by rob_macgregor · · Score: 1

      In my case, I've had nothing but problems. The RAID card I bought turned out to be little more than a standard 2 port IDE card with special drivers - loading the standard drivers gave me an IDE card, not a RAID card.

      Similarly I've got one of their 2 port IDE cards and I get, dozens of times a day, SMART errors from the drives connected to it. Connect the drivers to any other controller and it tests out just fine.

      Then there was the array I tried to set up using their IDE cards and software RAID (Linux). Attempts to get 2 cards working together resulted in hardware lockups.

      Bought 3Ware Escalade cards and all my problems went away. To date they've been rock solid, dead disks don't impact the system in the slightest.

      Given the money, I'll buy 3Ware any day, though I hear that the Adaptec and Intel cards are supposed to be as good (though I've no experience of them).

      Oh, and I don't have anything to do with any of the above companies, beyond buying and (ab)using their products :)

      --
      Following the rules doesn't get the job done.
    2. Re:What does everybody have against promise? by Anonymous Coward · · Score: 0
      Why don't you like promise?

      The Promise RAID controllers that I've used in the past relied on the software drivers to handle the RAID and the controller itself was little more than an IDE controller with some code to help it boot off the RAID volume. That is what most of the ones built into motherboards are. The 3Ware controllers are actual hardware RAID accelerated controllers and show up as a SCSI device to the Linux kernel. You just see one big SCSI disk drive after creating the array and can boot off of it if you want like normal as /dev/sda or whatever.

  254. My Raid5 by EmagGeek · · Score: 1

    Promise SX-4000 with four Maxtor 120GB drives... nice 360GB array... only problem is closed source drivers, but they work reliably.... not nearly as expensive as 3ware stuff...

    may the Promise/3Ware flame war commence..

  255. HDD brands by Anonymous Coward · · Score: 0

    I have never suffered a HDD failure. The key is sticking to the most reliable brand. It used to be Maxtor. As of about 10 years ago, it has been Seagate (despite what anyone says). I have used several Seagate Baracuda ATA drives, and they are flawless, *fast*, and silent.

    The next big "reliable brand" could have been IBM, but then there was the IBM DeskStar... Maybe they should have called it "Death Star" instead...

    [Reliability aside, IBM has done more to push HDD technology forward than almost any other company (they have created a good number of the technologies that let us pack so much into such a small space -- GMR heads, pixie dust, etc.)]

    1. Re:HDD brands by Anonymous Coward · · Score: 0

      P.S. my Maxtor actually failed eventually. None of my recent Seagate drives have. Old Seagate drives did fail, but not since the Barracuda, at least in my experience.

  256. raid 5 + hotplug by SanityInAnarchy · · Score: 1

    I would do raid 5 with some sort of hotplugging solution, if I had the money. Although you might have to take it offline to add a disk to the array, you could replace a bad one with no data loss and no downtime. Of course, you could do that with raid 1 as well.

    This would require at least 3 drives, but the more the better (even smaller capacity) because then you waste less space. Of course, this makes it more likely for two drives to fail simultaneously.

    --
    Don't thank God, thank a doctor!
  257. Short Answer by BanteringCTO · · Score: 1

    I read a lot of these answers, but not all of them, so sorry if I'm redundant. I have about 20TB of RAID 5 storage, most of which I've managed for nearly two years. For a least a couple of years before that, I managed storage in the multi-TB range. Hardware RAID 5 is the best way to go. If you're really concerned with safety, add as many hot/cold spares as you like. Performance is far superior to software RAID, no matter what anyone here may post. Good luck.

    --
    The world of achievement has always belonged to the optimist. -- J. Harold Wilkins
  258. Use LVM with RAID by Chris+Tyler · · Score: 2, Informative

    The question "which RAID level do I use?" raises other questions: which drive interface technology? what is your budget? how much storage do you need? do you need redundancy for swap? for boot partitions?

    But regardless of how you answer those questions and what RAID level you finally go for, I would strongly recommend layering LVM (logical volume management) on top of RAID. Sounds bizarre and cumbersome to have two virtual layers between your filesystem and your physical devices, but in most cases it's worth it.

    (Now here I'm assuming you're using Linux, but similar solutions are available for other OSs).

    If you're not familiar with LVM, it virtualizes partitions. You group together one or more physical volumes (PVs) that provide a pool of physical extents (PEs). From this pool, you create logical volumes (LVs) filled with logical extents (LEs).

    Thus, you could have four partitions on three drives serving as PVs, and from that pool (Volume Group or VG) you could create, say, two partitions. From there you have many options:

    - You can resize the partitions.
    - You can add another drive and add the space on that drive to the VG, then increase the size of the partitions.
    - You can migrate data off one of the partitions, then remove that partition from the VG.
    - You can migrate to another drive by adding that drive, migrating data away from the previous PVs, then removing the old PVs from the VG. This can be, by far, the easiest way to

    To combine LVM with RAID, just use the md device as a PV.

    And here is the top reason to use LVM:
    - You can create snapshot backups.

    A snapshot backup is a virtual partition, read-only, which contains the same data as another partition, frozen at a certain point in time. Something similar to copy-on-write is used so that the snapshot partition takes only the amount of disk space necessary to store the changes between the time the snapshot was frozen and the current state of the 'snapped' filesystem.

    If you 'rm -rf *', you can just cp the files from your latest snapshot. (BTW, this can save a ton of work for sysadmins with forgetful users ... users can restore the file they just deleted by navigating (graphically even!) to, say, /backup/2004-06-16/home/jason and copying a file to the desired location).

    So RAID can protect you from hardware error, and LVM with snapshots can help protect you from user error.

  259. this is where gui's can benefit by Stevyn · · Score: 1

    Alright, flame me because I'm not about the command line 100%, but in cases like this seeing directory trees makes a big difference. When I started out in linux, I was all gui because windows is at all gui. That was years ago and I definatly see how the cli can be a lot faster and a lot more efficient, but in cases where I have to delete files (which isn't too often for desktop users) I would prefer a gui. You may gawk at this, but a directory tree in konquorer shows how we percieve the files to be laid out in our mind better than #pwd; ls -l.

  260. What's your I/O pattern? by Mistah+Blue · · Score: 1

    If you are going to be heavy write, forget software RAID-5. You will be very disappointed (i.e. performance sucks). This is due to having to calculate the parity. Hardware RAID-5 will be much better (e.g. 3ware), since parity calculations are offloaded from your CPU. If you need screaming write performance you will need to do RAID-1+0 or RAID-0+1 (software RAID is perfectly acceptable for this). If you are predominantly read, software RAID-5 would be tolerable.

  261. Gah.. Promise :P by dohnut · · Score: 1


    Maybe I had a cursed controller, but I had the SX6000 and had a drive failure. FYI, I was doing RAID5 with four 80GB WD drives. It beeps like you said, only the SX6000 doesn't tell you which drive is bad (I was running linux, no fancy windows utils -- and their BIOS didn't have this information -- very unprofessional). So, I figured out the bad disk by running WD's diag utility on them individually. Anyway, put in a new drive. Guess what? Wouldn't rebuild. So I booted into the degraded array (oh, and the kernel would panic if you left the "new" drive attached, so I had to pull that back off) and moved my data elsewhere on the network and rebuilt from scratch.

    Well, later a drive started making noise, I identified it and shutdown the system nice and neat before it failed and replaced it with a good drive. Hey, wouldn't rebuild -- again! Moved all of my data off and bought a 3ware 7500-4 controller. I've had one disk failure with the 3ware controller, and it actually worked! Rebuilt while I was using the system. Comes with decent linux utils (unlike promise -- at the time anyway). Oh, and the best part is they actually label and document their product and the BIOS will actually tell you which drive failed -- what a concept! 3ware controllers are about the same price as a promise controller, why even bother going with promise?

    And no, I don't work for 3ware. Simply put, promise had their chance with me and they failed miserably. YMMV. I'm sure the SX8000, or whatever, is vastly improved and all that crap, but it's too little, too late for this consumer.

    --
    Stupider like a fox! - H.S.
  262. ReiserFS is fine! (was:RAID 5, but more imp...) by ediron2 · · Score: 1
    Great post. One quibble: I use ReiserFS extensively, and would trust it with my data just as quickly as ext3. I can even verify that it recovers from external failures transparently (I had a bad UPS that intermittently caused trouble for a while). Like ext3, reiserFS works fine. I do agree that ext3 is fine, though. I've got a few systems using it. Both the reiserFS and ext3 are Debian systems, including a half-rack of n-terabyte raid 5 (3ware!) SATA arrays using dual nics and a gigabit backchannel for data sharing that's a screamin' data machine. But I've also used reiserFS on a brief laptop-meets-mandrake period in my early linux years. It was great. I'd call ReiserFS a tried and true *viable* choice unless someone out there knows something I don't.

    Standard disclaimers: no vested interest, no relationship with developers, etc. Just a satisfied user.

    1. Re:ReiserFS is fine! (was:RAID 5, but more imp...) by macdaddy · · Score: 1

      Reiser would probably be fine for most folks if they know how to get it going. Ext3 is really just ext2 with a journal so getting it up and running is easy as pie. No, wait, it's even easier than that. :-) Reiser would do fine for this guy I'm sure though. He'd have to patch NFS and quota tools to support it. I can't remember if there are others of the top of my head. I doubt his stock kernel would have support for it so he'd have to roll his own. I'm not sure if he's that type of guy or not. I've never benchmarked Reiser. How's it for speed?

  263. Lots of talk, but no good answers. Go with 3ware. by Jerk+City+Troll · · Score: 1

    If you want a RAID solution that is not absolutely awful without spending loads of money on SCSI hardware, the only way to go is 3ware. They are the only ATA hardware RAID solution (which means dedicated hardware on the controller is responsible for RAID operations, not some stupid kernel-space driver) and offer controllers with either parallel or serial ATA interfaces. I myself am using two Escalade 7006-2 cards (32-bit PCI interface, parallel ATA, two disks per controller) under FreeBSD and they are excellent. Performance is good, disaster recovery is flawless (they support background mirror rebuilding), and compatability is perfect.

    They are also quite cheap. If you go to Monarch Computer, you can find the model I have for around $110 with free shipping.

    I know it's hard to trust advice from Slashdot, but this is the best way to go. As many others have pointed out, RAID-1 is the obvious choice for personal uses. And always stay away from software RAID. Whether it's the Linux kernel RAID subsystem or Promise, Highpoint, etc. (these "RAID cards" are in fact software), software RAID sucks and will increase the chances of data loss, not reduce it.

    I have a blog entry that talks a little bit more about this.

  264. gpart - guess partitions by aardvarko · · Score: 1

    Yeah, okay, you could buy the $2K program, or you could use the accurate, fast, open-source utility gpart that has been around for YEARS. It has saved my ass more than once.

    1. Re: gpart - guess partitions by robi2106 · · Score: 1

      Excelent. Thanks for the linkage.... I'll be sure to keep this around just in case.

      jason

  265. Side note by Dwonis · · Score: 1
    Run a filesystem with data journalling (i.e. not just metadata journalling). Ext3 with the mount option data=journal does this.

    That way, your filesystem won't be massively corrupted if the power goes out.

    1. Re:Side note by chrysalis · · Score: 1

      ReiserFS also does in SuSE kernels or in 2.6-mm kernels.

      --
      {{.sig}}
  266. Re:Gah.. Promise :P by JWSmythe · · Score: 1

    I forgot to mention that in my previous message. The internal RAID card absolutely SUCKS ASS.

    I'm a huge fan of the external arrays. We've used several over the years, and I have nothing but glowing reviews of the external arrays.

    The SX6000 is an internal card. The SX8000 is an external box.

    We have one machine with an SX6000 card. It didn't work to start with. The intended machine (A dual AMD 2000+) simply wouldn't boot with it attached. After weeks of going back and forth with the Promise support line, who insisted that it worked on *THEIR* test platform, using the same motherboard and processors, we set it aside, to work on later. A week later, they released a BIOS update for the card, which fixed the problem. The problem was that their BIOS wouldn't allow *ANY* system with the particular chipset to boot. Nice. It wasn't an obscure chipset, so I'm sure there were plenty of people with the same problem.

    A friend of mine was using the same card, and at the time he loved it, but at the first failure, his opinion became much like yours (absolutely sucks).

    We've used other external arrays by other companies, but those companies seem to come and go too frequently. One company I worked for had an absolutely BEAUTIFUL external array, which came as layers, so you could pick and choose how many drives you wanted it to be capable of. Unfortunately, that company went out of business in the mid 90's.

    I like any external array that lets the OS see it as a single SCSI drive, and doesn't take any special drivers, like the Promise SX8000. Hell, any OS sees a single SCSI drive, what more could I ask? :) If I'm putting 8 to 15 drives on a machine, I'd really rather not power them from the machine's power supply. You'll be going through hell with power splitters, and overloading the power supply, even if you don't think you are.

    --
    Serious? Seriousness is well above my pay grade.
  267. 3ware controllers by thempstead · · Score: 1
    Given that the Promise and Highpoint controllers tend to be cr*p does any one have a link to anywhere online in the UK who sell 3ware controllers (and actually have the prices and online ordering) ???


    t

  268. I would suggest Raid5 by MrWorf · · Score: 2, Informative

    I've tried both LVM and RAID5, and my conclusion was that LVM sucked performancewise, couldn't fill a 100Mbit pipe (which one drive without LVM does easily). And since noone could explain why this was (even talked to a guy with hardware scsi raid running LVM and he barely got 18MB/s :-/ ) I ended up running RAID5 with 5 drives. Each drive is running as a master on its own IDE channel. The additional IDE channels are provided with 2 Promise FastTrack/133 (or whatever they are called).

    The performance on this system is outstanding, writing is done at a sustained 50-60MB/s (yes, megabytes) and reading maxes out the PCI bus completely (tops out at about 80-100MB/s depending on other activity on the PCI bus)

    The system is powered by a 2.4Ghz Celeron with 512MB memory.

    The only drawback is that it will be a pain to add an additional drive to the system, but thats not really a big issue for me anyway.

    Btw, the filesystem on this raidset is Ext3. I've had a diskfailure (old drive that should have been left to its own) since I got it up and running but as long as no more than one drive fails atonce, all is well. Just replace it with a new one, add it to the set and one hour later (or thereabout) all data has been restored to it and the raidset is running at full performance again.

    A tip for the hardware that will be running the fileserver. Make sure to cool your drives, this is of outmost importance. No, you don't need screaming 7000rpm fans (I use three 12dB Papst) just make sure that outside air is pulled over the harddrive and expelled in the back of the case. Avoid cases with ventilationholes on the sides. Thermaltake makes (made?) a great case which had airintakes on the front and 6 internal 3.5" bays right behind the intakes (which is the one I use).

    Also, you should get a good powersupply. I had some really odd problems before I upgraded to from 300W to 450W.

    Good luck

  269. Well, it depends... by MC+Negro · · Score: 1

    What RAID should you use? Well it just depends. Frankly, if the little fuckers are getting into your personal fileserver, and just generally screwing things up, then you might want to go with your plain-old RAID I. However, if they're using your motherboard as the local hotspot for insect orgies, then you might need RAID II. And let us not forget RAID III if long-term maintenance is an issue.

    --
    "You and your third dimension."
  270. WikiPedia has a great explanation by simon13 · · Score: 2, Informative

    I haven't read through all 800 posts, so this kind of info has probably already been posted, but I found it very link-worthy...

    WikiPedia: Redundant array of independent disks - great detailed article summarising RAID with explanation of all the levels.

    Anyone can even jump in and improve the article.

  271. My personal fileserver is my iPod by fr0dicus · · Score: 1

    It doesn't do RAID, but it does have built in UPS. Oh, and it plays music, nice side effect.

  272. Simple. by rew · · Score: 2, Informative

    Start your calculation with the number of Gb of space you "need". Say that this is 160Gb. Then you have the option of:
    L0: no raid: 1x 160Gb or 2x80
    L1: raid1: 2x 160Gb.
    L1: raid5 (3 disks): 3x80Gb.
    L1: raid5 (4 disks): 4x60Gb
    L1: raid5 (5 disks): 5x40Gb
    and you could even go for a hot spare:
    L2: raid5HS (4 disks): 4x80Gb.
    L2: raid5HS (5 disks): 5x60Gb
    L2: raid5HS (6 disks): 6x40Gb

    Now, from 4 disks you probably need an extra IDE controller in your computer. Factor that into your costs, and you can chose the protection level (L0 means you can tolerate 0 lost disks. L2 means 2 disks, but in fact not at exactly the same time, but you can tolerate two bad disks).

    Then simply chose the cheapest solution.

    I'd probably go for 3x80 myself.

  273. Adaptec SATA RAID card eliminates most limitations by Sisyphos · · Score: 1

    I use the 2410SA on my system at home with 4 hitachi drives. It is great. The Adaptec card eliminates many of the raid limitations and makes it very simple to manage. It will handle different sized drives and still uitilize the full amount of space on each drive. It is plug and play in the sense it deals with all potential hassles. When a drive dies, you just put a new drive on, and it rebuilds the array silently in the background - while you are still using your machine. You can also migrate from one raid configuration to another with a click of a mouse. There is another hidden benefit to going with a RAID controller separate from the motherboard. You can replace the controller if it dies. If its integrated, you many times have to find an exact duplicate of your old motherboard to get your data off the drives. Exact means exact - same firmwares, hardware revisions. This can be hard, expensive, and time consuming. This is another reason to go with (expensive) Adaptec - there will always be a replacement available in case of failure. I use RAID 10, but would suggest RAID 5 for maxmimum safety and final array size.

  274. You only seem to have had a Windows experience, by anti-NAT · · Score: 1

    so how can you make generalisations such as "The problem w/ Software RAID is it depends on the OS, if you OS fails you can loose your data" ? Have you run software RAID under any other OSes ?

    --
    The Internet's nature is peer to peer - 20050301_cs_profs.pdf
    1. Re:You only seem to have had a Windows experience, by H310iSe · · Score: 1

      no, no knowledge of software RAID in other OSs. I meant my comment specifically for Windows software RAID, sorry if that wasn't clear (I think I realized 1/2 way thru writing the post I wasn't being specific and tried to correct that...).

      I'm quite certain, after several tests I personally did, that Windows (all testing done in 2k but XP probably uses the same software raid technology...) software raid is a horrible idea and should never be used unless you have really really good backups of the data in the RAID (and are just implementing the raid for performance reasons).

      --
      closed minded is as closed minded does
  275. Open mouth, insert foot by lorcha · · Score: 1
    You are simply wrong. Just ask the original researchers: Patterson, Gibson, and Katz in their document A Case for Redundant Arrays of Inexpensive Disks (RAID). The abstract of which reads:
    Increasing performance of CPUs and memories will be squandered if not matched by a similar performance increase in BO. While the capacity of Single Large Expensive Disk (SLED) has grown rapidly, the performance improvements of SLED has been modest. Redundant Arrays of Inexpensive Disks (RAID), based on the magnetic disk technology developed for personal computers, offers an attractive alternative to SLED, promising improvements of an order of magnitude in performance-reliability, power consumption, and scalability. This paper introduces five levels of RAIDs, giving their relative cost/performance, and compares RAIDs to an IBM 3380 and a Fugitsu Super Eagle.
    Hope This Helps. Have A Nice Day.
    --
    "Avoid employing unlucky people - throw half of the pile of CVs in the bin without reading them." -- David Brent
  276. Re:Batteries aren't the problem. by ediron2 · · Score: 1
    Speed: Someone recently compared many file systems. Thought it was anandtech, but I can't find a URL currently. No disadvantage or advantage found between RFS and ext3. Besides, this is a file share, so the apparent speed limitations are at the ethernet bandwidth level, well below what would limit a raided file system.

    Kernels: debian and mandrake support RFS fresh out of the box, and have done so for at least 2 yrs (first time I used RFS).

    As for the other tools, I've never encountered the need to reroll a tool or patch it to get RFS working. Again, the hardest I hammered on it was after unrelated hardware failure, and it *just worked*, recovering all data repeatedly and transparently from unexpected shutdowns, so I didn't have to learn anything.

    Were you serious, or were you trolling? I honestly don't know a lot about ReiserFS beyond using it at the suggestion/behest of a more-savvy user, and from mention of a Reiser-v-world controversy last year due to something quirky in his license. But http://www.linuxworld.com/story/32868.htm has Nick Petreley's in-depth comparison. Petreley gives props to ext3 in a few spots, but likes the designed extensibility and other aspects of ReiserFS.

  277. RAID levels for transient data areas by BlueBiker · · Score: 1

    Those are valid points. RAID 1 [or 10 or 01] might make an even better choice for these areas which need fast write speeds.

    In case nobody's yet posted the link, Storage Review has a wonderfully detailed section on RAID performance.

  278. The Matrix by EssTiDee · · Score: 0

    Dunno if anyone has posted about this yet or not, but be watching for a new type of RAID on Intel's Grantsdale chipset. It will mix RAID0 for performance, combines with RAID1 for redundancy (otherwise RAID0 is more like AID0, and that stupid Sony dog was a waste of money). The best part is that it only requires 2 drives, whereas before RAID0+1 took 4 freakin drives (a large investment).

    See here for more info. http://www.dvhardware.net/article2193.html

    ~Ess

    dunno why they had to call it The Matrix -- seems kinda played to me

  279. Re:Batteries aren't the problem. by macdaddy · · Score: 1

    LOL. If you can't tell if I was trolling or serious then I must not have done a good job writing my last message. :-) For the record I was serious. I haven't used ReiserFS but I have researched it a little bit. I also took note of the Kernel make menuconfig details on Reiser. That's where I first found the note about patching quota and NFS packages. It makes sense, assuming that they don't already support Reiser. I wonder if the more current versions of nfs-utils and quotatools automatically support it. I looked into Reiser a year or two ago when I built a 480GB array. I went with ext3 since it was so easy to get going. I also felt that Reiser wasn't fully supported by everything at the time. I haven't taken the time to look into it since. I'm sure it works well though. Like all things it probably has its quirks, but is easy to get going for someone that knows those quirks already. Maybe I'll add it to my collection of skills someday.

  280. Re:Batteries aren't the problem. by ediron2 · · Score: 1

    Good reply, good points. Now, not to change the subject, but my biggest question is: Where the hell did the subject line change?! I don't recall even *using* that phrase or concept recently. Even my browser history/cache shows an un-revised subject line.

    I've railed against /. editorial laxness in the past, but have never seen firsthand an outright bug like the above morphin' Subject field. Wierd...

  281. Re:Batteries aren't the problem. by macdaddy · · Score: 1

    *Opens mouth* *Closes mouth* Well hell. That's a damned good question. I hadn't even noticed that! I never really noticed a bug in Slashcode before (never had time to run it locally). I've got features I'd like to add though. That's weird as hell. I'm not even sure what discussion the batteries stuff came from. Weird! LOL. Nice catch.

  282. some errors by dfghjk · · Score: 1

    A two drive RAID 0 does not increase the "data of data loss" by 4x. It increases the risk by the amount associated with one additional disk drive (which is incremental). The risk of data loss on the other drive and from the controller already exists.

    RAID 1 includes data striping so it only requires an even number of drives. RAID 0+1, 1+0, and 10 are marketing terms invented to make products sound more feature-rich and have come into popular use. Read the original RAID paper and you'll see that RAID 1 is not just simple mirroring but includes "drive arrays".

    The wasted space of arrays of mirrored drives is the same as that of a single mirrored drive. The overall extra cost has to consider the whole system. In smaller systems, say 4 drives instead of 3, the added cost of a more expensive RAID 5 controller or extra cache to help accelerate writes will overwhealm the cost of one additional drive. RAID 1 systems are not automatically the most expensive.

    RAID 3 is differentiated from RAID 5 by its dedicated parity and small (originally word-sized) interleave. It has never been replaced by RAID 5 but rather by RAID 4 with single sector interleaves. Parity schemes are now described by distributed or dedicated parity and by large or small interleave factors. RAID 3 was most well suited to hardware implementations as was RAID 2 which you omitted entirely.

    The typical person who buys a cheap, 4 port IDE RAID card wants the most capacity he can get out of 4 drives so RAID 0 or 5 is inevitable. That doesn't make those RAID levels always the best choices. Since that user's typically not performance-sensitive (especially writes) any RAID configuration will be satisfactory. Home users typically can't appreciate the performance difference between levels so they often believe they don't exist.

    1. Re:some errors by isolationism · · Score: 1
      I thank you for your corrections and clarifications -- I'm one of the many individuals who is happy to benefit from the advantages of a RAID array without knowing the pendantic details of how it -- and every other level of RAID -- operate.

      That said, a few points worth making:

      First, I was speaking solely for the benefit of the home user who, like myself, will probably not have any exposure to (or use for) any RAID levels besides 0, 1, the so-called "marketing term" 10, and 5 -- I'm not sure why I bothered mentioning 3 at all but there you are.

      Your statement that RAID 0+1 or 10 is an recent invention to make a product appear more feature-rich is essentially true -- because in most cases, the hardware implementation (which is almost invariably only two channels on a motherboard or controller card) will provide little performance benefit over a RAID 1 on the same hardware. That said, it is immensely more important to mention RAID 10 than it was to mention RAID 2, considering the context of the question -- The likelyhood of a home consumer running into the former versus the latter while shopping for a solution to their problem is rather obvious.

      Your mention of the "typical person who buys a cheap, 4 port IDE RAID card wants the most capacity he can get out of 4 drives so RAID 0 or 5 is inevitable," only makes apparent that the body of your remarks aren't merely tangential but diametrically opposite to the point: The poster isn't asking for help setting up a mission-critical computer for a Fortune 500's financials. It's a home user who is tired of losing data to hard drive failures. Besides the stipulation that the solution provide the perceived benefit of redundancy, it is assured that cost and accessibility are of the highest concern. You yourself state the typical cheap person is typically not performance sensitive and typically won't appreciate the performance benefit between RAID levels -- so why bother mentioning it at all, besides to typically toot your own horn? :)

      Second, regarding '"data of data loss" by 4x' [sic], I admit my mathematics are bad at best, but at least err on the side of precaution -- Yours miss the point of the risk while misquoting me. The more drives you have, the greater the risk that one of them will fail prematurely. In the event of a disk failure (or just about any other type of fatal failure/user error) on a RAID 0, you are always guaranteed to lose 100% of the data regardless of which drive fails first (which could be in a matter of weeks, if someone sells you a returned drive -- which is exactly what happened to me recently, fortunate for me it was on a RAID 5), meaning you come out with 0% of your data at the end of the tunnel. In the case of two JBOD drives, regardless of which drive fails first you are still only out 50% of the data -- or less, because you can mitigate the risk by cross-duplication of critical data between the two devices (or even outright duplicate it in its entirety while you have the room). This is of course greatly simplified for the sake of argument, but it is sufficient to say that regardless of the risk, RAID 0 is not the solution for any individual seeking protection/redundancy of data since it only increments -- and not decrements -- the risk of losing data, the former being the reason for my dismissive mathematics, and the whole raison d'être of the article.

      The third and final point that neither of us made (nor did I see mentioned in my skim through other posts) is without question the most important: don't rely on your RAID array to protect your data. Period. Any (non-zero) RAID array offers redundancy but is still a far cry from a backup; think of it as having borrowed time (should you lose a drive to hardware failure) to make the backups you should have been making all along, since -- as we have already covered -- neither performance nor high availability are major considerations in your decisi

    2. Re:some errors by dfghjk · · Score: 1

      I mentioned additional RAID levels because the original article did. I didn't see any reason not to address those issues solely because I felt the reader was unlikely to be interested in them. I would say it was the original author who was tooting his own horn when he wrote it but didn't bother to get the facts right.

      In the case of a two drive RAID 0, consider first that you have a single drive setup. Clearly you have no redundancy in that case. By adding a drive you've added some hardware (less than half) without adding redundancy but you haven't increased you risk "many times". The increased risk is incremental and that was my point.

      Now, as a practical concern, what is the chance of losing data with a RAID 5 system? In my experience it is quite high. I've used controllers from several manufacturers and have frequently lost my system due to disk failures. In the case of Mylex, my server was down 3 weeks waiting for a replacement card. Trouble is, many of these products just aren't very good.

      My solution is to use a simple RAID 0 and back the data up using rsync nightly to a second box. Using an external firewire box is a reasonable solution as well provided it's big enough. Few people at home really need syncronous mirroring and doing it this way is cheap, easy and fast.

    3. Re:some errors by isolationism · · Score: 1
      My little Adaptec 2400A controller has never had any failure-related problems. The only thing that -did- cause two drive failures at once was a bunch of cheaper Lian Li enclosures which resulted in two drives being marked as having failed -- in the end everything was restored by zapping the RAID table then undeleting the partition using partition management software (thank you, Adaptec technical support). I firmly believe that the enclosures were to blame here as the drives failed immediately when attached but had no such problem when they were subsequently removed from the enclosures and reconnected directly to the controller card. The card has seen about 20000 hours of continuous operation so it hasn't been running for a decade or anything -- but I'd consider it to be relatively well-made (compared to a number of inferior/poorly designed computer products that I've had the misfortune of losing over the past couple years -- I hear you loud and clear, there).

      I've survived without data or functionality loss through two (single) drive failures on the RAID 5 so I can attest that it does work for me -- but this isn't always the case. My mother had a RAID 1+0 set up where the motherboard failed and I had to read the blocks off the disks connected to an ATA controller using recovery software for the purpose (fortunately nothing was lost). I have since bitched at her to install a Firewire or USB 2.0 drive for the purpose of data backup and what do you know, she listened to me this time and runs it on a regular schedule.

      Your solution highlights my conclusion after years of experience running my own file server -- the best defence is multiple, decentralised copies. I personally don't feel extra redundancy isn't worth the investment as it has saved my skin a couple of times when drives failed -- but as you say, it's not worth playing the odds with your data, and a RAID shouldn never be your last line of defence against data failure.

      I use two external firewire backup drives (which together total close to the available size of my RAID 5 array; I split the data between them), but something completely separate like your rsync solution would be even better. My greatest challenges there would be the space and power requirements (I live in an apartment with electric heat/AC, so my energy bills are already quite painful). There is also the matter of existing investments with the external firewire drives.

      Better still (in terms of data security) would be a removable or offsite backup solution, but these are currently beyond my means, and probably beyond the means of most home users. I only make a couple overnight copies a week (I don't tarball anything or use backup software) so as not to stress the hardware out. I don't know whether it makes any difference or not, but there you are.

      Eventually I'd like to implement a solution like yours to a backup server located in a secure enclosure somewhere in my house -- that is, when I own a house to do it in.

      Thanks for your suggestions!

    4. Re:some errors by dfghjk · · Score: 1

      I've used Adaptec, 3Ware, and Mylex and have had controller failures triggered by loss of a drive on all three. It's not that RAID firmware can't be made to work, it's just that the complexity is surprising and, in the climate of cheap drives we have today, I wonder why home users are drawn to it. A few drives with RAID 0 (either OS software or controller) plus a regular backup solution (like yours or mine) seems to me to make sense for virtually all home user requirements. I frequently lose the boot drive when a drive fails, so unless you use RAID 5 on your boot drive you're still exposed to that problem (and you don't want to put swap on a RAID 5).

    5. Re:some errors by isolationism · · Score: 1
      Difficult to say. I think a lot of people imagine a RAID (of any level, in some cases) is some kind of magic device that guarantees you'll never lose any data again nor suffer any downtime because of a drive failure; people are naturally drawn to RAID 5 because it offers an acceptable compromise between redundancy and efficiency, and it is commonly seen in business server environments (for similar reasons -- especially when you're paying the premium for SCSI disks).

      The original poster isn't completely ignorant to the reality, I should think; his or her reason for implementing a RAID is clearly to reduce the chance of down-time and the bother of restoring a defunct volume from a (tape?) backup, and hopefully not to completely elimintate the need for backups entirely. Any hope of performance gain isn't mentioned, nor is any mention of volume size to suit a particular purpose.

      That is to say, I see your ten and raise you fifteen: The original poster might have been better served had the discussion taken the opposite direction:

      "What you're looking for is very probably not a RAID at all; you'd be better off investing in an external "backup" solution (where you are in fact automatically mirroring the drive contents on a regular schedule without actually creating an actual backup volume) or -- if the funds are there -- an rsync server (with or without the RAID 0) that accomplishes the same goal but with greater hardware independence and faster failover. Both would probably:

      • be similar or lower in cost compared to your proposed RAID solution,
      • feature similar or identical performance to your current file server implementation,
      • give you greater flexibility in terms of future growth,
      • offer better redundancy/accessibility in the event of catastrophic failure, and
      • reduce/eliminate specific hardware dependencies involved in running a hardware (or software) RAID array -- such as replacing failed controllers, replacing or adding geometrically identical drives to an array, etc.

      ...," and so on.

      Do you figure Dredd2Kad is still reading the discussion? :P

    6. Re:some errors by dfghjk · · Score: 1

      Don't know, but that pretty much sums it up.