Slashdot Mirror


RAID Vs. JBOD Vs. Standard HDDs

Ravengbc writes "I am in the process of planning and buying some hardware to build a media center/media server. While there are still quite a few things on it that I haven't decided on, such as motherboard/processor, and windows XP vs. Linux, right now my debate is about storage. I'm wanting to have as much storage as possible, but redundancy seems to be important too." Read on for this reader's questions about the tradeoffs among straight HDDs, RAID 5, and JBOD.

At first I was thinking about just putting in a bunch HDDs. Then I started thinking about doing a RAID array, looking at RAID 5. However, some of the stuff I was initially told about RAID 5, I am now learning is not true. Some of the limitations I'm learning about: RAID 5 drives are limited to the size of the smallest drive in the array. And the way things are looking, even if I gradually replace all of the drives with larger ones, the array will still read the original size. For example, say I have 3x500gb drives in RAID 5 and over time replace all of them with 1TB drives. Instead of reading one big 3tb drive, it will still read 1.5tb. Is this true? I also considered using JBOD simply because I can use different size HDDs and have them all appear to be one large one, but there is no redundancy with this, which has me leaning away from it. If y'all were building a system for this purpose, how many drives and what size drives would you use and would you do some form of RAID, or what?

555 comments

  1. Two words: RAID 0 by Richard+McBeef · · Score: 5, Funny

    Nothing can possibly go wrong. Especially if you use, like, 10 disks.

    1. Re:Two words: RAID 0 by erik+umenhofer · · Score: 1, Funny

      Place it under a rain gutter as well. Uptime and data retention increase 59.544%.

    2. Re:Two words: RAID 0 by Richard+McBeef · · Score: 2, Funny

      Uptime and data retention increase 59.544%.

      Actually, it's 59.5449999%. So it's 5 nines no matter how you look at it.

    3. Re:Two words: RAID 0 by Anonymous Coward · · Score: 0

      my two words:
      Xbox 360. If your debaiting windows vs linux. go with windows. the size(loudness) vs perfomance issue will disappear as you now can invest in your big personal computer. most media center experiences are awesome at first but die down quickly. This way if you change your mind in a month. hey you still using all that power personaly as opposed to it idleing away.

    4. Re:Two words: RAID 0 by CajunArson · · Score: 5, Funny

      Two words: RAID 0 Nothing can possibly go wrong. Especially if you use, like, 10 disks.

      For the love of God and all that's holy will someone mod this 'Funny' instead of Informative? I get the joke, but there's always somebody who won't!
      (Then again... maybe people who won't oughta make a 10 disk RAID 0, hell mod it insightful sucka!)
      --
      AntiFA: An abbreviation for Anti First Amendment.
    5. Re:Two words: RAID 0 by JWSmythe · · Score: 1

      MMmm.. a 10 disk RAID 0. It's probably good for video production work. I don't want to be standing by when THAT fails. :)

          "But, all my work was on there!"

          HAHAHAHAAAA

      --
      Serious? Seriousness is well above my pay grade.
    6. Re:Two words: RAID 0 by jollyreaper · · Score: 1, Funny

      So long as we're giving crackhead advice.....

      D00D!!! The best mote l33t way to back this shiznit up is to do a pkzip span across multiple floppies. Use 5.25 low density to show you know old school. Backing up a terrabyte should only take you, what, long enough that the first disks are dying of bit rot before the last disks are done? RAWK!!!!!

      PS you can increase the write speed of your hard drives if you pry off the tops and shoot in some WD-40. If your priest blesses it, you get WWJD-40 and that's even better!

      --
      Kwisatz Haderach
      Sell the spice to CHOAM
      This Mahdi took Shaddam's Throne
    7. Re:Two words: RAID 0 by bofkentucky · · Score: 1, Interesting

      3.5" drives but still cool floppy raid

      --
      09f911029d74e35bd84156c5635688c0
    8. Re:Two words: RAID 0 by tomhudson · · Score: 3, Funny

      Don't laugh - I once used 127 floppies to back up a 350meg hd. You can buy a computer nowadays for what that drive cost me. (Of course, the same can be said for the 80 meg hd a few years before, or the ad lib 8-bit sound card, or the 14" vga monitor ... or the dual external 5-14 floppy drives before that ...)

    9. Re:Two words: RAID 0 by Jarik_Tentsu · · Score: 1

      Well, I had a question.

      Most mid-high range Mobos these days offer RAID options (usually 0,1,5,10). Obviously, if the RAID controller dies, so does the RAID partition right? So my question was, assuming I go with a brand name motherboard - Asus, Gigabyte, MSI, DFI, etc - Am I safe from failing RAID controllers? I want to run RAID 0 for the bigger drives and slight increase in performance from two channels (or so I have heard) - but if it increases the chance of failure, I'm not sure.

      And considering I have quite a few drives, I'll need the SATA channels for more drives (which is why I am shying from using RAID 5...don't think I'll have enough free SATA ports).

      ~Jarik

    10. Re:Two words: RAID 0 by Stephen+Samuel · · Score: 4, Funny
      I would -- with a video camera to record the look on the users' face when they realize that their entire data store is inaccessible.

      I would, of course, be using a different 10-drive raid-0 pack to record the tragedy -- but I'd be safe because it's my disk pack (which makes it impervious to catastrophic failure).

      --
      Free Software: Like love, it grows best when given away.
    11. Re:Two words: RAID 0 by jollyreaper · · Score: 1

      Don't laugh - I once used 127 floppies to back up a 350meg hd. You can buy a computer nowadays for what that drive cost me. (Of course, the same can be said for the 80 meg hd a few years before, or the ad lib 8-bit sound card, or the 14" vga monitor ... or the dual external 5-14 floppy drives before that ...) God damnit, here I go trying to make what I think is an outlandish joke and you guys have to come along and show me the strange parade that is reality has traipsed past that border a long, long time ago. And a Floppy RAID-5? I feel like the Onion trying to parody Bush, he keeps catapulting the propaganda past their best efforts.
      --
      Kwisatz Haderach
      Sell the spice to CHOAM
      This Mahdi took Shaddam's Throne
    12. Re:Two words: RAID 0 by __aaclcg7560 · · Score: 2, Interesting

      I used to use 20 floppies to back up a 20MB hard drive. It was so nice to be able to buy a box of 25 floppy disks, keep 20 in the box as one data set and use the other five for whatever. These days I'm backing up to local USB/FireWire drives attached to each machine, and storing copies on a network RAID server.

    13. Re:Two words: RAID 0 by Guido+von+Guido · · Score: 4, Funny

      Crap, that reminds me--I gotta do some backups.

    14. Re:Two words: RAID 0 by Barny · · Score: 1

      Most vid production servers I have seen use a striped pair raid5 or raid6 arrays, very very fast, and a single failure will not doom you.

      --
      ...
      /me sighs
    15. Re:Two words: RAID 0 by Mad+Merlin · · Score: 2, Informative

      If you use fake RAID, then you basically have no guarantee that the on disk format will be the same from one motherboard to the next, even within a particular vendor.

      I would suggest not using fake RAID if you have any intentions of moving the disks to a new system (or really, at all... the only potential plus is Windows compatibility). Fake RAID uses a vendor-specific proprietary on disk format, and is typically slower than both software RAID, and hardware RAID.

      RAID in any form has minimal impact on disk seeks, so if you're reading lots of tiny files, you'll notice minimal (if any) performance gain. Where RAID really shines is reading or writing large sequential files, where your performance increases more or less linearly with the number disks in the array (although this depends on what RAID level you use).

      RAID 0 drastically increases your chance of data loss. For example, with 8 100G disks in RAID 0, if you lose any single disk, you lose all 800G of data stored in that RAID 0 partition. I wouldn't suggest RAID 0 for anything you can't completely recreate painlessly, unless you don't care about losing the data (and if you don't, then why do you have it in the first place?).

    16. Re:Two words: RAID 0 by sumdumass · · Score: 2, Informative

      I would stay away form the on board stuff. They aren't hardware raid or even close to a hardware level raid controller. At least all the ones I have seen weren't.

      3ware makes a fine hardware raid card that have between 2 and 16 or more SATA ports on them. Of course the costs go up with more ports. Adaptec has some also but I had problems with the last one I used and according to the Internet I wasn't alone. If I remember right, with a hardware raid, there is information about the raid configuration and all the drives in the boot sector of the drives. You should be able to rebuild the array from this. And the newer raid cards have hot swap spares were you have an extra drive or two sitting there waiting for a drive to fail. The firmware initiates one of the other drives rebuilds the information and you go on uninterrupted. You can then use a program to turn the failed drive off and replace it all without rebooting. It has saved my ass a couple of times.

      Something people don't look at when building a raid system is the power demands. A normal power supply has only one 12 volt rail that feeds both the main board and the drives. You can get some really weird thing happening when you run out of power like drive reporting as dead but still working. Some split that into two. But this could still leave you with too little power for your application. Spend some money and get a good power supply with separate 12 volt feeds and at least two of them if not three, You will see this on the power output chart for the power supply.

    17. Re:Two words: RAID 0 by Anonymous Coward · · Score: 0

      thats our mcbeef!

    18. Re:Two words: RAID 0 by Anonymous Coward · · Score: 0

      what a fruity day it is today!

    19. Re:Two words: RAID 0 by sortius_nod · · Score: 1

      This has to be the most retarded response I have ever read when dealing with the HTPC question...

      1. An Xbox 360 is NOT A MEDIA CENTRE - point blank, no arguments - it's an "EXTENDER".
      2. An Xbox 360 is far from quiet. It has to be noisiest console I have EVER owned.
      3. If you do want to have an Xbox 360, then you will need a Media Centre PC (Vista or XP MCE).
      4. Building a massively powerful HTPC/Media Centre is a waste of time and money, basically dead Mhz.

      IMO - go with the solution that suits you the most - I'd advise against using JBOD for a MC, seeing as you want stability of platform. The best alternative would be either a straight up drive running the OS and a small server in another room with the media on it, or, running 2xSATA drives in a mirror configuration.

      The big issue I see is with OS. I've tried many different alternatives - from Windows 2000/XP running 3rd party solutions, to MCE & Vista, and, of course, various linux distros. I have yet to find one that does everything I want. The best blend seems to either be Linux or MCE, the rest leave a lot to be desired.

    20. Re:Two words: RAID 0 by Forge · · Score: 4, Insightful

      Forcing this response to the top of the page, just so visitors don't think Slashdotters don't know RAID math.

      I.e. 3 500 GB drives in a RAID 5 doesn't give you 1.5 TB. (RAID 0 dose that). With RAID 5 you only get 1 TB.

      --
      --= Isn't it surprising how badly I spell ?
    21. Re:Two words: RAID 0 by empaler · · Score: 1

      The other day I found out that the reason half the lighting in my office had died was because of an electrical short. That reminded me to do backups. Offsite.

    22. Re:Two words: RAID 0 by WoLpH · · Score: 2, Informative

      If you use either Linux/FreeBSD software raid (especially the FreeBSD variant is very good) you'll be able to use different drive sizes.
      Or... get an Intel motherboard with Matrix Raid chip, it'll allow you to add more drives to an array or increase it's size when you increase the storage space.

      However... not using RAID would make it more flexible for you, wheter it's worth it is up to you. Personally I'd go for RAID 5 (I have done the same at home).

    23. Re:Two words: RAID 0 by PopeRatzo · · Score: 1

      4. Building a massively powerful HTPC/Media Centre is a waste of time and money

      But not for the reason you think.
      --
      You are welcome on my lawn.
    24. Re:Two words: RAID 0 by leuk_he · · Score: 1

      And if the data is critical make sure you have 2 of those raid cards. If the raid card itself fails it might be very hard to get a card version that accesses the data guaranteed in the same way, your disk may be intact, but you cannot access the data because it is in raid format you do not have interface for.

    25. Re:Two words: RAID 0 by Dread+Pirate+Skippy · · Score: 1

      3. If you do want to have an Xbox 360, then you will need a Media Centre PC (Vista or XP MCE). Lies. XP-SP2 works fine.

      Though I agree that no one who is serious about building a media centre PC should even think about designing it around an Xbox. But if you have the Xbox lying around, it can be convenient (no need to purchase another extender or have the PC right next to the TV). You'll just need a separate PVR solution for your PC.
    26. Re:Two words: RAID 0 by Anonymous Coward · · Score: 0

      Veeery WRONG!!
      More disks more possibilities that one fail, and if one fail, everything fails

    27. Re:Two words: RAID 0 by Anonymous Coward · · Score: 0

      And I work with most of them.

    28. Re:Two words: RAID 0 by shatteredsoul · · Score: 1

      Thats what all that extra space is for on the 10 disk raid 0. Just remember to store it in /backup or /archive so you know what it is!

    29. Re:Two words: RAID 0 by Penguin's+Advocate · · Score: 1

      I was hooked on 3ware cards until I tried an Areca board. 3ware makes good cards, Areca makes amazing ones. I've put together a lot of small RAID5 systems (between 4 and 12 drives) and they all work great, but the Areca cards are much faster, both in terms of throughput, and in terms of rebuilding an array after a drive failure.

      --
      Frag 'em all...
    30. Re:Two words: RAID 0 by Pollardito · · Score: 1

      Don't laugh - I once used 127 floppies to back up a 350meg hd. You can buy a computer nowadays for what that drive cost me. (Of course, the same can be said for the 80 meg hd a few years before, or the ad lib 8-bit sound card, or the 14" vga monitor ... or the dual external 5-14 floppy drives before that ...) you could *build* a computer in the time it takes to swap 127 floppies
    31. Re:Two words: RAID 0 by Anonymous Coward · · Score: 0

      another option may be the drobo www.drobo.com

    32. Re:Two words: RAID 0 by Anonymous Coward · · Score: 0

      wouldn't suggest RAID 0 for anything you can't completely recreate painlessly, unless you don't care about losing the data (and if you don't, then why do you have it in the first place?).

      Performance. When dealing with large uncompressed videos and I presume high res 3D graphic models, loading from and writing to the disk becomes a real pain- So the solution is to get a raid-0 with a few disks, keep your working files on the raid-0, and at intervals move your work onto stable, backed up storage.

    33. Re:Two words: RAID 0 by Anonymous Coward · · Score: 0

      Actually, Raid 0 is great, Raid 1 is nice... so using mirrored pairs we configured a Raid 10, very fast and only half the space but easy recovery (important since we are playing with 20 SCSI 320 drives) - this still doesn't address his JBOD question though since the Raid 10 controller we use is very intolerant of different drive sizes.

    34. Re:Two words: RAID 0 by WalrusSlayer · · Score: 1

      Hah, reminds me of a salescritter's comments a few years back. He was bragging about "Nine 5's" reliability. To which I replied, "Heck, I can give you as many fives as you want!"

    35. Re:Two words: RAID 0 by sumdumass · · Score: 1

      I will have to look at them. Thanks.

    36. Re:Two words: RAID 0 by Wolfrider · · Score: 1

      Man I wish I had mod points today for you guys...

      Parent(s) +1 Informative

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    37. Re:Two words: RAID 0 by RockDoctor · · Score: 1

      Don't laugh - I once used 127 floppies to back up a 350meg hd. You can buy a computer nowadays for what that drive cost me. (Of course, the same can be said for the 80 meg hd a few years before, or the ad lib 8-bit sound card, or the 14" vga monitor ... or the dual external 5-14 floppy drives before that ...)

      you could *build* a computer in the time it takes to swap 127 floppies
      ... starting by chipping your flint hand axes to cut the wood to make the charcoal to fuel the blast furnace to make the iron for the frame of your silicon-smelting furnace. Left-over iron you can use for the frame of your chip-fab plant, saving you some time by parallel processing ...

      Seriously : a stack of boxes of floppies that high ; 2 single-floppy Win3.11 machines, a stack of MS Office install floppies 27 (IIRC) high, and orders to prepare 5 sets of install discs for each of 5 sites before leaving this evening. Been there, done that, flagellated myself bloody with the shredded tee-shirt.
      --
      Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
    38. Re:Two words: RAID 0 by canuck57 · · Score: 1

      I.e. 3 500 GB drives in a RAID 5 doesn't give you 1.5 TB. (RAID 0 dose that). With RAID 5 you only get 1 TB.

      An slow like molasses in the middle of winter when one dies in RAID 5.

      I wonder how many know how to mirror 1:1 with 3 disks. A little less space, down to 750GB but if one dies the performance is still good. In fact, you want to make sure your warning mechanisms are working as with a mirror, you might not notice one gone.

    39. Re:Two words: RAID 0 by canuck57 · · Score: 1

      For the love of God and all that's holy will someone mod this 'Funny' instead of Informative? I get the joke, but there's always somebody who won't!

      While you are right, someone will misinterpret it, how many I/T people today test their configurations BEFORE going live? How many would know RAID 5 performance deteriorates when missing a disk, and do you get the warning messages when it happens?

      Me, I am a RAID 0+1 bigot. The loss of a disk does not impact performance that much when compared to RAID 5 on a disk intensive app. And in larger systems, you can loose more than one drive so long as it isn't the same failed opposing drive. I do use RAID 5, but where disk access is light and the additional disk is more important than a slow down or performance.

      But in this case, the user has 3 drives, they can still do RAID 1 (mirroring). You DO NOT need to have to have an even number of disks. Make 6 slices/partitions on the 3 drives and mirror each slice to another slice/partition on a different drive.

      And then TEST it. BTW, I thought it was funny.

  2. go for RAID-5 by geedra · · Score: 1

    I would go RAID 5. But, let's face it, you're gonna have to bite the bullet on this one...either get the bigger disks you want now, or plan on rebuilding the array down the road (and losing all your data, unless you have another mass storage device that can hold it).

    1. Re:go for RAID-5 by paradxum · · Score: 1

      I'd suggest getting a RocketRaid Card.

      You can expand the array without losing/migrating data off of the array. You are still limited to the size of the smallest disk in RAID 5, but it helps alot.

      Also, you can use LVM on linux to help with mapping the space.

      I have done this (for a personal File server.)

    2. Re:go for RAID-5 by Richard+McBeef · · Score: 1

      plan on rebuilding the array down the road (and losing all your data, unless you have another mass storage device that can hold it).

      Eh, heh. What? Seriously. What the fuck are you talking about? Lose a disk in a RAID 5 array AND lose your data? What blog did you read that on?

    3. Re:go for RAID-5 by geedra · · Score: 1

      Read it again. I said he'll have to rebuild the array if he wants to go to bigger drives and actually utilize the disk space.

    4. Re:go for RAID-5 by geedra · · Score: 1

      I should have said re-stripe instead of rebuild. Does that make more sense?

    5. Re:go for RAID-5 by Richard+McBeef · · Score: 1

      Sorry. When I read "rebuild", I only think of rebuilding an array with a defective disk, not starting from scratch as it were.

    6. Re:go for RAID-5 by sciguy125 · · Score: 2, Informative

      My understanding is that linux allows you to grow an array. Yes, it will, I just checked the manpage for mdadm. For RAID 5, and probably similar for others, the procedure is to "fail" each of your disks by unplugging them then replacing them with the bigger disks (this part isn't in the man page). You just have to make sure that you allow to RAID to rebuild after each "failure". Once they're all replaced, you can resize the array to fill up the new, larger drives. Then, of course, you'll have to resize your filesystem. During this process, however, your RAID will be vulerable to real disk failures.

      --
      GE/S/P a- e++ y-- r-- s:++ d+ h! X+++ t++ C+ P+ L++ E W++ w M-- V? PS+ P+
    7. Re:go for RAID-5 by bl8n8r · · Score: 2, Interesting

      > I would go RAID 5.

      Yep. And if you boot something like Knoppix you can keep the OS on cdrom and storage on the raid device. Samba config goes on a usb key. I have two servers in a corporate environment running software raid 5 and booting knoppix. Updates are nearly impossible, but you can keep the updates on the usb key (tzdata) and untar right over the top of UNIONFS after boot. Either that or just download a fresh Knoppix version (I've gone through 3 versions now). The software raid in Linux is surprisingly stable. I had one drive go bad on one of the servers a couple months ago. mdadm emailed me, I informed the dept. of the downtime, and at the end of the day I replaced the drive and rebuilt the array. Everything worked like the howto said. Very nice.

      --
      boycott slashdot February 10th - 17th check out: altSlashdot.org
    8. Re:go for RAID-5 by nxtw · · Score: 2, Informative

      I'd suggest getting a RocketRaid Card.

      Why? Linux software RAID (md) does a fine job with excellent performance, assuming you are not saturating the PCI bus (solution: use PCI Express or PCI-X instead). With sufficent bus bandwidth, software RAID outperforms the majority of soft RAID (rocketraid) and hardware RAID controllers.

      You can expand the array without losing/migrating data off of the array. You are still limited to the size of the smallest disk in RAID 5, but it helps alot.

      You can do this with md without having to deal with quirky RAID hardware that leaves you in the cold if you have a controller failure.
    9. Re:go for RAID-5 by bluephone · · Score: 1

      He wouldn't have to lose it. Either build the new RAID and copy striaght over, or do it the unfun way. When he buys the new disks, copy some of the data from the RAID to one disk until it's full, repeat until you have a copy of all the data. Reformat the RAID disks to normal drives, recopy the data back to the now un-RAIDed old disks. Recreate the RAID with the new ones, and re-recopy the data back. Not fun, but it works.

      --
      jX [ Make everything as simple as possible, but no simpler. - Einstein ]
    10. Re:go for RAID-5 by damacus · · Score: 2, Interesting

      Negative, ghostrider.

      With proper planning and the right skills, its not hard to build a RAID5 system that can grow with you. This solution is Linux based, but can be applied on any system that has a flexible abstracted filesystem support. The tricks: 1, a big case, 2, Linux w/ LVM.

      For the case, check out: http://www.xoxide.com/cooler-master-stacker-case-b lack.html

      It's huge. 12 5.25" slots. Supports dual power supplies. And you can get modules with fans that hold 4 3.5" drives in 3 5.25" slots. That's up to 4x4 drives, (or more realistically 3x4 drives, since you have controller units and presumably an optical drive.)

      Anyway, you could start with 4x750. RAID5, LVM on top. Later, say you fill it. You could then buy 4x1.25TB (or whatever the latest size is). RAID5 those new discs, and then put an LVM pv on the RAID, and join it to the first RAID's logical volume group. Extend your FS, and there you go. Also, you can now have up to two drives fail at the same time (so long as its just one dead per RAID5) and not lose data.

      Say you want to upgrade again? Do the same thing. And keep in mind, so long as the space is there, you could work LVM and filesystem resize magic to remove the oldest set of 4 drives from the logical volume group and replace them with newer drives.

      Takes a little linux skill, but its extensible. Also, flexible. You of course don't have to go 4x at a time. I just chose that since the drive cages support 4 drives apiece.

      Anyway, though. Start with the largest drives you can afford starting off, otherwise you'll be getting back into administrivia earlier than you'd probably prefer. I don't know your storage needs or finances, but most geeks should be able to swing 500GB drives (or 250, if one must.)

      PS - Don't forget to have at least one spare drive on hand in case one dies. Remember, it has to be the same size, or larger, than the drives in the RAID. This is especially advisable if all your drives are about the same age.

    11. Re:go for RAID-5 by TuballoyThunder · · Score: 3, Informative

      I concur. You would be crazy not to have redundancy--without out it one disk failure will pull down a good chunk of your data.

      As for growing the array. From what I understand (and I have not tested this) you can grow the size of the array if you replace all the disks (one at a time with a resync obviously). Also, as of linux 2.6.17, you can add a disk to the RAID and grow it that way.

      I would caution against making your array very large (either in disks or in space). Consider the case of a 3 disk RAID array where each disk has a probability of failing in any given second of 10^-10 (you would do this analysis using the reconstruction time of your array as the time window). The probability for any two drives not failing is (1-10^-10)^2. The total number of 2 drive pairs in a 3 disk RAID is 3, thus the probability of the array not failing in any given second is (1-10^-10)^6=0.99999999940. Over a period of five years, the overall probability of no two drives failing is (1-10^-10)^(6*157680000)=0.909729. If you increase the array size to 10 disks, the overall probability of two drives failing is 0.241927 (the number of 2 drive combinations is 45 so you replace the 3 with 45).

    12. Re:go for RAID-5 by WuphonsReach · · Score: 2, Informative

      Only 11 of those are usable bays, since they put the power switch in with the 3.5" bay module.

      The 4-3 devices modules are cute, but a pain to deal with when you want to replace a drive (you have to rip apart 4 sets of cables). I'm not entirely satisfied with the 4-3 modules that I have, I prefer the older 3:2 units with a 80mm fan. Stick to only putting 2 drives in those old 3:2 units and you get superior airflow because there's no strange grillwork between the intake fan and the hard drives. You might get the same out of those 4-3 units if you install a drive in the middle upside down to create a decent gap.

      But if you want maximum storage density, go look at the SuperMicro (or others) SATA 5:3 backplanes. Hot-swap (assuming your chipset supports it) SATA trays that fit (5) drives into (3) 5.25" bays. Merge that with a 4U rackcase or one of the (9) 5.25" bay cases from Lian Li (PC A16) and you have (15) SATA slots to play with. Or you could do (3) 5:3 and (1) 3:2 in that CM Stacker case for a total of (18) drives. (There are 3 types of SATA hotswap backplanes, 5:3 for cases with clean sides in the 5.25" bays, 4:3 for cases with guide-rails or tabs in between the 5.25" bays, and 3:2 units. Some cases have metal tabs designed to guide 5.25" devices into place, they'll interfere with 5:3 backplanes.)

      My preferred setup for (15) drives? A (3) active disk RAID1 for the OS and misc partitions, then either a (10) disk RAID10 w/ (2) hot spares or a pair of RAID6 volumes with (2) hot spares. RAID5 is too risky once you get into the 1TB+ range. Rebuilding onto a hot-spare takes too long and leaves you vulnerable to a 2nd drive failure during the rebuild window. RAID6 is at least better in that regard, but with RAID10, rebuild times are static (they're based on the time required to rebuild a single RAID1 pair) no matter the # of spindles in the array.

      --
      Wolde you bothe eate your cake, and have your cake?
    13. Re:go for RAID-5 by damacus · · Score: 1

      Great reply -- very insightful.

      You're correct about that case, regarding 11 usable bays instead of 12. The Lian Li cases are also quite nice.

      You touched on an important topic. Heat dissipation. I'm not sure the efficiency of the cooling on a 5:3 rig, but I imagine the cooling provided by said cage is absolutely essential, even if used in an otherwise well-cooled case. In the end it's a judgment call to be made by the system builder. I suppose with the right precautions (drives with accurate sensors, sensor monitoring cron jobs, proper case airflow) and the right environment, high density would be acceptable. I'm not sure how well that would work in a home office.

      Your preferred setup is extreme. It is somewhat surprising to me that you would opt for a system setup with no redundancy at all, but then have massive redundancy on the RAID. I guess it depends on the purpose of the box, but I'd probably use mirroring for two of the drives, and then leave the last as a hot spare. Talk about redundancy. :-)

    14. Re:go for RAID-5 by vivian · · Score: 1

      Having recently set up a file server I feel somewhat qualified to respond to this.
      What you want to do is the following:
      Set up a GNU/Linux box, (whatever flavour you choose doesn't really matter all that much - I chose Ubuntu 6.04 because it's got a long support life)
      next, get two or more big fat Seagate SATA drives
      E.g. Seagate SATAII NCQ 320GB 7200RPM with a 16mb Cache are close to the sweet spot in terms of cost per GB (anout AU$105 each here in Australia) and have a 5 year warranty.
      Why Seagate? Just my preference due to their being quiet, having had minimal problems with them in the past, and having decent warranties. last time I bought Western digital drives a couple of years ago I found them a bit noisy, though that might have changed.

      next, partition your drives into small partitions - say, 4 partitions.

      Make each corresponding set of partitions on a drive a raid set ( raid 1 if only 2 drives, raid 5 if 3 or more). the idea is that partition 1 from each drive will make up RAID set 1, partition 2 from each drive will make up RAID set 2, etc.
      Set up LVM over the top of this, to tie each of the 5 sets of partitions into one logical volume that can then be repartitioned to your hearts content to suit your requirements

      The problem with just traditional RAID partitions is that you cant resize them without reformatting.
      by having small sets of raid partitions, you can easily add more drives in the future, to add capacity without having to wipe everything.
      If you want to extend the set in teh future, you do the following:
      1) add extra drive, partitioned the same as the other drives.
      2) free up 1 raid set's worth of space from the LVM set.
      3) use LVM's management tools (pvmove, vgreduce and vgrmove) to tell it to stop using that raid set.
      4) tear down that raid set, and use the now unused partitions plus one from the new drive to build a new RAID set.
      5) tell LVM to use the newly created RAID set (pvcreate, vgextend)
      6) repeat from step 2, for the next Raid set, until you have all the partitions from the new drive included.

      you can even write a script to do all this. I'm sure theres been a post on slashdot about this in the past.
      The expansion process wont be fast, but it will eliminate the need to back up the entire RAID as would be the case if you had to add a new drive to a RAID set that used a single large partition on each drive. Theoretically this can all be done even while the machine's running, once the new drive has been installed - though file server performance is likely to take a bit of a hit.

      See this website for a better explanation of the above.

    15. Re:go for RAID-5 by Mage+Powers · · Score: 1

      Why are you keeping the OS off of the hard drives?

      Small boot partition is all you need, put one on each drive and raid0 them to keep it redundant. Only thing I've forgotten to do is install the boot loader to the other mbrs :)

    16. Re:go for RAID-5 by vivian · · Score: 1

      Oops - version number mis-information.

      Um of course I meant Ubuntu 6.06 LTS not Ubuntu 6.04...

    17. Re:go for RAID-5 by Anonymous Coward · · Score: 0

      > ...but it will eliminate the need to back up the entire RAID...

      Stupid! If you plan to fiddle with your RAID setup, i'd recommend
      to schedule a full backup before opening the computers case!!!

    18. Re:go for RAID-5 by cheater512 · · Score: 1

      I think you mean RAID 1.

      I use that setup for my home server.
      4x320gig drives in RAID 5 using software. 250mb boot partition in RAID 1.
      Works well.

    19. Re:go for RAID-5 by redcane · · Score: 1

      If it's like me, and it's for storing media, the backups are the original DVDs, and CDS. It's more of a pain in the ass to back a terabyte up somewhere, then to risk resizing the array without backups, and re-rip. Of course the reason for the RAID is to prevent having to re-rip if a drive fails. It's more about convenience than anything.

    20. Re:go for RAID-5 by redcane · · Score: 1

      RAID6 for the win! Fail one disk, and while it's rebuilding, you still have enough redundancy to lose another one!

    21. Re:go for RAID-5 by redcane · · Score: 1

      Is that thr probability of two drives failing at the same instant? Because you can set it up to down the system when the first failure occurs, and you start it up with the new drive.... Or you can use raid6 so you can lose more than one drive.... I'm not sure if the number of parity drives are configurable or if it has to be 2.

    22. Re:go for RAID-5 by asc99c · · Score: 1

      I'd not say RAID 5 is so risky. It does depend though on how you've bought your discs. If you go out and buy 4 discs and a RAID5 controller, that could be more risky, because you might well end up with sequential serial numbers from the same manufacturing batch. That increases the likelihood that discs will fail together. If you get the discs separately, it's a lot safer. I've only ever had one disc fail (out of probably 20 I've had over a good few years). Just buy same capacity discs with different model numbers or at least from different retailers.

      Lian Li also sell a very nice option, the V2100, which has 12 3.5" internal bays, plus 7 5.25" bays. With a couple of 4 in 3 adaptors, thats 20 discs plus a CD drive. The 5 in 3 adaptors don't leave enough room for cooling for my liking (even with the fans).

    23. Re:go for RAID-5 by raw-sewage · · Score: 1

      The 4-3 devices modules are cute, but a pain to deal with when you want to replace a drive (you have to rip apart 4 sets of cables). I'm not entirely satisfied with the 4-3 modules that I have, I prefer the older 3:2 units with a 80mm fan. Stick to only putting 2 drives in those old 3:2 units and you get superior airflow because there's no strange grillwork between the intake fan and the hard drives. You might get the same out of those 4-3 units if you install a drive in the middle upside down to create a decent gap.

      But if you want maximum storage density, go look at the SuperMicro (or others) SATA 5:3 backplanes. Hot-swap (assuming your chipset supports it) SATA trays that fit (5) drives into (3) 5.25" bays. Merge that with a 4U rackcase or one of the (9) 5.25" bay cases from Lian Li (PC A16) and you have (15) SATA slots to play with. Or you could do (3) 5:3 and (1) 3:2 in that CM Stacker case for a total of (18) drives. (There are 3 types of SATA hotswap backplanes, 5:3 for cases with clean sides in the 5.25" bays, 4:3 for cases with guide-rails or tabs in between the 5.25" bays, and 3:2 units. Some cases have metal tabs designed to guide 5.25" devices into place, they'll interfere with 5:3 backplanes.)

      One caveat to the "X-in-Y" drive boxes (where X is the number of 3.5" hard drives and Y is the number of 5.25" bays and X > Y): noise (and/or cooling). In my experience (home Linux software RAID-5, 4x400), you need at least 1/2 inch between drives to cool them quietly. When I had a house, I kept my drives in a Chenbro SR10769. This case has a 120mm fan directly behind each group of 4 drives, and a 92mm fan in front of each group of drives. I ran ultra-high speed Delta fans in that case, and stored the server in the basement. The drives stayed under 30 degree C, but the case sounded like a jet engine.

      I moved into an apartment, and no longer have the luxury of keeping my drives in an enormously loud server. So I put the drives in the lower drive bay of the Antec P180 case. Now the drives have one low-speed (quiet) 120mm fan behind them. The drives stay in the mid 30s, which is plenty cool. But the case is very quiet. I credit the fact that the P180 gives a good 1/2 inch or so between each drive. Compared to the Chenbro (and every other X-in-Y solution I've seen), which sandwich the drives together as close as possible, you get effective cooling with substantially less airflow.

      If quietness is of any concern, put at least a half inch between each drive. Doing so will allow you to cool your drives effectively and quietly.

      Also, FWIW, the CM Stacker case can be useful: just put one 3.5 inch hard drive in each 5.25 inch bay. The only tricky part is rigging some kind of airflow over the drives. I tried doing this, actually. I sealed off all the non front or back openings of the Stacker (including the sides). I used shock cord (aka bungee cord) to soft mount the drives. I built a 3x120mm fan frame out of foamboard to mount behind the drives (i.e. between the drives and the motherboard). It worked, but was quite ugly. I now have the Lian Li PC-16B on order with an extra hard drive module. The mounting is semi-soft (rubber grommets are used to reduce vibrations) and the spacing is one drive per 5.25 bay. Plus, there's a 120mm fan in front of each drive. In the future, when I upgrade my array, I'll buy another hard drive module, and have room for a total of nine hard drives (two four-drive arrays plus one system disk).

    24. Re:go for RAID-5 by Horn · · Score: 1

      Actually you wouldn't need to go through all that trouble to expand a raid 5 array. The 2.6.17 kernel lets you add disks to an existing array and then resize the array to use all the disks. http://scotgate.org/?p=107

    25. Re:go for RAID-5 by WuphonsReach · · Score: 2, Interesting

      I actually put those (15) drive inside of a SuperMicro 4U rackmount/tower case with the triple 760W PSU (that's a $600 case). But for a backup system or less critical system where a few hours of downtime doesn't matter, the Lian-Li case is suitable along with a regular PSU. Using a modular plug PSU with a spare in the closet can be a serviceable method instead of buying a large expensive enclosure.

      I was skeptical of the 5:3 backplanes too. But the 5:3 backplanes actually do a pretty good job of cooling. They're aluminum trays, it's all metal-to-metal contact points, so the heat spreads out a bit. There's also a 80mm fan on the back of each backplane that pulls a small amount of air through the drives. Some (most?) backplanes also come with a temperature sensor that you can set for temps of 50/55/60 Celsius which causes a buzzer to go off in the unit when it gets too warm.

      As for (3) way RAID1 vs (2) way RAID1 + hot-spare... Well, if I'm going to dedicate the drive to being available for the RAID as a hot-spare, why not get use out of it and make it active? Then, when a disk fails in the RAID1, I'm not depending on a single disk while the hot-spare gets synchronized.

      Which is one of the downsides of Software RAID. It works at the partition level, rather then the whole disk level. So it's more difficult to share hot-spares between different types of arrays. OTOH, it provides a lot more flexibility compared to hardware RAID. If you were doing a (4) disk RAID, you could do the first few partitions (for /boot and / and swap) as RAID1 across all 4 disks, then use the rest of the disk as a RAID5 or RAID10 volume.

      --
      Wolde you bothe eate your cake, and have your cake?
    26. Re:go for RAID-5 by WuphonsReach · · Score: 1

      I moved into an apartment, and no longer have the luxury of keeping my drives in an enormously loud server. So I put the drives in the lower drive bay of the Antec P180 case. Now the drives have one low-speed (quiet) 120mm fan behind them. The drives stay in the mid 30s, which is plenty cool. But the case is very quiet. I credit the fact that the P180 gives a good 1/2 inch or so between each drive. Compared to the Chenbro (and every other X-in-Y solution I've seen), which sandwich the drives together as close as possible, you get effective cooling with substantially less airflow.

      I have a p180 case as well. The middle set of drive bays (with a 120mm fan in front and (2) hard drives installed in the chassis) does very well. The air flow for the units down below is okay with 4 drives installed, but not great. I've also used a CM 4:3 unit in the top bays to hold another (4) drives.

      But along those lines, I used to be able to buy a 3:2 unit with a 80mm fan. It's similar to the CM 4:3 unit, except it has a front filter, an 80mm fan (intake) and room for 3 3.5" hard drives taking up (2) 5.25" bays. If you only put (2) 3.5" drives in the unit, the 80mm fan (which is pretty quiet) draws excellent airflow across the two drives. Enough airflow that active temp (drive under heavy seeks / activity) will only be 1-2C above idle temp.

      Unfortunately, MWave doesn't seem to carry the 3:2 w/ 80mm bay cooler anymore. It's a rare find (bought my first one from DirtCheapDrives in Texas about a decade ago and I still use it). I've bought a few more since then because they come in handy for times when you absolutely need assured cooling for a pair of drives. Ah, you might find it here (unit on the right in the picture at the top).

      --
      Wolde you bothe eate your cake, and have your cake?
  3. Do some research first? by bi_boy · · Score: 5, Informative

    Wikipedia has a very informative article regarding RAID and the various levels, in fact here it is. http://en.wikipedia.org/wiki/RAID

    --
    Chicken fried butter sticks? Do ... do you use a fork? - Black Mage, 8-Bit Theater
    1. Re:Do some research first? by Anonymous Coward · · Score: 3, Informative

      While you're there, check out how http://en.wikipedia.org/wiki/ZFS can make most of the issues other posters are point out irrelevant, or at least nothing to be worried about.

      While Solaris might be a dirty word among the Slashdot crowd, if all the OP needs is a way to store a bunch of files, ZFS is an excellent solution. Check out http://www.opensolaris.org/os/community/zfs/whatis / and in particular the demos linked on the left side.

      Then, if you're still not convinced how appropriate ZFS might be for a somewhat clueless user, read about how it can save your ass from flaky hardware and data corruption: http://blogs.sun.com/elowe/entry/zfs_saves_the_day _ta

    2. Re:Do some research first? by wlj · · Score: 1

      Look at the RAID 10 configuration (striped and mirrored). Disks are cheap now this gives good safety plus performance.

    3. Re:Do some research first? by timeOday · · Score: 1
      Does it say RAID is a waste of time and money for the home? Because it is. For data safekeeping, you need a backup, which RAID is not. And redundant storage of ephemeral data like recorded TV shows is a wate of disk space (and power to run them).

      I suggest buying one big disk (500GB are very cheap now) and a smaller one to back up data you actually care about (which is powered down other than for nightly backups), and don't waste too much time getting fancy.

    4. Re:Do some research first? by wfWebber · · Score: 1

      Yeah. RTFW first.

      (Can I get a patent on RTFW?)

      --
      Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. -- Andrew S. Tanenbaum
    5. Re:Do some research first? by grcumb · · Score: 5, Funny

      Wikipedia has a very informative article regarding RAID and the various levels, in fact here it is. http://en.wikipedia.org/wiki/RAID

      Nonsense! Everything you need to know is in the RAID 5 song:

      10 TB of disk on the wall, 10 TB of disk
      You take one down
      Pass it around
      10 TB of disk on the wall!

      10 TB of disk on the wall, 10 TB of disk
      You take one down
      Pass it around
      0 TB of disk on the wall!

      (My friend Rich actually came up with this. I like him too much to slashdot him, though.)

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    6. Re:Do some research first? by empaler · · Score: 1

      (Can I get a patent on RTFW?) You'd have to have a license for using my patented "method for noting thoughts, ideas, abstracts, words or sentences, coherent or incoherent."
    7. Re:Do some research first? by Anonymous Coward · · Score: 0
    8. Re:Do some research first? by AlecC · · Score: 1

      Except that it is possible to have dual parity RAID, and the code is available for Linux. In this case, you need two disks to fail before you lose your data. However, calculating the data for the second redundant disk is *much* more CPU intensive than the first, so you don't want to do this unless you really, really, value your data or have a lot of cycles to throw away. Some commercial dedicated Raids also do double parity.

      --
      Consciousness is an illusion caused by an excess of self consciousness.
    9. Re:Do some research first? by Nevyn · · Score: 1

      The usual way to go, if RAID5 is not enough, is to combine RAID levels. One "common" one being a group of RAID1 sets which are then RAID0'd together.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    10. Re:Do some research first? by AlecC · · Score: 1

      But this does not provide so much protection. A Raid 50 consisting of two Raid 5s ganged together in Raid 0 is still vulnerable to a double failure in one half of the array, weareas a Raid 5 DP could handle any two drives failing.

      --
      Consciousness is an illusion caused by an excess of self consciousness.
    11. Re:Do some research first? by Sobrique · · Score: 1
      Full mirroring is good for that huggy feeling of data resilience, but it really does start to add up very quickly. It's not just the price of the drive that's the issue, it's the number of array enclosures, space and power that start to add up as well.

      Personally, for most solutions, I find RAID5 entirely acceptable. Lower overhead, but still with resilience.

    12. Re:Do some research first? by yahooadam · · Score: 1

      are you talking about Raid 1+0 / 0+1 ?

      as to raid5, i thought the more disks you had in the array the more could fail with your data left intact
      so if you have 4 disks in your array (the minimum for raid 5) if 1 fails then your data is OK, if you have 50, lets say 5 can fail (i don't know the exact math)

    13. Re:Do some research first? by Nevyn · · Score: 1

      I specifically mentioned RAID1+0 ... Ie. 8 disks, as 4 RAID1 sets combined into a RAID0 set. This gives the same storage as 5 disks as RAID5 but better performance and you need at least two disks to fail (and likely more would need to fail, best case requires 5 disks to fail).

      If you wanted to leave RAID5 in, you could do RAID1+5 which requires 10 (double) disks to get the same storage but this requires at least 4 disks to fail before you might have a problem (best case requires 7 disks to fail).

      Yes, in theory, you can go with RAID5 DP over 6 disks and get the same minimum protection of RAID1+0 ... but performance is much worse, and if any 2 disks fail everything is gone.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    14. Re:Do some research first? by cerberusss · · Score: 1

      Wikipedia has a very informative article regarding RAID and the various levels
      --
      8 of 13 people found this answer helpful. Did you?
  4. Duh by phasm42 · · Score: 5, Insightful

    I'm wanting to have as much storage as possible, but redundancy seems to be important too.
    Given that RAID 0 and JBOD give you no redundancy, RAID 5 is the only one you listed that has redundancy.

    That said, RAID is not a replacement for proper backup. RAID is just a first line of defense to avoid downtime.
    --
    "No one likes working in a hamster wheel, and your shop smells of cedar shavings from here." - TaleSpinner
    1. Re:Duh by geedra · · Score: 3, Insightful

      That said, RAID is not a replacement for proper backup. RAID is just a first line of defense to avoid downtime.

      A good point. Consider, though, that most people don't run terabyte-size tape backup at home. It's not like it's business critical data, so RAID-5 is probably sufficient.

    2. Re:Duh by TheRaven64 · · Score: 2, Informative

      ZFS could be the solution to both problems. You can mix different RAID types across the same volume (no redundancy for unimportant stuff, like /tmp, mirror really important stuff, and RAID-Z the rest). It can also do snapshots, which gets rid of a big part of the reason for needing backups on top of RAID (accidental deletion). Of course, a virus, or kernel bug could still wipe out your data, so you still need backup stuff, you're just less likely to need to pull out the backups.

      --
      I am TheRaven on Soylent News
    3. Re:Duh by xigxag · · Score: 2, Insightful

      There was just an Slashdot discussion on ZFS a few days ago. The OP should read it, it pretty much covers his/her questions.

      --
      There are two kinds of people: 1) those who start arrays with one and 1) those who start them with zero.
    4. Re:Duh by Professor_UNIX · · Score: 1

      That said, RAID is not a replacement for proper backup. RAID is just a first line of defense to avoid downtime.
      RAID-5 is "good enough" for home use though. If you're paranoid then build a second box that just backs up the first via rsync or rdiff-backup. The second box doesn't necessarily even have to have a RAID array, you could LVM a bunch of disks together. If the backup array dies then oh well, just install a new drive and rsync from your production server again. Personally I don't even bother to back up my MythTV backend's 600GB RAID-5 array (wow, that was really massive when I built it years ago, now I could back up the entire thing on one drive) since the only thing I keep on it are recorded television programs. Sure, I'd be pretty heartbroken if I lost 2 or 3 years of Law and Order SVU, but I'll get over it and can just buy the DVDs.
    5. Re:Duh by cibyr · · Score: 1

      I'll also put my voice behind ZFS. It's the coolest storage-related thing I've heard of in ages, and makes me wish I had a spare file server to install Solaris on.

      --
      It's not exactly rocket surgery.
    6. Re:Duh by Zeinfeld · · Score: 1
      The way I planned my system is that I bought a pair of disks large enough to hold all the program data that I expect to use for the foreseable future (400Gb) which I will configure as a RAID-1 mirror.

      I have four disk slots left, two of which I which I plan to fill with whatever size drive is at the optimum price point when I run out of main disk space, today that would be a couple of 1 Tb drives. Then I will move the user data onto the RAID-1 mirrored data drives.

      When I need to upgrade I break the mirror on the data drives and install a 4Tb drive (or whatever), copy the data onto the new drive, slot in a second one for backup and re-establish the mirror. Then I move the data from the 400Gbs to the 1Tbs drives and retire the 400Gbs.

      I can't see myself using more than a few Tb a year unless I suddenly get into some pretty drastic HD video editing. If I did I might get into a RAID5 array, but even then I can't see myself using more than 3 drives and I would fully expect that by the time it came to upgrade the disks would be at least 3 times larger.

      Of course the fact that the machine has SATA and the DVD drives are all on the legacy IDE channel makes for a much easier situation.

      What I am somewhat disappointed about is the lack of a ready solution built into Windows to support network drive mirroring. I don't mean a backup scheme here, I mean transparent mirroring.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    7. Re:Duh by Anonymous Coward · · Score: 0

      What is more important to you? Having a backup of your data or having the availability that mirroring offers? If you delete a file, a file gets corrupt, you slip with the mouse, you get a virus, etc.. your mirrored drives are useless for protection against that. In the real world, that is a bigger factor then having a mirror which only provides the ability to stay running until you replace the second disk that failed. Choosing mirroring over a backup makes no sense in anything but systems that have to have 9's for uptime or money is lost. Using that second disk that is not a live filesystem for a periodic copy with something simple like rsync or even scripts that can do diffs and fulls would seem to make much more sense. Factor in the complexity of RAID over using simple standard controllers and plain old filesystems and using the second disk as a backup makes even more sense.

      Windows does network mirroring. DFS, but it is not with Vista and XP and yes, not having that ability for a deskyop OS does suck but how many people using Windows would actually use that?

    8. Re:Duh by Jeffrey+Baker · · Score: 2, Insightful

      So, to repharse your post, you are in favor of ZFS and you recommend it to others, even though you haven't tried it yet.

    9. Re:Duh by ozmanjusri · · Score: 4, Funny
      you are in favor of ZFS and you recommend it to others, even though you haven't tried it yet.

      Hell yeah.

      Cool but untested tech is always best recommended to others before you try it. Preferably LOTS of others.

      --
      "I've got more toys than Teruhisa Kitahara."
    10. Re:Duh by cibyr · · Score: 1

      I am in favor of ZFS and I recommend that others look into it to see if it meets their needs, because I had and it seems like it would.

      Anyone who would make a decision based on what somebody said on slashdot deserves whatever they get. Then again, anyone who needs a slashdot story to answer some basic questions about RAID probably needs all the help they can get.

      --
      It's not exactly rocket surgery.
    11. Re:Duh by evilviper · · Score: 1

      RAID-5 is probably sufficient.

      Until you're typing an rm -r command on a folder, but put a space where it shouldn't be, or perhaps you run a mkfs on the wrong drive, or even just delete a single file by accident. RAID-5 won't help, AT ALL.

      I'd definitely recommend JBOD or RAID-0, plus a couple off-line "backup" drives (USB2 seems easiest for most people), that are regularly (r)sync'd up with the most "important" folders/files.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    12. Re:Duh by thommym · · Score: 1

      Why do you think ZFS is untested?

      --
      Don't feed the penguins
    13. Re:Duh by tommy · · Score: 1

      Even worse, RAID 0 and JBOD give you anti-redundancy. With either of those options if a single disk dies you lose everything on all drives. So the set will be 1/n as reliable as a single disk where n is the number of disks in the set.

      I would never use RAID 0 or JBOD. It's just begging for trouble.

      --

      I have a woman and money. Life is good.

    14. Re:Duh by Fred_A · · Score: 3, Insightful

      That said, RAID is not a replacement for proper backup. RAID is just a first line of defense to avoid downtime.

      RAID is just a first line of defense to reduce downtime.
      --

      May contain traces of nut.
      Made from the freshest electrons.
    15. Re:Duh by Chatterton · · Score: 1

      At home I have 4x250GB in a RAID-5 setup. I duplicate all my datas from time to time to a bunch of USB drives (250GB & 500GB) for my backups. Plus a 3rd copy for files of very high importance (my photos and some videos) I put off site (at work).

      But what I am searching for is a good versionned file system to put on top of my Raid 5. Then if I delete a file I can get the previous version (the non deleted one). True that I mkfs is always a killer in this case...

      I think that RAID-5 or 6 + versionned file system + rsync to USB drives could make a very good start for home setup in the 1+ GB range.

    16. Re:Duh by redcane · · Score: 1

      zfs or fossil. I think there is a fuse driver for zfs on linux.

    17. Re:Duh by Anonymous Coward · · Score: 0

      makes me wish I had a spare file server to install Solaris on.
      ... that pretty much implies it's untested by him. Fucktard.
    18. Re:Duh by Abcd1234 · · Score: 1

      Besides, if you're gonna use RAID 0, for god sake, just use LVM. It's basically the same thing, but gives you far more flexibility (my Myth system is actually an LVM of mirrors... not the most storage-efficient, but it's flexible and reliable).

    19. Re:Duh by fm6 · · Score: 1

      And if you reduce downtime, you're more likely to avoid it!

      I have nothing against nitpicking, in as much as I do it for a living. But let's not quibble about a choice of words when the words don't really mean anything different.

    20. Re:Duh by Zeinfeld · · Score: 1
      What is more important to you? Having a backup of your data or having the availability that mirroring offers? If you delete a file, a file gets corrupt, you slip with the mouse, you get a virus, etc.. your mirrored drives are useless for protection against that.

      The file system in Vista Ultimate which provides versioning is great for that. I can roll back to any date I choose.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    21. Re:Duh by NateTech · · Score: 1

      Mod parent up.

      Nicely stated. And 100% true.

      --
      +++OK ATH
  5. Don't worry about losing your media files by NotQuiteReal · · Score: 5, Funny

    You can just download them again, right?

    --
    This issue is a bit more complicated than you think.
    1. Re:Don't worry about losing your media files by noidentity · · Score: 3, Insightful

      Even though it was modded funny, it's good advice: if most of your data is not something you created on your own, either directly or indirectly as a part of using the computer, it's possible to replace it from an outside source if lost. All you really need a backup of is your unique data.

    2. Re:Don't worry about losing your media files by egr · · Score: 1

      my friend does it when he reformats his hdd, since it much faster and cheaper

    3. Re:Don't worry about losing your media files by Anonymous Coward · · Score: 0

      Tip: take your disks to the office for that. Not only do they have big fat pipes, but there's like a million bittorrent seeds here.

    4. Re:Don't worry about losing your media files by empaler · · Score: 1

      The bandwidth in my old office saturated the PATA drive in my laptop to such an extent that the computer locked up while downloading. Schw0000t.

    5. Re:Don't worry about losing your media files by Bastard+of+Subhumani · · Score: 1

      Er, taking your pr0n to the office and/or re-downloading it there sounds like a potential career limitation exercise.

      --
      Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
  6. Go JBOD by ringfinger · · Score: 0, Troll

    I know there was an article in linuxjournal on how to build out a 1 TB JBOD storage server out of JBOD and a normal PC chassis. I'd look back and do that -- with multiple sets of discs as backup. I can't remember the issue, I believe it may have been Oct 2005. good luck -- http://30days.itious.com/

    1. Re:Go JBOD by JWSmythe · · Score: 1

      You don't need an article, it's real easy. I have a 440Gb array beside me, and it's only that small, because it was filled with drives I happened to have laying around. :) 5 120Gb IDE drives.

      BTW, in the original posting, his math was wrong. he indicated 3 1TB drives should give him 3TB. Wrong. RAID 5 is S=C*(N-1)

      S = Size, C = Capacity, N = Number of drives.

      Throw away a little from S for overhead and fudged numbers for manufacturers.

      So (for ease of math) in a RAID 5 configuration:

      3 1Tb = 2Tb , 5 1Tb = 4Tb , 6 1Tb = 5Tb

      But, if you were to take the same 6 drives, and make two RAID5's out of them, you'd only have 4Tb. RAID 50 can be two RAID5's, which are then set up as a RAID0 between the existing devices.

      Back to my original example.

      In my case, I have a Linux machine with 5 120Gb Drives. It also has a 160Gb boot drive. I like to keep my data and OS seperated, but since there's nothing important on the OS, it doesn't need any sort of redundancy. Should it fail, I set up on a fresh disk, throw it in, and all my important stuff is on the RAID.

      Remember the formula. S = C * (N-1)

      480Gb = 120Gb * (5-1)

      My device came out as 480.1Gb.
      The OS sees 441Gb. Remember, overhead.

      Disk /dev/md0: 480.1 GB, 480134037504 bytes
      2 heads, 4 sectors/track, 117220224 cylinders
      Units = cylinders of 8 * 512 = 4096 bytes

      root @ backup (/root) df -h /dev/md0
      Filesystem Size Used Avail Use% Mounted on
      /dev/md0 441G 293G 125G 71% /host

      I use mine for an off-site backup system, with BackupPC (http://backuppc.sf.net). It works very very well.

      Now, how the heck to make this? Easy. There are tricks you can do. I do have one machine with a RAID1 and a RAID5 on the same 3 drives, to give me redundancy, with this same method. It's all in how much you want to work at it, and how much practice you have. I wouldn't suggest it for a first attempt. :)

      1) Set up your OS, and compile in all the RAID device drivers into your kernel. Your distribution may already have modules for this, which is ok as long as it's not your boot device. :)

      If you're compiling, they're at:

      Device Drivers --> Multi-device support --> (all the stuff here)

      2) Stuff your machine full of drives. :) I have a midtower with 10 3 1/2" bays. I used Promise IDE controllers. each can control 4 IDE drives, which means I could actually use 8 drives in here, but I only had 5.

      3) fdisk your drives, making an fd type partition on each. If you have dissimilar drives, this will help you recover the unused space. If they're identical, you can get away with using the entire device in the next step.

      4) Make your /etc/raidtab. Adjust the device names as necessary.

      raiddev /dev/md0
      raid-level 5
      nr-raid-disks 5
      nr-spare-disks 0
      persistent-superblock 1
      parity-algorithm left-symmetric
      chunk-size 4
      device /dev/hde1
      raid-disk 0
      device /dev/hdf1
      raid-disk 1
      device /dev/hdg1
      raid-disk 2
      device /dev/hdi1
      raid-disk 3
      device /dev/hdj1
      raid-disk 4

      5) Make it a raid. "mkraid /dev/md0"

      6) If you don't reboot after the last step (don't bother), you need to start the raid. The command is "raidstart /dev/md0" .

      7) Now you have a

      --
      Serious? Seriousness is well above my pay grade.
    2. Re:Go JBOD by Dare+nMc · · Score: 0

      RAID 5 is S=C*(N-1)
      pretty sure,thats for N (number of drives) greater than 3 only.

      you can run raid 5 with 3 drives, but with 3 drives, not knowing which drive will fail, you have to duplicate all data 2x. With 4 or more drives and parity you can only lose 20% of your data at one time, so then you can start playing statistics games.

      So (for ease of math) in a RAID 5 configuration:

          3 1Tb = 2Tb , 5 1Tb = 4Tb , 6 1Tb = 5Tb

      thus 3*1TB drives RAID 5 is 1.5TB. the rest are correct (ignoring overhead.) so 4 drives makes better economic sense than 3 (ignoring controller cost.)
    3. Re:Go JBOD by Dare+nMc · · Score: 1

      pretty sure,thats for N (number of drives) greater than 3 only.

      ok, I was wrong, scratch that. It is valid for 3 drives as well.
    4. Re:Go JBOD by catprog · · Score: 1

      That is RAID 1. RAID 5 works like this. 1,0 on one drive 1 on the backup drive 1,1 or 0,0 on one drive 0 on the backup drive Now what happens when 1 drive fails? The other 2 have enough data to work out the missing data

      --
      My Transformation Website
      Kindle Books http://www.catprog.org/rev
      Interactive CYOA http://www.catprog.org/st
  7. RAID by whtmarker · · Score: 1

    Does anyone know... once you setup raid what happens when a drive fails? Does something in the harddrive pop up and tell you? What if it is a linux server in a closet and you'd rather the server sent you an email?

    1. Re:RAID by alexandreracine · · Score: 4, Funny

      Does something in the harddrive pop up and tell you?


      Actually, the failed hard disk will personnaly walk to you.
      --
      No sig for now.
    2. Re:RAID by Anonymous Coward · · Score: 0

      No, RAID 5 does not have a dedicated parity disk. The parity data is distributed across all the disks, unlike RAID 3 and 4, where there is a dedicated parity disk.

    3. Re:RAID by zippthorne · · Score: 1

      and.. how large is the parity stripe...

      --
      Can you be Even More Awesome?!
    4. Re:RAID by JWSmythe · · Score: 2, Informative

        cat /proc/mdstat

      root @ backup (/usr/src/linux) cat /proc/mdstat
      Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
      md0 : active raid5 hdj1[3] hdi1[4] hdg1[2] hdf1[1] hde1[0]
            468880896 blocks level 5, 4k chunk, algorithm 2 [5/5] [UUUUU]

      unused devices: <none>

      [U] is Up.  [_] is Down.

      --
      Serious? Seriousness is well above my pay grade.
    5. Re:RAID by asc99c · · Score: 1

      Both of my RAID cards can send out emails if the hardware runs into trouble. But I guess this is dependent on the software bundled. The idea of hardware RAID is that the OS only sees one drive, so I doubt there is a generic way of seeing an individual drive failing - you probably have to ask the RAID card about the drive's status.

  8. Design for today. by Joe+U · · Score: 2, Interesting

    Design for what you want to use today and in the near future, don't design for a few years from now, you'll never get it built.

    That being said, mirroring might be the easiest solution to upgrade, but you'll sacrifice speed and space.

    If you want speed and redundancy, you'll have to go with something like RAID 5 or RAID 10 and just have a painful upgrade in the future.

  9. I would use (and do use) linux software raid by aachrisg · · Score: 2, Informative

    I'm running a few arrays, all over 1TB. Largest is 8 drives in a raid6 config. everything uses software raid. Be sure to use LVM, so that you can snapshot your drives. Once you're properly RAIDed, your more likley to lose your data by an accidental file deletion than by unfixable hardware failure.

    1. Re:I would use (and do use) linux software raid by Anonymous Coward · · Score: 0

      Yes, software RAID is great, especially if you like your writes being really slow. :-/

      If you're going to dump hundreds of $$ into hard drives, cough up a bit more for a HW raid controller!

    2. Re:I would use (and do use) linux software raid by Anonymous Coward · · Score: 0

      CPUs are pretty fast these days. I wouldn't worry too much about a major speed impact.

      Anyone got any hard data on performance impact due to software RAID5 parity calculation?

    3. Re:I would use (and do use) linux software raid by QuesarVII · · Score: 2, Informative

      Yes, software RAID is great, especially if you like your writes being really slow. :-/
      If you're going to dump hundreds of $$ into hard drives, cough up a bit more for a HW raid controller!


      Says the person who's never done any real benchmarking of these things...

      Unless you buy the right raid card, you'll likely get worse performance from it than you would from software raid. I'm talking the name brands too - LSI, Adaptec, 3Ware. They all suck. Of the 3, 3ware is the best. On a LSI SAS raid controller I recently tested, I only got a 30% I/O speedup going from a single drive to a 6 drive raid 5. That's pathetic! Software raid at least gave me 140% improvement.

      If you really want good numbers, get an Areca controller. They perform very well and have drivers right in the linux kernel (2.6.19+).

      The older RocketRaid cards (Highpoint) performed fairly well, but were not really hardware raid - they were "hardware assisted" raid. Most of the work was really software raid in the driver. As long as you had a fairly fast cpu, you got great numbers. I believe the newer ones are true hardware raid now, but I haven't benchmarked them yet as they only had up to 8 port controllers in PCIe last I checked.

    4. Re:I would use (and do use) linux software raid by nxtw · · Score: 1

      Yes, software RAID is great, especially if you like your writes being really slow. :-/


      The "writes being slow" problem clears up if you have enough bus bandwidth. This means PCI-X or PCI Express.
    5. Re:I would use (and do use) linux software raid by rkcallaghan · · Score: 1
      QuesarVII wrote:

      Says the person who's never done any real benchmarking of these things... Unless you buy the right raid card, you'll likely get worse performance from it than you would from software raid. I'm talking the name brands too - LSI, Adaptec, 3Ware. They all suck. Could you post a couple links to some benchmark results?

      Thanks,
      ~Rebecca
    6. Re:I would use (and do use) linux software raid by networkzombie · · Score: 1

      You need to see benchmark results of RAID hardware vs. software performance? Where am I? Is this Slashdot? Who the fuck in their right mind thinks software is faster than hardware? To get back on topic, good RAID hardware is expensive, RAID software sucks, and hard drives are cheap. My PVR/Media Centre uses large drives for storage with large drives for backup. It is cheaper than RAID, easier to implement, and easier to maintain. Writing a backup script takes a few minutes. A good RAID solution is for mission critical systems that cannot afford downtime. Is your wife going to cut your balls off if your home-brewed tivo is offline for a day? If yes, I suggest a $1,200 RAID 5 solution with DLT and Iron Mountain.

    7. Re:I would use (and do use) linux software raid by TheLink · · Score: 1

      1) Nowadays it's practically all software.
      2) A modern day 2GHz x86 core with Linux software RAID might be a lot faster at RAID than some expensive RAID controller with an el-cheapo 33MHz uP. An extra core+"software" RAID might be cheaper and more reliable than a RAID controller.

      Examples of interesting questions people should be asking is:

      1) How would you be notified if something has failed? It's pretty easy with Linux software raid, not so simple with hardware raid controllers+Linux (you need driver support etc).
      2) How do you get stuff to regularly and automatically scan for "bad sectors"? Better to find them early.
      3) What is the rebuild process like?
      4) What happens if you have "bad sectors" in multiple disks, but not on the same logical block/sector. Some controllers/software can handle that gracefully - you can sometimes have read errors while rebuilding an array. You don't want the entire array to go offline just because the controller is too stupid to figure out the data is still there and good - it's just on different combinations of disks.

      And there are more details like: say you have a RAID1 mirror, and the controller/software detects a read failure from one disk. There are a number of possible things it can do. It could log the error, and then retry the read from another disk, if that is successful, it could even try to write that block to the faulty disk to get the drive to remap that sector elsewhere - and only if that fails it marks the disk as offline.

      --
    8. Re:I would use (and do use) linux software raid by asc99c · · Score: 2, Interesting

      I'm not disagreeing with any point you raise here, but for a media server, this is off-topic. You'll need at most ~20Mb/sec for high bit-rate 1080p videos. Even running multiple streams to different media centers, even the most basic RAID cards have enough performance.

    9. Re:I would use (and do use) linux software raid by aachrisg · · Score: 2, Insightful

      The main operation in raid5 is XOR. The processors on modern computers have 2 cpus, each of which runs at speeds >2ghz, and have instructions which xor 128-bits at a time. They can xor at gigabyte/s ranges. This is far larger than: the actual drive performance (~40mbyte/s) the bus bandwidth available to transfer data from memory to the drives. I have done the benchmarks. The linux software raid speed is pretty much exactly what you would expect - you will run at the slower of the maximum bus bandwidth available or the drive speed. With small arrays, you'll be limited by drive speed. With large ones, you'll top out at poci bus speed if using pci, or drive speed if using something better.

    10. Re:I would use (and do use) linux software raid by rkcallaghan · · Score: 1
      networkzombie wrote:

      Who the fuck in their right mind thinks software is faster than hardware? QuesarVII, apparently.

      ~Rebecca
  10. RAID by Anonymous Coward · · Score: 2, Informative

    If you have 3x500GB disks in RAID5, you only have 1TB of usable space, as one drive is used as parity (and therefore not for effective data storage). If you replace the disks with larger ones, the array is not increased in size if you replace each disk one at a time and let the array rebuild itself. However, you can just plug in your new drives (if you have enough ports), create a new array, and then copy data across to the new array. Alternatively, if you are using software RAID, as you increase the size of the drives, you can create extra partitions on the drives and RAID these. e.g. 3x500GB drives in RAID5, changed to 3x1TB drives, each with 2x500GB partitions = 2x1TB RAID5 arrays. This is not recommended however!!

    Personally, I would just buy a Buffalo TeraStation or Netgear StorageStation and let that do the hard work. Just plug it into your network, then share the data. Just have a single 500GB drive on your media centre for recording TV, and then anything you want to keep just copy over to your NAS box.

  11. It depends by gbaldwin2 · · Score: 2, Informative

    It all depends on how the RAID is implemented. Most inexpensive controllers require a rebuild when you change sizes. It is not a big deal. I would never implement anything important jbod the chance of failure is too large. I have replaced too many disks. Do RAID5 or RAID1. Over 99% of my disk is RAID5 and I manage just over 500TB.

  12. Drobo by Anonymous Coward · · Score: 0

    Buy a Drobo.

    1. Re:Drobo by MightyYar · · Score: 1

      I considered it, but it is only USB2.0... I'd prefer Firewire. Not sure why they left that out on a $500 device.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  13. big disks by Anonymous Coward · · Score: 0

    Just get a couple of these.They're cheap enough that you can use one for live storage and one as a backup.

  14. Is Google broken today? by Talez · · Score: 2, Insightful

    RAID 5 drives are limited to the size of the smallest drive in the array.

    Yes... Duh....

    And the way things are looking, even if I gradually replace all of the drives with larger ones, the array will still read the original size. For example, say I have 3x500gb drives in RAID 5 and over time replace all of them with 1TB drives. Instead of reading one big 3tb drive, it will still read 1.5tb. Is this true?

    Yes... Fucking duh.... Have you even read the RAID 5 Wiki article?

    I also considered using JBOD simply because I can use different size HDDs and have them all appear to be one large one, but there is no redundancy with this, which has me leaning away from it. If y'all were building a system for this purpose, how many drives and what size drives would you use and would you do some form of RAID, or what?

    We've been through this a million times before and the answer is always the same. You're a cheap bastard who wants gobs of space with an acceptable amount of redundancy but aren't willing to buy two sets of drives. Buy 4 of the biggest drives you can afford and RAID 5 them. Don't expect stellar write speeds. You won't have a backup if something happens and all 4 drives blow but you'll at least have protection when one drive gives up the ghost which is mainly what most people want to protect against.

    Why does stupid shit like this keep getting posted to the front page?

    1. Re:Is Google broken today? by glwtta · · Score: 1

      "Instead of reading one big 3tb drive, it will still read 1.5tb. Is this true?"

      Yes... Fucking duh.... Have you even read the RAID 5 Wiki article?


      Well, no, his 3x500GB array will still be 1TB, not 1.5TB - unless there's a new RAID level that magically gives you redundancy without using any space for it. A 3 disk RAID 5 is basically a terrible configuration, no matter what you do with it.

      Seriously though, how hard is it to type "RAID" into Google?

      --
      sic transit gloria mundi
    2. Re:Is Google broken today? by Anonymous Coward · · Score: 0

      For one, you're an abusive twat. Two, you're wrong. Implementing a RAID5 on a RAIDCore 4852, for example, the system allows for online capacity expansion. As long as it was an LVM in Linux or a Dynamic disc under Windows, your new, larger drive will show up. I just did a migration like this by replacing 1 drive at a time, allowing rebuilds in between. Takes a while, but it works.

      The RAIDCore also allows you to just add more discs, and make the array larger that way.

    3. Re:Is Google broken today? by JustASlashDotGuy · · Score: 1

      -------------------



      And the way things are looking, even if I gradually replace all of the drives with larger
      ones, the array will still read the original size. For example, say I have 3x500gb drives in
      RAID 5 and over time replace all of them with 1TB drives. Instead of reading one big 3tb
      drive, it will still read 1.5tb. Is this true?

      Yes... Fucking duh.... Have you even read the RAID 5 Wiki article? [wikipedia.org]

      -------------------

      I wouldn't say "fucking duh" in response to this. Depending on your controller and OS, it is
      possible to expand/extend a RAID5 array to include more drives and take advantage of the
      resulting space. Generally, you expand/extend the array at the controller level (via their
      software) which would add the drives to your new raid set, and then use something like
      diskpart to grow the volume. Windows server 2003 does it instantly, other software may
      require a reboot.

      Have you given any thought to the controller you will be using? Read the specs carefully.

      Also.. what OS would you be running?

      Don't worry about the performance issues with RAID5. For a media center box, RAID5 is more
      than fine. When you initialize the array, just make sure use you use the largest
      cluster/block size available.

    4. Re:Is Google broken today? by Anonymous Coward · · Score: 0

      Actually, Linux dm-raid has the ability to safely grow RAID5 since kernel 2.6.17. You can grow a RAID5 in two ways:
          * replace all the disks (one by one) with larger disks: 3x500GB -> 3x1TB
          * add more disks: 3x500GB -> 5x500GB

      man mdadm
      search for GROW

    5. Re:Is Google broken today? by rts008 · · Score: 1, Informative



      "Why does stupid shit like this keep getting posted to the front page?"

      Usually it's because n00bs are born every day...that is the effect of life going on.

      Remember, you were a n00b at one time. Did you get help from greybeards when you were a n00b? If you did, then back off the unhelpful attitude!

      Elitist wannabe asshats like you are a dime a dozen, and no help to the community at large...either get over your attitude, or crawl back in your hole/mom's basement.

      to use a fscked up analogy...if it were all your way all we would have in our Armed Forces would be Generals and Admirals....there would be no NCO's or privates, Airmaen, or Seamen.

      To use the typical /. car analogy, I suppose you still drive one of these:
      "Running by February, 1893 and ready for road trials by September, 1893 the car built by Charles and Frank Duryea, brothers, was the first gasoline powered car in America. The first run on public roads was made on September 21, 1893 in Springfield, MA. They had purchased a used horse drawn buggy for $70 and installed a 4 HP, single cylinder gasoline engine. The car (buggy) had a friction transmission, spray carburetor and low tension ignition." from:(http://www.ausbcomp.com/~bbott/cars/carhist. htm) and eschew all others.

      Back ontopic...all you had to do is either not post, or suggest he stick with RAID 5,6 or 10, and suggest he google for them to make a decision.

      And yes, I do not apologise for calling you an asshat...if the shoe fits....! (yes, I love mixing metaphors!- so sue me!)

      --
      Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
    6. Re:Is Google broken today? by weighn · · Score: 1

      Why does stupid shit like this keep getting posted to the front page?

      just a guess but I reckon its cos there is an audience who like to see arrogant-know-it-all cun+s like you spill their bile?

      --
      Mongrel News all the news that fits and froths
    7. Re:Is Google broken today? by Talez · · Score: 1

      That's not what the guy is asking though. He's talking about replacing drives not adding extra drives. Unless you start using hacks like logical volumes or partitioning space into smaller chunks initially and striping across partitions you're going to be stuck when you start looking to increasing capacity by upgrading existing drives.

      This guy will be fine with a mobo that does RAID 5 on the chipset. If he was serious then JBOD wouldn't even factor into his reasoning. The only problem is if the mobo goes you'll need to try and get a motherboard with the same chipset to be able to access the RAID.

    8. Re:Is Google broken today? by Talez · · Score: 1

      Yeah... I've had a bad morning... I work in domain names and DNS and I'm just about sick of retards that need to be fed everything with a spoon...

    9. Re:Is Google broken today? by gEvil+(beta) · · Score: 4, Funny

      Seriously though, how hard is it to type "RAID" into Google?

      Not hard at all...

      --
      This guy's the limit!
    10. Re:Is Google broken today? by espressojim · · Score: 2, Interesting

      Xraid does this as well, if you buy an infrant box. I have one for my media center. You can put 1 disk in the box, and it's just an enclosure. 2 disks is mirroring, 3+ disks = raid5. You can upgrade each disk like RAIDCore, and when they are all at the new size, the total raid size is larger.

    11. Re:Is Google broken today? by rs79 · · Score: 1

      "if I gradually replace all of the drives with larger ones, the array will still read the original size."

      Not true if you use the (very excellent) IBM ServeRaid cards - available at an ebay seller near you.

      Plus the configuration utility boots linux to config the array which amuses me no end when installing one in a windoze box.

      --
      Need Mercedes parts ?
    12. Re:Is Google broken today? by rts008 · · Score: 1

      Well, then I'll back off of you some, job burnout is a difficult problem to deal with in any field.

      I've had my moments where I was ready to 'nuke the planet from orbit to be sure' myself.

      I don't know the answer, but hard drugs and vodka only worked long enough for me to end up working in a convience store, so I don't have the answers for sure.

      My apologies for 'breakin bad' on you.

      But try to remember the satisfaction the 'greybeards' get by introducing n00bs to the tech...it gets passed on, and somewhat lessens the "sick of retards that need to be fed everything with a spoon..." effect if the knowledge is freely passed around.(more greybeards will exist to spread the load)

      Or maybe being 'old as dirt' has quenched the flame of youth's ardor...I don't know for sure.

      --
      Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
    13. Re:Is Google broken today? by thrift24 · · Score: 1

      He may actually be able to begin with one size drive in RAID 5 and later be able to expand onto future larger drives. Given, I just had this idea and it could be total BS, but hear me out.

      Now I'm a bit more familiar with LVM2 than with EVMS, but I believe EVMS should be able to do this. With EVMS you can do 2 things that together enable this. The first thing you can do is create a RAID 5 out of Storage Regions which can be available partitions on a disk or even a Logical Volume. The second thing you can do is hot add a Storage Region and expand the RAID 5.

      Given this if you had an original RAID 5 setup that was created from single 500GB partitions on 500GB disks, later you could replace a 500GB disk with a 1TB disk that was split into two 500GB paritions. You could rebuild the array onto the first partition and then expand onto the second partition allowing you to use the full space of the volume.

      I've never tried it though, so I'm not even sure it's 100% possible. Actually...even if it worked you would actually be losing 2 "disks" at once if that physical disk were to fail... so you'd lose a certain amount of redundancy after the resize....

      Still maybe someone will find this interesting so I'll hit Submit anyway.

    14. Re:Is Google broken today? by Anonymous Coward · · Score: 0

      Raid 5 can only lose one disk before the redundancy gone. Using your method, if one drive fails that has 2 volumes that are being used as "disks", your data is gone.

    15. Re:Is Google broken today? by kv9 · · Score: 1

      Why does stupid shit like this keep getting posted to the front page?


      because of Zonk mostly? ok, not this time but still.
    16. Re:Is Google broken today? by redcane · · Score: 1

      You would effectively be running 2 raid 5 stacks (with one partition on each drive for each stack). Then you could use LVM to combine them into one larger volume, with normal raid5 redundancy.

    17. Re:Is Google broken today? by numbski · · Score: 1

      Erm...?

      Why not contribute something useful? As a business, we've had to go through this, and it wasn't much fun. We needed to do scalable storage. The only real answer there is to do some version of LVM.

      So...buy 4 drives, do raid5. If you want to grow the storage, don't buy 1 more drive, but 3-4 more. Do RAID5, add that raid5 to your volume group.

      The answer is that the drives are stored internally, and then we go off on NAS storage and slow writes. I just get tired of posters getting belittled. Experience levels vary wildly around here, and the only way for the less experienced to become educated is either be told or learn first-hand. Come off the soap box.

      --

      Karma: Chameleon (mostly due to the fact that you come and go).

    18. Re:Is Google broken today? by thrift24 · · Score: 1

      I very much agree with you. If you read my post you'll note I did point this out. It's not an ideal solution, but it does allow you to expand the RAID 5 at some future date. The good news is that the newer drive/s are newer and I imagine we could say their chances of dying when new might be less than when old? I think we could still say it would have higher redundancy than starting with a plain old RAID 0.

      Also because EVMS uses UUIDs you can plug the disk into whatever you like physically and later move it onto another bus without disruption. For instance if you did have the original 3 drive 1.5 TB array and wanted to totally replace it with a new 3 drive 3 TB raid but didn't have enough sata/scsi/yourbusofchoice channels, you could do that by getting all new disks, hooking them up via a secondary bus like USB, create a new RAID array on the new bus's disks, move the data from the old RAID to the new, then move the new array's disks to your bus of choice.

      Interestingly, there is also another way to increase the space with EVMS, assuming you could migrate all the data onto a new RAID 5. You could move the data off your original array into an array with larger disks, then add you original RAID 5 as a "disk" into then new array. You could even rebuild your original RAID 5 as a RAID 0 or JBOD and add it into the new RAID 5 array without any redundancy issues. As far as I can tell this would be ideal.

    19. Re:Is Google broken today? by A_Non_Moose · · Score: 1

      Talez (468021):
      Why does stupid shit like this keep getting posted to the front page?


      A_Non_Moose (413034) (/looks at Talez's user# and replies in an overly jovial voice):

      HI!!111oneone You *MUST* be NEW HERE!!!

      Don't worry if you miss an interesting article/discussion, it'll be duped within the week, possibly by
      the same editor too!

      Just remember, help out the n00bs when you can. Avoid some moderator key words like "agree with a previous
      poster" as that seems to equal "redundant" no matter what you add after that.

      "In Soviet Russia", "All your base" and any "Star Wars, Monty Python" phrases are recommended.

      It may seem like "It's a Trap", but clippy jokes never get old.

      Good luck.
      --
      Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
    20. Re:Is Google broken today? by DrVomact · · Score: 1

      Like he said. And furthermore, this very discussion is one of the things that might pop up in response to a google search on the subject, so your unhelpfulness will be there for all to see. In a sense, we're building a community knowledge base with everything we post, here or anywhere else. Well...everything accurate and helpful that we post...

      --
      Great men are almost always bad men--Lord Acton's Corollary
    21. Re:Is Google broken today? by BiOFH · · Score: 2, Insightful

      I don't have any mod points, but "hear, hear!"

      X-RAID and an Infrant ReadyNAS NV+ = gold. These NAS were built by people who actually thought about the home or prosumer's needs and built something that addressed it, instead of "here's what we offer, take it or leave it".
      (However, we should note that Netgear has bought Infrant, so it's the Netgear ReadyNAS now.)

      --
      - I am made of meat.
    22. Re:Is Google broken today? by Anonymous Coward · · Score: 0

      You're a cheap bastard who wants [a redundant array of inexpensive disks]

      There, fixed it for ya.
  15. Get what you need for *NOW* not for later by CPE1704TKS · · Score: 4, Insightful

    This is what you do: buy 2 drives exactly the same size and mirror them. End of story. If you're worried about a blown raid controller, then buy another hard drive and stick that on another computer and run a weekly cron job to copy everything. Right now you can get 500 GB hard drive for about $150. Get two of them and mirror them. (If you need more than 500 GB I would highly suggest encoding your porn into a different format than MPEG2) By the time you run out of space, you will be able to get 1 TB drives for about $150. Migrate over to the 2 1 TB hard drives. Repeat every few years.

    With computers, the stupidest thing you can do is spend extra money to prepare for your needs for tomorrow. Buy for what you need now, and by the time you outgrow it, things will be cheaper, faster and larger.

    By the way RAID 5 is a pain in the ass unless you have physical hotswap capability, which I highly doubt.

    1. Re:Get what you need for *NOW* not for later by QuesarVII · · Score: 4, Interesting

      By the way RAID 5 is a pain in the ass unless you have physical hotswap capability, which I highly doubt.

      With recent kernels, you can hotswap drives on nvidia sata controllers (common onboard). I believe several other chipsets had support for this added in recent kernels too. Then you can swap drives live and rebuild as needed.

      One more important note - if you're using more than about 8 drives (I personally recommend 6), I would use raid 6 instead of 5. You often get read errors from one of your "good" drives during a rebuild after a single drive failure. Having a 2nd parity drive (that's what raid 6 gives you) solves this problem.

    2. Re:Get what you need for *NOW* not for later by Grishnakh · · Score: 2, Insightful

      (If you need more than 500 GB I would highly suggest encoding your porn into a different format than MPEG2)

      500 GB isn't that much space any more. If he's thinking of making an HDTV MythTV box, for instance, full-res HDTV streams will require a lot of space to store in real-time. It would probably be too computationally intensive to recode them into MPEG4 on the fly.

    3. Re:Get what you need for *NOW* not for later by vinn · · Score: 2, Informative

      Yup. People overdesigning their drive systems are likely first time sys admins. There's a time and a place for complicated drive mechanisms and your porn collection is not one of them. I'd just do software RAID 1 with a possible backup to an external USB hard drive. NAS devices are cheap and interesting too.

      --
      ----- obSig
    4. Re:Get what you need for *NOW* not for later by blitziod · · Score: 1

      right now you can get 500gb HD's for 99.99 see www.tigerdirect.com

      --
      The only way to bust a doper--is when you yourself become a smoker!
    5. Re:Get what you need for *NOW* not for later by dotgain · · Score: 1

      640GB ought to be enough for anybody.

    6. Re:Get what you need for *NOW* not for later by ShooterNeo · · Score: 1

      Uhh..I only have "media files" (mostly video and game images) and I've already gobbled up 400 gigs in about 6 weeks. Some of it is downloaded, some from disks that I own, and some recorded from OTA.

      Yes, I could burn my games to dvds...but I have found that this is a total PITA and not worth it. It's only slightly more expensive these days to just buy more hard drives.

      A high definition movie is 20 gigabytes alone, and also a PITA to go hunt for the disk. It's a lot easier to store a decrypted image. Reencoding is totally impractical : not only would it probably take dozens of hours on my 3.2 ghz core2duo system, but there is always some small quality loss. It would be stupid to reencode a high def movie when the entire point is to have quality dramatically better than a dvd.

    7. Re:Get what you need for *NOW* not for later by Anonymous Coward · · Score: 0

      "(If you need more than 500 GB I would highly suggest encoding your porn into a different format than MPEG2)"

      Oh buddy, do you know how dated that already is?

      Heres a fun filled infobit for you jimmy. I have 2.4tb total about 1.4 real data duplicated or tripplicated. Your simplistic solutions, even with scaling, do not take into account what a POWER user does. 500gb. lol... 1999 called, it wants its realistic portrail of average disk usage back.

    8. Re:Get what you need for *NOW* not for later by Guru2Newbie · · Score: 1
      I mirror with rsync.
      My KnoppMyth/MythTV setup is a 80Gb boot drive (hda), and two 320Gb data drives (hdb, hdd); the CD-ROM is hdc (c for CD).

      hdd has the live recordings (on different controller than the OS/boot disk).
      hdb is refreshed each morning with a cron script, when the backend isn't recording anything.
      hda is periodically backed up to an external USB drive, as well as to hdb (b for backup).

      jca@bunny:~$ df -h
      Filesystem Size Used Avail Use% Mounted on
      /dev/hda1 74G 2.0G 68G 3% / <--BOOT
      /dev/hdb1 294G 107G 173G 39% /mnt/backups
      /dev/hdd1 294G 130G 164G 45% /myth
      The MySQL database of recordings is on hdd, so hda can crash and be restored to a new drive from external backup. If hdd crashes, I'll only lose one day of recordings (which may automatically reschedule). If hdb crashes, who cares? Just replace it at my leisure then re-partition.

      Here's the cron entry

      # run "mirror" backup on an early Non-Sunday morning when nothing's scheduled.
      0 5 * * 1-6 /myth/rsync-hdd1-to-hdb1
      # run "mirror" backup on early Sunday morning when nothing's scheduled.
      0 4 * * 7 /myth/rsync-hdd1-to-hdb1
      the script

      #!/bin/bash
      # script to copy files from /myth dirs on hdd1 to backup on hdb1
      #
      # First, let's see the contents of this actual script.
      echo "====== SCRIPT $0 CONTENTS BEGINS ======" ; cat $0 ; echo "====== SCRIPT $0 CONTENTS ENDS ======"
      echo -n "The $0 script is beginning on " ; date
      nice rsync -avr --exclude-from=/myth/rsync-excludes --one-file-system --delete --delete-excluded --force --timeout=60 --progress /myth/ /mnt/backups/myth
      date ; echo rsync is done.
      echo -n "The $0 script has completed at " ; date
      The cat $0 documents the script for future reference, handy when run manually using "script somefile" to capture the script run;
      the --progress is nice, but takes space--if the job's stored by cron in e-mail, I'd remove it.

      In summary, I have backup plus availability, but no RAID hassles.

    9. Re:Get what you need for *NOW* not for later by raw-sewage · · Score: 1

      With computers, the stupidest thing you can do is spend extra money to prepare for your needs for tomorrow. Buy for what you need now, and by the time you outgrow it, things will be cheaper, faster and larger.

      Generally true, but the case is a possible exception to that rule. If you're planning to have five drives today (four for RAID and one for system), and foresee adding another four-drive RAID, might as well get a case today that supports nine or more drives. At the same time, I have seen a fairly impressive amount of case innovation recently... the argument goes both ways I suppose!

    10. Re:Get what you need for *NOW* not for later by toddestan · · Score: 1

      Then I would probably use RAID0. I don't get using RAID in a MythTV box - it's not like there is anything important stored on there, just TV shows.

    11. Re:Get what you need for *NOW* not for later by Wolfrider · · Score: 1

      I bet, without even looking, that there's a Rebate involved. // Doesn't even bother with rebates unless the selling-company wants to do the overhead-work for me

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    12. Re:Get what you need for *NOW* not for later by Grishnakh · · Score: 1

      Um, I didn't advocate using any RAID in a MythTV box (though if you want to know, I agree that RAID0 is a good choice because of performance, though I would probably put the OS on a small RAID5 volume). The parent poster said basically "500GB should be enough for anybody", and I pointed out why that's not true. RAID was not a factor in this discussion.

      Did you mean to reply to someone else?

    13. Re:Get what you need for *NOW* not for later by steve86-ed · · Score: 1

      With 3 free 5.25' bays, you can use an Enlight EN 8721 to get 5 hot-swappable SCSI or SATA bays. Not terribly off topic, cause when discussing RAID or multidisk setups, I can't help but think of my frind's home setup running 5 250g HDDs in RAID 5. His setup hasn't really been challenged right yet though, 1 year since setup and none of the drives have failed yet... next time I'm there, I should just pull one while no one's looking and see what happens.

    14. Re:Get what you need for *NOW* not for later by canuck57 · · Score: 1

      One more important note - if you're using more than about 8 drives (I personally recommend 6), I would use raid 6 instead of 5. You often get read errors from one of your "good" drives during a rebuild after a single drive failure. Having a 2nd parity drive (that's what raid 6 gives you) solves this problem.

      So for 2 drives savings, say 6 instead of 8 you would RAID 5 when you could RAID 0+1? Heck, if you need 2TB of storage or protected storage, the $240 isn't much for the performance and reliability of RAID 0+1 over RAID 5. It is even more simple and less to go wrong. Even if one RAID 0+1 drive craps, RAID 0+1 will outperform a 100% working RAID 5. If a RAID 5 drive craps, it crawls compared to RAID 0+1 with 2 non-opposing drive failures. RAID 0+1 is undersold.

      Mind you, above equation changes if you are using that expensive E?? disk and micro managing.

      But if you are into massive quantities of disk, and you can live with RAID 5's performance hit under a one disk failure mode and rebuild, RAID 50 makes the impact much less. Once did this, worked well. RAID 5 in groups of 5. Striped 8 groups of 5... 40 disk in all. It was nice to watch the lights dance in unison and swap a bad drive and no one noticed.

  16. Wait a sec... by GFree · · Score: 3, Funny

    Out of all the details you're still working on, you decided to ask Slashdotters about storage?

    Why not the "windows XP vs. Linux" bit? Do you want 100 responses or 1000?

    1. Re:Wait a sec... by Anonymous Coward · · Score: 1, Funny

      I want 7,000,000

    2. Re:Wait a sec... by bigstrat2003 · · Score: 1

      Because anyone who has ever read Slashdot for a non-insignificant amount of time knows what response they'd get from the Slashdot crowd.

      --
      "16MB (fuck off, MiB fascists)" - The Mighty Buzzard
  17. Media Server? by foooo · · Score: 4, Funny

    Media Server: n. A euphamism for digital porn storage.

    1. Re:Media Server? by ScrewMaster · · Score: 4, Funny

      Media Server: n. A euphamism for digital porn storage.

      Only if you make all your network file shares pubic.

      --
      The higher the technology, the sharper that two-edged sword.
    2. Re:Media Server? by rob_squared · · Score: 1

      Heh, why not both?

      I'm crafty enough to have a nice media server and keep all the stuff I don't want friends/family to see on separate password-protected and user sensitive folders.

      --
      I don't get it.
    3. Re:Media Server? by Anonymous Coward · · Score: 0

      Is that you; Robert E. Jobin of 4193 Everett Drive, Wheat Ridge, Colorado? Maybe you should design a new win xp logon screen to apoligise to your "friends/family" for holding out on them, porn-wise, for so long. Though I'm fairly sure you live alone.

    4. Re:Media Server? by StarfishOne · · Score: 1

      Only if you make all your network file shares pubic.

      Congratulations! You win the accidental pun of the day award. :)

    5. Re:Media Server? by Anonymous Coward · · Score: 0

      Hahaha

  18. Linux, raid5, LVM on top, can use extra capacity by Spirilis · · Score: 4, Informative

    With Linux you can create a RAID5 md device, say /dev/md0, then run LVM on top of that (pvcreate /dev/md0 ; vgcreate MyVgName /dev/md0) and use that to carve out your storage. The key here is to create partitions on each drive, eg filling up the entire disk, and create your raid5 with those.

    If you buy 1TB drives further down the road, here's what you do- With each disk, create a partition identical in size to the partitions on the smaller disks, then allocate the rest of the space to a second partition.
    Join the first partition of the disk to the existing RAID set. Let it rebuild. Swap the next drive, etc. etc. Then once you've done this switcharoo to all the drives, create another raid set using the 2nd partition on your new disks--call it /dev/md1. So now you have /dev/md0, pointing to the first 500GB of each disk, and /dev/md1, pointing to the 2nd 500GB of each disk.

    Take that /dev/md1 and graft it onto your LVM volume group. (pvcreate /dev/md1 ; vgextend MyVgName /dev/md1). Now your LVM VG just doubled in size, and you can use all that new space. Whatever you do though, do NOT create any "striped" logical volumes (the "-i2" option to lvcreate; LVM's Poor Man's RAID0, basically) because you will suffer terrible performance, since you'll be striping across different volumes on the same physical spindles (a big no-no for any striped configuration). But if you use the extra space by creating new filesystems or growing existing ones, you shouldn't see any trouble.

    Just be sure that any replacement drives you have to buy... you must partition them out similarly. I'd recommend pulling back on the partition sizes a bit, maybe 5%, to account for any size differences between the drives you bought right now and some replacement drives you may purchase later on which might be slightly lower in capacity (different drive manufacturers often have differing exact capacities).

    --
    the real at&t mix
  19. depends on the raid implementation (and level?) by KStieers · · Score: 2, Informative

    It depends on the implementation (and possibly the raid level). Some raid cards will let you expand the container after you've replaced all of the drives with new ones of a larger size. Then you have to expand the partition, or put another partition into the new space. I've done this with Compaq hardware running Win2k in a RAID 1 (mirrored pair).

    The "Raid 5 can't do what I heard" isn't quite what's going on, again, depending on the implementation. Most raid cards I've used allow you to add drives to the array and expand the array to the new drive(s) without downing the server or requiring a rebuild.

    So RTFM for the card you're going to use.

  20. Linux, RAID 5, md by Pandaemonium · · Score: 5, Informative

    Go RAID5. RAID5 = Hardware failure resilience + maximum storage.
    Go Linux. The Linux MD driver allows you to control how you RAID- over disks or partitions. there are advantages. We will discuss.

    First, don't get suckered into a hardware RAID card. They are *NOT* really a hardware card- they rely on a software driver to do calculations on your CPU for RAID5 ops. Software RAID is JUST AS FAST. Unless you blow the big bucks for a card with a real dedicated ASIC to do the work, you're fooling yourself.

    Now, you want to go Linux. By using the md driver, you can stripe over PARTITIONS, and not the whole disk. By doing this, you can get MAXIMUM storage capacity out of your disks, even in upgrades.

    Say you have 3 500GB disks. You create a 1TB array, with 1 disk as parity. On each of these disks is a single partition, each the size of the drive. Now, you want to upgrade? SURE! Add 3 more disks. Create three partitions of EQUAL size to the original, and tack it on to the first array. Then, with the additional space, you can create a WHOLE NEW array, and now you have two seperate RAID5's, each redundant, each fully using your space.

    Another advantage with MD is flexibility. In my setup, I use 5x 250 drives right now. On each is a 245GB partition, and a 5GB partition. I use RAID1 over the 5's, and RAID5 over the rest. Why? Because each drive is now independently bootable! Plus, I can run the array off two disks, upgrade the file system on the other 3, and if there's a problem, I can always revert to the original file system. So much flexibility, it's not even funny.

    I recommend using plain old SATA, in conjunction with SATA drives, and just stick with the MD device. For increased performance, watch your motherboard selection. You could grab a server oriented board, with dedicated PCI buses for slots, and split the drives over the cards. Or, you can get a multiproc rig going, and assign processor affinity to the IRQ's- one card calls proc 1 for interrupts, the other card calls proc 0. If you have multiple buses, then performance is maximized.

    The last benefit? Portability. If your hardware suffers a failure, then your software RAID can move to any other system. Using ANY hardware RAID setup will require you to use the EXACT same card no matter what to recover data. Even the firmware will have to stay stable or else your data can be kissed goodbye.

    Windows? Forget about it.

    Good luck!

    1. Re:Linux, RAID 5, md by tjstork · · Score: 1

      This is REALLY cool. Can you steer a poor man over to a FAQ on setting up such an MD device?

      --
      This is my sig.
    2. Re:Linux, RAID 5, md by Pandaemonium · · Score: 4, Informative

      It'll take some reading and combining from multiple sources. I've been doing it for a few years, combined with a handful of upgrades, plus setting it up as an iSCSI backend- all of that lent to the pool of greyness in my head.

      I recommend Gentoo to do this with. Other distro's dont include the latest mdadmtools required to manage and migrate RAID5 md devices. Ubuntu is catching up, I believe.

      Here are some places to start:

      http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Sof tware_RAID
      http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2- quickinstall.xml
      http://linas.org/linux/Software-RAID/Software-RAID .html
      http://linas.org/linux/raid.html
      http://evms.sourceforge.net/
      http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html

    3. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 1, Informative

      If I recall correctly, Ubuntu alternate install CD allows you to set up a raid during install, LVM or md.

    4. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      OpenSolaris and ZFS owns this market. Until linus and alan cox stop being dickheads and allow ZFS support, linux is a second class OS. Heck, FreeBSD and OS X support ZFS. What's the penguin afraid of?

    5. Re:Linux, RAID 5, md by ptbarnett · · Score: 3, Interesting
      I did exactly this for a new server recently. The only thing I would add is to use RAID 6 instead of RAID 5. That way, you can tolerate 2 drive failures, giving you time to reconstruct the array after the first one fails.

      I have 6 320 GB disks. The /boot partition is RAID 1, mirrored across all 6 (yes, 6) devices, and grub is configured so that I can boot from any one of them. The rest of the partitions are RAID 6, with identical allocations on each disk.

      There's a RAID HOWTO for Linux: it tells you everything you need to know about setting it up.

    6. Re:Linux, RAID 5, md by Pandaemonium · · Score: 1

      Some more info:

      Hardware RAID cards, including expensive ASIC-based cards: Don't do it. Unless you think you're actually going to be serving up a database, you only have to think about yourself. Fortunately, you will not be writing to the array as much as you will be READING. This means that you can take the CPU hit, especially if you will have a dedicated server, on the parity calculations during writes. RAID5 reads are JUST AS FAST as RAID0, if not slightly slower.

      RAID6: It's nice, but it takes an additional disk away for storage. This is your home server. If you have one drive fail, down the thing until the replacement comes back. You can live without your porn, right? Well, if not, then go RAID6.

    7. Re:Linux, RAID 5, md by PenGun · · Score: 1

      I need to capture HD SDI at about 180MB/sec. Solid no screw ups. I was thinking a honking RAM disk and a RAID5 array of perhaps 6 500G drives.

    8. Re:Linux, RAID 5, md by Rich0 · · Score: 1

      A few other comments. I'm running md on linux and love it. Not much of a performance hit, and you get much better use of your drives compared to mirroring.

      Also - if you have odd-sized drives just chop them into even partitions. Then stripe multiple RAID1/5s across the partitions and then put all the RAIDs into an lvm2 volume group so that their space is merged.

      If you add more drives, you could create more RAIDs and use lvm2 to merge the space. Or, you could grow the existing RAID - linux supports this, in theory even if the RAID is active. Not sure how safe it is though. Probably OK, but like anything...

      I've read bad things about true hardware RAID (with the $1000 cards) - if the card dies you can be really up the creek as the drives probably won't work with anything but an identical card. You're also much more limited compared to the capabilities of linux software RAID...

    9. Re:Linux, RAID 5, md by Jeff+DeMaagd · · Score: 1

      The currently shipping version of OS X doesn't support ZFS. The developer version of Leopard doesn't really support ZFS very well yet, you can't boot from it and the Disk Utility just crashes, last I heard. Leopard won't ship until October.

    10. Re:Linux, RAID 5, md by dkuntz · · Score: 1

      I agree... HW RAID controlers, unless you get high end ones, are have no real performance gain. While some do have a cpu on them to offload some of the work, they generally are really underpowered, and you'll get more performance out of a modern CPU (and how many of us REALLY use 100% cpu constantly?).

      Now, for work, we have some systems with good RAID cards, but they are doing database stuff, and hosting hundreds of websites (though I have them set to be 2 8drive RAID0 arrays, 1 for data, one as a backup partition). And the cards cost about 700 each, so definitely not made for home use, unless you really have tons of disposable cash.

      There was a FAQ published years ago, about FreeBSD, on using vinum, and showing that Software RAID tended to be faster than HW RAID on all but the really expensive controlers. Same is true now, only more so.

      The only good thing about some HW RAID controlers is that most OSs will see the built array as a single drive. The cheap cards, however, wont be shown that way in Linux (ie: the SiI 3112/3114 series.. even if you make a striped array, it'll show both drives in Linux)

      --
      OMG... I have a sig?
    11. Re:Linux, RAID 5, md by cdn2k1 · · Score: 1

      Software RAID just as fast? Please. Next you're going to tell me a software firewall is just as good as a hardware firewall, right?

      Both have their applications, but let's be honest - It makes a hell of a lot of sense to add a layer of abstraction between your operating system and your disk storage. Leave the details of arranging all your 0's and 1's, stripe sizes, etc. to your RAID controller, while your operating system sees only what it needs to - a simple logical drive. (AKA virtual disk, logical volume, etc., depending on the vendor.) Add a battery to your RAID controller, and you aren't relying on your OS to keep the logical disk intact should your system be shut down uncleanly.

      There is a cost-benefit curve that comes into play here also. But as a previous poster mentioned, the most cost-effective way of getting the most storage for the cheapest price is to get two cheap 500GB drives attached to a hardware RAID card, and you've covered the most likely failure scenarios. Total cost is less than $1000.

      There's no need to get fancy here - I cant help laugh when I hear horror stories from my "hardcore" computer gaming friends who have highly tedious and unnecessary media setups - RAID-10 with hot spares, 5 fans to manage all the heat, and the bi-monthly critical meltdowns associated with it - all to store movies and porn. Overkill? You tell me.

    12. Re:Linux, RAID 5, md by Etherized · · Score: 1

      ZFS is licensed under the CDDL, and hence cannot (legally) be integrated into the Linux kernel. It's possible to get ZFS running on Linux systems *right now* using FUSE, but unless/until Sun's licensing terms change (note - they may) what you ask for is not possible.

      As other posters have mentioned, LVM + MD is a fairly good solution. It's clearly not as easy to work with as ZFS, but it's adequate for most needs and is extensively documented.

    13. Re:Linux, RAID 5, md by bored_engineer · · Score: 1

      I used to use gentoo for everything; it's sweet inasmuch as you can do anything with the time. The problem with Gentoo is that it has a HUGE up-front time investment to learn. I'm too old and have too many kids now to keep making that investment. There are good alternatives here and here if you want something easier to use with good management tools. If you want a little bit more, look at smeserver. I seem to recall that there are one or two more like smeserver, but I'm too lazy to look.

      Good luck.

    14. Re:Linux, RAID 5, md by glitch23 · · Score: 0

      The last benefit? Portability. If your hardware suffers a failure, then your software RAID can move to any other system. Using ANY hardware RAID setup will require you to use the EXACT same card no matter what to recover data. Even the firmware will have to stay stable or else your data can be kissed goodbye.

      The Promise controller I bought allows another card to be used in place of it to continue using the hard drives that were attached to original card. The documentation just states that the RAID configuration data on the drives needs deleted so the real data can be reused by another RAID controller. Whether it's that easy and whether that is normal practice I don't know. That's just what the docs say. Comment as you will.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    15. Re:Linux, RAID 5, md by Pandaemonium · · Score: 3, Informative

      Software RAID just as fast? Please. Next you're going to tell me a software firewall is just as good as a hardware firewall, right?


      What's rather humorous about this statement is that ultimately, all firewalls are implemented in software. What is firmware, again?

      There are three different implementations of RAID on PC class hardware- software RAID, fake-hardware RAID, and hardware RAID.
      When I said that software is just as fast, I'm comparing it to fake RAID cards, cost under ~$200 US. These cards rely on drivers to get their work done, and rely on the CPU just as much as software RAID. The only benefit they bring to the table is the ability to have the RAID exist in a pre-OS environment- you can boot off the RAID no matter what OS.

      Ultimately, the disadvantages (extra cost, no speed increase, buggy drivers, et al.), do not weigh out over the advantages (dedicated BIOS).

      Both have their applications, but let's be honest - It makes a hell of a lot of sense to add a layer of abstraction between your operating system and your disk storage. Leave the details of arranging all your 0's and 1's, stripe sizes, etc. to your RAID controller, while your operating system sees only what it needs to - a simple logical drive. (AKA virtual disk, logical volume, etc., depending on the vendor.) Add a battery to your RAID controller, and you aren't relying on your OS to keep the logical disk intact should your system be shut down uncleanly.


      The latest versions of software RAID support a snapshotting feature which makes it impossible for the array to become out-of-sync. Batteries are only required when you are caching information from the disk onto the controller for performance reasons. At this point, you're talking about a REAL hardware RAID card, which is most likely doing parity calculations on a dedicated processor. Cost is now over $200 for a *GOOD* 4-port card.

      There is a cost-benefit curve that comes into play here also. But as a previous poster mentioned, the most cost-effective way of getting the most storage for the cheapest price is to get two cheap 500GB drives attached to a hardware RAID card, and you've covered the most likely failure scenarios. Total cost is less than $1000.


      I bought an xSeries IBM chassis (two, infact), hacked out the SCSI backplane, and added 5 250GB drives and 2 SATA controllers. Total cost: $800. I still have room for 5 more drives. I also have two processors and 3GB of RAM. Cost-effective? You betcha. Hardware RAID? Nope. And, it's designed to handle the heat.

      There's no need to get fancy here - I cant help laugh when I hear horror stories from my "hardcore" computer gaming friends who have highly tedious and unnecessary media setups - RAID-10 with hot spares, 5 fans to manage all the heat, and the bi-monthly critical meltdowns associated with it - all to store movies and porn. Overkill? You tell me.


      Sounds like they may not have thought through their implementation. Cost-effective means maximizing space, maximizing life, and maximizing versatility. Cost isn't just initial outlay- it's the life of the implementation. I'll take my 4TB array for $1700US over anything custom. Did I mention that my quad-Xeon 700MHZ can stream 1080p?

      Sure, it's expensive in electricity. But over the life of the server, I'll get more use out of it than just storage. I'll have excess processor capacity when writes are not occuring. And I have a vendor independent implementation that can be moved to any system, any time, for any purpose, including data recovery. Using fake RAID or hardware RAID will just encumber that, and add unnecessary cost.
    16. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      "Software RAID is JUST AS FAST" - by Pandaemonium (70120) on Monday June 04, @08:35PM (#19389757)

      Depends on the operation involved!

      Software RAID uses more CPU time, by far, vs. hardware. Especially vs. the types of boards you mentioned: High end controllers with onboard I/O "brains" & onboard cache RAM.

      My personal feelings/experience on it are this (feel free to correct me if you wish, I can stand correction & debate as much as the next guy, as you may point out things I am not aware of):

      You are best off buying a higher end RAID board in SATA 2 (cheaper usually) or ScSi (if you have the coins, & preferably Adaptec, as they are generally SUPER compatible with most anything out there) with a dedicated onboard "brain" on it implemented in hardware (and if possible, one that comes with onboard cache memory also).

      You must admit, though the Linux methods & abilities you extoll are flexible, that software level RAID is a poor substitute for GOOD hardware (and you do usually get what you pay for in things computing).

      E.G. -> I use one from Promise (Ex8350 - 128mb ECC Cache RAM onboard & Intel I/O cpu onboard), running a RAID 6 using WD "Raptor X" 150gb units, 16mb cache, 10,000rpm. I get the best of RAID 0 in speed, and data mirroring from RAID 1.

      AND, Yes, it cost me a pretty penny! HOWEVER: it cost far less than high-end Adaptec Ultra-ScSi units would between their caching controllers (huge amounts of memory possible on them though, the types you see in "industrial environs" (db servers for large companies))!

      Plus, you have an added expense in having to purchase UltraScSi 10-15k rpm disks also, preferably 15k types, they are faster.

      See, I used to be a HUGE fan of SCSI, when it WAS faster than IDE (circa 1996-2001 or so & using Adaptec higher end workstation controllers (I/O brains on them, but no cache ram))!

      Then along came SATA, which is BETTER OPTIMIZED for an end-user workstation @ least, vs. server class systems use patterns (multiuser request types)

      SATA has come a ways in this regard as well, offering features like TCQ & NCQ, for multiuser scenarios like servers, but still falls short of "state-of-the-art" SCSI in multiuser scenarios, even now.

      Imo? Using SATA 2 drives (or even SATA 1 units like WD raptors, which offer FAST SEEK TIMES) You get the best 'bang for the buck' here, especially if you have NO server type requirements.

      Anyways - There are better ones for SATA supposedly, than the one I use, noted above.

      One by Areca is supposed to be "better", but like so many things? It depends on what you want, and your use patterns on disk!

      (See, as far as read speeds, Areca's unit is supposed to be better than the Promise unit I currently own & use... however, but for the reverse (in writes), it seems the promise unit is the better performer from what I hear in comparisons of the two)

      Personally - I am most concerned with writespeeds, as work I do is VERY disk-oriented (MIS coding using Delphi-Access-VB6-VB.NET-ASP.NET/DB work (SQLServer mostly, sometimes Oracle (never DB2 for the PC @ least though, to date, & when its been DB2, it has resided on an IBM midrange of various kinds).

      "Windows? Forget about it." - by Pandaemonium (70120) on Monday June 04, @08:35PM (#19389757)

      Windows server-class version of NT-based OS' do offer RAID by the way, so you know. And, driver level affinity is possible in them as well, using a program called intfilter.sys by MS, but I am not sure if this exists for current models of Windows NT-based OS' or not. It did for NT 4.0 iirc.

      APK

      P.S.=> Nice point about software raid being able to run on ANY system, as long as you have the OS in question though... I have to give it that, over hardware raid (which you are correct on in that if you wish to recover it? You WILL need the exact controller, or oem @ least, in your next controller if you blew the last one)... apk

    17. Re:Linux, RAID 5, md by frostband · · Score: 1

      I have an Areca Arc-1210 card that can do RAID 5 with 4 disks. If one disk fails, am I able to keep working with the other 3 disks while rebuilding the 4th with a new drive. In other words, even if I didn't replace the 4th drive and simple took it out of the computer/array, the OS and everything would still be functioning--though it's recommended to replace the drive asap. So if I were to do RAID 6 (I'd have to use the 8 drive controller, arc-1220) then I could have two drives fail and the RAID array would still be working.

    18. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 1, Insightful

      Software RAID just as fast? Please. Next you're going to tell me a software firewall is just as good as a hardware firewall, right? Are you aware that a CHEAP Linux server using only mid-range off-the-shelf consumer hardware can leave a lot of hardware appliances for dead when it comes to performance (and even reliability)?

      Benchmarks of hardware vs software RAID (results: mostly software > hardware raid):
      http://www.chemistry.wustl.edu/~gelb/castle_raid.h tml
      http://milek.blogspot.com/2006/08/hw-raid-vs-zfs-s oftware-raid.html
      http://milek.blogspot.com/2006/08/hw-raid-vs-zfs-s oftware-raid-part-ii.html
      http://milek.blogspot.com/2007/04/hw-raid-vs-zfs-s oftware-raid-part-iii.html
      http://stoilis.blogspot.com/2005/09/linux-software -raid-vs-promise-raid.html

      Benchmarks/info of Linux IP Routing (more than capable of gigabit routing):
      http://hardware.slashdot.org/article.pl?sid=06/09/ 25/1744218
      http://freedomhec.pbwiki.com/f/linux_ip_routers.pd f
      http://docs.rodecker.nl/10-GE_Routing_on_Linux.pdf

      Of course a Linux machine isn't going to be all that much help to you if are doing supercomputing work with 10 gigabit routing (but as we start seeing more dual quad core machines with 4 PCI Express x16 slots, this is bound to change).

      So if you're not working with high-end ("giga" prefix) storage/networking for large systems, you're wasting your money on hardware appliances. Cheap hardware firewalls are a scaled down PC in a fancy box. Cheap RAID cards don't have their own ASIC offload engines. Cheap hardware routers are a joke compared to Linux PC routers.

      Unless it is a 10 gigabit router with everyone done in specially designed high performance ASIC chips, you will see better performance on a PC than in a hardware appliance. The same for hardware raid where we're mostly only talking about 5 gigabit read/write speeds to/from the array.
    19. Re:Linux, RAID 5, md by SanityInAnarchy · · Score: 1

      Software RAID uses more CPU time, by far, vs. hardware.

      It's not significantly more.

      Yes, it's more, but it's kind of like disk compression -- a filesystem running lzo compression, and doing it properly, will likely be FASTER than the same filesystem without compression, because even with all that CPU, it's still disk-bound.

      And on a personal server, anything that's disk-bound is fast enough.

      You must admit, though the Linux methods & abilities you extoll are flexible, that software level RAID is a poor substitute for GOOD hardware (and you do usually get what you pay for in things computing).

      I'd have to see benchmarks. But remember, it's a performance/price ratio...

      AND, Yes, it cost me a pretty penny! HOWEVER: it cost far less than high-end Adaptec Ultra-ScSi units would between their caching controllers (huge amounts of memory possible on them though, the types you see in "industrial environs" (db servers for large companies))!

      Great. Did it cost you more than an upgrade to a dual-core CPU? Or a whole separate processor? Or the difference between a single-core and dual-core, or between 32-bit and 64-bit?

      Or what about a whole separate computer? Just have a dedicated fileserver with enough CPU to handle the RAID, and connect to it over gigabit?

      I would say that, if you now have a lot of spare CPU cycles, you've wasted your money. I could be entirely wrong -- maybe you have done the benchmarks, and maybe you do have the kind of insane load it would take, but most of the time, hardware RAID is a waste.

      --
      Don't thank God, thank a doctor!
    20. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      Buying a true hardware sata raid controller is big $$$. Save the money and buy drives with it and go the MD route! With a MythTV box I found I/O bandwidth was my biggest issue. Go Raid 5 if you want storage, go Raid 1+0 and double the bandwidth with reliability. Pricing out drives you can get 2x320gb for 1x500gb.

      When buying/building a sata based array, don't think of future proofing it. If a drive fails in a few years good luck finding matched replacement drives!

    21. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      "It's not significantly more." - by SanityInAnarchy (655584) on Tuesday June 05, @01:35AM (#19392311)

      Well, my system showed 0% cpu usage on HDTach 3.x, here (vs. others that used std. SATA & IDE disks, that tore up CPU @ levels ranging from 3% - 11%... if viewed in terms of percentages on that account, cpu usage? I have many orders of magnitude over them):

      http://forums.techpowerup.com/showthread.php?s=518 74ee73e9a212bfbabbaba41cf36e3&t=26630&highlight=Ta ch

      (Alectaar is who I posted as there, & at the time, I was using a RAID 0 setup (as it took me time to buy more of these WD Raptor X disks for RAID 6 which I run now))

      Search this on that page to help you find the overall chart there, faster:

      (CPU USAGE DATA) "HDTACH 3 SCORE CHART" complete list 09-11-2006

      See for yourself there.

      Again - If CPU usage savings is viewed in terms of percentages? I actually DO save many orders of magnitude over others chewing up 3% - 11% of their CPU's there, per that test's results.

      I post it for YOUR reference, & those of others! Especially since you asked for benchmarks data.

      "Yes, it's more, but it's kind of like disk compression -- a filesystem running lzo compression, and doing it properly, will likely be FASTER than the same filesystem without compression, because even with all that CPU, it's still disk-bound." - by SanityInAnarchy (655584) on Tuesday June 05, @01:35AM (#19392311)

      Oh, that is possible, I have seen it using NTFS compression: Filesizes on disk are smaller, & if defragged well? The compression/decompression process is SO fast on today's CPU's, that 'lag' is offset by the tinier filesize (especially on HIGHLY compressable data types, not .exe's (I leave these uncompressed usually) but data I crunch is like .txt for instance & other documents + highly compressible things in general - for just the reasons you hit upon!)

      Thus, you may actually be better off running compressed disks, with tinier files to read UP from disk (this is not good for WRITES though, bear that in mind, compression does make you take a HIT there though).

      "I'd have to see benchmarks. But remember, it's a performance/price ratio..." - - by SanityInAnarchy (655584) on Tuesday June 05, @01:35AM (#19392311)

      Well, you have a GOOD set up there, comparing my SATA 1 diskset (I have additional SamSung SATA 2 stuff now ontop of the RAID 6 array, but they are for storage here mostly), to others using perpendicular recording disks (great for reads)...

      My setup knocked them out for CPU usage, bigtime, because of the Intel I/O cpu on the caching PROMISE Ex8350 controller I use, & did really well (I was surprised, even against other categories of disk like SATA 2) on reads too.

      READS (avg. & burst) I came in midpack - perpendicular recording technology drives on SATA 2 absolutely ROCK on reads. Even my 128mb ECC RAM caching controller running WD "Raptor X" SATA 1, 10k rpm drives (with 16mb buffers onboard the diskdrives in RAID 0 even) can't beat them in THAT capacity.

      PRT is superior stuff, & newer, basically & better (for reads)!

      Writes, I KNOW this setup would take them too, but iirc, we did not test writes though. This controller EXCELS @ reads!

      APK

    22. Re:Linux, RAID 5, md by jhol13 · · Score: 1

      I plan on doing similar setup on the autumn. Except I'll use ZFS/raid-z2 and boot from USB flash. With ZFS the setup is quick and very easy. With ZFS you get cheap snapshots. Reliability should be marginally better than with HW RAID. Other than those, there is no big difference.

    23. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      If you're going to use RAID6 on 6 disks, you might as well use RAID10 (ie. 3 sets of 2-disk RAID1 striped). You'll lose a third disk of capacity, but both read and write performance will be massively improved not only during normal operation but also once one of your drives dies.

    24. Re:Linux, RAID 5, md by jschrod · · Score: 1

      Leave the details of arranging all your 0's and 1's, stripe sizes, etc. to your RAID controller, while your operating system sees only what it needs to - a simple logical drive.
      And you get bitten in your a** when your disk drive fails and you didn't pay attention to set up the management and monitoring facilities. (Your realize that they are mostly not available out of the box on typical Linux distributions, whereas mdadm/Nagios is?) Or you start to cry when your RAID controller fails and you realize that you cannot simply attach the disks to another system as you could with software RAID.

      I'm designing PB-sized storage systems for my customers, and let me tell you -- it ain't so easy as you make it sound. There is a place for hardware RAID and there is a place for software RAID. (Well, come to think of it -- anytime when there is really need for hardware RAID facilities, I buy EMC or NetApp. The rest is low-level and unimportant stuff and can be handled with software RAID just as well. But I confess that that's only a valid approach for companies; too expensive for SOHO and private environments.)

      --

      Joachim

      People don't write Manifestos any more -- what's going on in this world? [Frank Zappa]

    25. Re:Linux, RAID 5, md by asc99c · · Score: 1

      Media servers can require a LOT of storage space (at least if like me, you're not re-encoding your DVDs). I'm already upto 8 discs across two arrays, plus one system disc. I've seen very few MBs with that many ports.

      Additionally, nice RAID cards can support adding extra discs to existing arrays etc. i.e. they do most of the stuff that Linux systems can do in software, but in an easier to deal with kind of way.

    26. Re:Linux, RAID 5, md by guruevi · · Score: 3, Informative

      But then again, RAID6 is terrible in performance compared to RAID5 (especially on write operations) just as RAID5 is terrible in comparison on the same criteria to RAID10 (although it could be faster on non-sequential reads).

      Higher RAID-levels are not always THE ultimate solution and depending on your solution you might just have to go for a non-secure RAID level (RAID0) for large media storage with nightly snapshotting to your backup device. Usually it's not all that bad to lose a single day worth of data and if it is for these applications, use RAID10 or so. I do it as follows: get media on RAID0 (HD streams are large and fast on 10k drives) and then as soon as job is done, I copy it to the storage area which is RAID5 on cheap SATA storage and then a nightly copy to an offline backup station (HW-RAID5 with ATA100) of the data I want to keep.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    27. Re:Linux, RAID 5, md by Rich0 · · Score: 1

      You raise a VERY good point, which many on this discussion ignore.

      Sure, a $100k disk-storage solution will perform better than a $500 solution, but is that the best way to spend your money?

      If you're setting up a file server for home use that probably connects to a 100Mhz network you don't need to buy 14 10k SCSI hard drives, a $2000 RAID card, an enclosure to hold it, and a 42U rack to hold that. You're probably better off with software RAID-5, and if you're concerned about speed spend an extra few hundred dollars on RAM/CPU - you'll probably get better overall speed than getting an extra 10% performance by spending $2k more on storage.

      Under most workloads the software RAID will outperform hardware - as the host CPU will have spare capacity (especially if you spend a fraction of what you save on a faster CPU). Sure, maybe the latest and greatest $2000 adaptec card will do a little better, but is this a 16-CPU DB server?

      The key is getting the performance you need with the capacity you need for the right price. Any idiot can just call EMC and ask them for a datacenter SAN solution for their DVR if they have money to burn and they'll get very good performance and scalability - but why waste your time reading slashdot if you have that much cash burning a hole in your pocket?

    28. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      You still don't get the same protection as RAID-6, if a matching pair of drives fails (by that I mean a drive and it's mirror) then you have lost the array. It may be faster but it is not close to an equivalent.

    29. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      "Under most workloads the software RAID will outperform hardware - as the host CPU will have spare capacity" - by Rich0 (548339) on Tuesday June 05, @12:06PM (#19398061)

      ?

      See the URL below with actual test data I guess... I put it up for others' to reference. It shows otherwise (on systems used for coding & DB engine serving (SQLServer 2005 MOSTLY, sometimes Oracle, but not lately on this job)).

      I keep sample sets of data here & project setup JUST LIKE (as much as possible) the one @ work. So I can put in O/T on my own, research/testing, & also while I work from home (2-3 days a week via TS/Citrix/Remote Desktop).

      (It's ALL due to the nature of my work, string processing & coding? Tears UP my CPU, hard - it always depends on the nature of work you are up to, like so much else does!)

      "(especially if you spend a fraction of what you save on a faster CPU). Sure, maybe the latest and greatest $2000 adaptec card will do a little better, but is this a 16-CPU DB server? - by Rich0 (548339) on Tuesday June 05, @12:06PM (#19398061)

      I spent $250 on my Promise Ex8350 SATA1/SATA2 128mb ECC RAM caching controller w/ an Intel I/O subprocessor on it: this is CHEAP, compared to high-end Adaptec solutions in the ScSi world.

      Additionally, per these posts of mine (w/ requested benchmark data in them for SanityInAnarchy's reference (parent poster)):

      http://hardware.slashdot.org/comments.pl?sid=23734 3&cid=19393291

      &

      http://hardware.slashdot.org/comments.pl?sid=23734 3&cid=19393157

      In response to SanityInAnarchy (655584) the parent poster in favor of software RAID? I disproved (hate to say it) the statements he made that CPU usage on software RAID's is "not much more" than using hardwares...

      After all: My showing 0% CPU usage, vs. 3%-11% in tests he wanted to see using HDTach 3.x, show a 300% - 1100% orders of magnitude savings of CPU usage alone!


      If you guys want to debate it, fine... all I can say is, "argue with the numbers"... & like usual, it depends on what you're out to do really, like so much else in life.

      (I did this setup, using a Promise Ex8350 128mb ECC RAM caching controller, due to what I outlined is the nature of work I do (heavy string processing, which is VERY cpu intensive, & coding generating many temp files during compile/recompile cycles) & why I want as high-performance of a system as I can afford, on ALL fronts if possible!)

      See, I actually DO need (and want of course) this cpu savings using a Promise Ex8350 128mb ECC RAM controller w/ an Intel I/O subprocessor CPU on it (offloading my dual core AMD AthlonX2 4800+ cpu I have here, regardless of the NT-based OS' kernel component "process scheduler" sending threads off to less saturated cores if/when needed).

      Why?

      I HATE "SLOW" (purely relative term), & to me? Time = money in delivery schedules, etc. et al, & the biggest slow up on a system typically, is on disk especially!

      Again, since my work deals in it quite heavily, I "feel the need, the need, for SPEED"!

      So, I want fast Access/Seek as well, which the cache RAM on the controller helps me gain, as well as 10k rpm rates on my WD "Raptor X" diskdrives in RAID 6!

      (See, due to the nature of my work? The burst and READ speeds don't matter as much, it's more WRITESPEED that matters to me & this is accounted for by this controller, as it EXCELS IN WRITES!)

      If you look @ the HD Tach test we did though, here (for your reference), & if READ SPEED is of import to you, & burst reads especially? "PRT" using disks of SATA 2 nature are for you:

      http://forums.techpowerup.com/sh

    30. Re:Linux, RAID 5, md by Rich0 · · Score: 1

      It is very hard to follow the posts you reference. Were the systems you benchmarked of identical cost? Did they have identical RAID configuration?

      I'm not debating that RAID-10 can be faster than RAID-5, and that a true hardware RAID can use less CPU than a software RAID.

      However, I would argue that hardware RAID does have downsides, and that in general you are often better spending your money on other system improvements.

      You seem to have issue with software RAID using 3-11% of the CPU. Well, if you got a faster CPU it would probably not cost you $250 more (over the cost of whatever CPU you currently have, unless you're really cutting-edge) to drop that usage significantly. Now, if this is a $5000 server with the best CPU available and it isn't fast enough then I guess you have no choice but to spend elsewhere.

      Also - talking about 1100% increases in CPU use is a bit misleading. It is like saying that putting a drop of bleach in a swimming pool full of distilled water causes a 100,000% increase in chlorine levels. Relative percentages don't mean much at low levels.

      Finally, if the software RAID is adequate for the intended use then it is a waste of money to spend on hardware RAID. Likewise, if a 1.5GHz Semperon does the job it is foolish to buy a Core2Duo unless you expect to need the extra CPU later. We're not talking about a production corporate database server - we're talking about a home media server. Likewise, while a BMW might provide better performance than a Honda Civic, I wouldn't purchase the former for my kids to drive around in.

      My point is that anytime you spend money on something you are choosing not to spend it on something else. The question is where is the money best spent?

    31. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      "It is very hard to follow the posts you reference." - by Rich0 (548339) on Tuesday June 05, @04:23PM (#19402653)

      It is? How so?? The comparison was there, and a full chart with standings, type of machines used, & even photos per 'contestant' as to the proof of their results.

      "Were the systems you benchmarked of identical cost? Did they have identical RAID configuration?" - by Rich0 (548339) on Tuesday June 05, @04:23PM (#19402653)

      NO! Of course not... the idea in that test was to compare DIFFERENT disk types users on those forums used, to help folks construct as fast a system as they could for THEIR needs! ... Tell you what, answer that for yourself here (take a decent look @ it):

      http://forums.techpowerup.com/showthread.php?s=518 74ee73e9a212bfbabbaba41cf36e3&t=26630&highlight=Ta ch

      Search THIS in quotes specifically to show you the overall standings chart ->

      "(ACCESS/SEEK DATA) "HDTACH 3 SCORE CHART" complete list 09-11-2006"

      For access/seek standings...

      & this ->

      "(CPU USAGE DATA) "HDTACH 3 SCORE CHART" complete list 09-11-2006"

      For CPU USAGE standings...

      See for yourself!

      (It's not that difficult to spot (many diff. kinds of systems were used, for comparison's sake between different possible disktypes and controllers (and RAID levels etc.) and were compared there)) ... & this was the point - to see what type of setups worked the best, in 3-4 major areas of disk usage (we did not test WRITESPEEDS however & I wish we had).

      I think you mean did I do a "controlled test", testing MY rig only with the caching controller running & testing that (which I did in the URL above), vs. my NOT using this controller (CPU usage would be more on that, no questions asked, if I let the SYSTEM CPU drive the disks I/O processing here - the other machines evidence this for me from that test though).

      At that URL above? You will see that the HDTach 3.x test results in favor of my setup(which favor the nature of work I do in coding to db engines (SQLServer 2005 & Oracle usually) & string processing work (HEAVY CPU EATER))are:

      Seek/Access @ 8.8ms (vs. the nearest competitor hitting 12.6ms @ & farthest competitor hitting @ 17.6ms!)

      CPU Usage @ 0% here (vs. the nearest competitor after that number hitting 3%, & farthest competitor hitting @ 11% CPU usage).

      Quite the margin of orders of magnitude improvement are present via using HARDWARE Caching controllers on CPU usage, & also on Seek/Access, testing my type of setup vs. ordinary ones!

      (On the seek/access? It's POSSIBLY from bursting data in out of cache onboard the controller, but I attribute this MORE to the fact I have 10k rpm disks in RAID 0, @ the time of that test though).

      Anyhow - Read speeds on "PRT" (perpendicular recording technology) using drives (as they were NEW back then in 09/2006) kicked all other disktypes butt though... I came in midpoint of those tests in burst read & avg. reads.

      (This makes sense though - the aereal platter density on PRT drives is better: More data per sq (insert measurement) & per head pass, is possible on reads especially!)

      "I'm not debating that RAID-10 can be faster than RAID-5, and that a true hardware RAID can use less CPU than a software RAID." - by Rich0 (548339) on Tuesday June 05, @04:23PM (#19402653)

      Ok, cool, because that was my point really. The test bears it out, cleanly. Tests of this nature, comparing hardware vs. software emulations of hardware based tasks run by the SYSTEM CPU, usually DO!

      I also opted for disks (SATA 1 + 10k rpm RAPTOR X's by Western Digital, which were new when I got the machine, but 'old' by the time of this test (part of the comparison was to see how good SATA2 + "PRT" tech is, vs. older diskdrive types

    32. Re:Linux, RAID 5, md by Anonymous Coward · · Score: 0

      http://forums.techpowerup.com/showthread.php?s=518 %2074ee73e9a212bfbabbaba41cf36e3&t=26630&highlight =Ta%20ch

      That's for you RICH...

      God, I absolutely HATE how /.'s board engine CHEWS on URL's & they tell US to 'watch your URL's' for God's sake...

      SLASHDOT - quit inserting the domain name or IP after the URL's we post then, & solve the problem!!!

      (it screwed up in my longer reply to you above here -> http://hardware.slashdot.org/comments.pl?sid=23734 3&cid=19403671 )

      APK

    33. Re:Linux, RAID 5, md by cdn2k1 · · Score: 1

      What's rather humorous about this statement is that ultimately, all firewalls are implemented in software. What is firmware, again?
      I am not making any implications at all that computer hardware is not anything more than software instructions flashed onto a chip. The point that I am trying to make here is that it in computing, it often helps to separate discrete tasks from the main processing ecosystem by adding a layer of abstraction for both simplicity and flexibility. There are numerous examples in the technology realm where this principle holds true; the seven network layers, relational database management (where table entries do not have any relevance to specific file names), and yes - computer data storage. Often, the operating system does not need - and should not have - direct physical access to low level hardware dialog. Much the same way that my personal desktop workstation does not need - nor should it have - direct unfettered communication to the Internet, even if it IS protected by a software firewall.

      The latest versions of software RAID support a snapshotting feature which makes it impossible for the array to become out-of-sync.
      I find it very hard to believe that it is ever "impossible" for any RAID array to become out of sync. All you can do is try your best to insure the configuration is kept protected at all costs. If the only location of the RAID configuration is on the RAID members themselves, how can there ever be a guarantee of its integrity? The approach you are recommending seems to be akin to storing the keys to the castle... inside the castle. (In addition, anything that claims to be fail-safe just hasn't met the right failure yet.)

      Now, my point of view on all of this is from a enterprise server administration standpoint, where uptime is critical, recovery time is key, and every precaution is taken to ensure the least potential for error when the inevitable failure occurs. Alas, the datacenter environment is much different from the personal media environment, but hey - old habits die hard.
    34. Re:Linux, RAID 5, md by cdn2k1 · · Score: 1

      All you can do is try your best to *ensure*

      It's always after I hit Submit.

    35. Re:Linux, RAID 5, md by cdn2k1 · · Score: 1

      And you get bitten in your a** when your disk drive fails and you didn't pay attention to set up the management and monitoring facilities.
      That's what RAID hardware monitoring tools are for. Just because the OS doesn't have to know about the physical disks underlying the RAID, doesn't mean it can't be alerted to a physical disk failure. All decent hardware RAID controllers have such accompanying software.
  21. How the hell did this make the front page? by Erwos · · Score: 4, Insightful

    I really can't believe this made the front page. The questions are badly written, and the question itself could have been answered with some basic Internet research. RAID isn't an esoteric topic anymore, folks!

    This place has really gone downhill. I thought Firehose was supposed to stop stuff like this, not increase it!

    Anyways, just to be slightly on topic: there's no one answer to this question. It depends on your budget, your motherboard, your OS, and, most importantly, your actual redundancy needs. This kind of thing is addressed by large articles/essays, not brief comments.

    --
    Plausible conjecture should not be misrepresented as proof positive.
    1. Re:How the hell did this make the front page? by Anonymous Coward · · Score: 0

      May I respectfully inquire, WTF is "Firehose"?

    2. Re:How the hell did this make the front page? by weighn · · Score: 1

      May I respectfully inquire, WTF is "Firehose"?
      Please try to pay attention.
      --
      Mongrel News all the news that fits and froths
    3. Re:How the hell did this make the front page? by RichardSP · · Score: 1

      Because it's useful information for some people, like myself. I've been looking at this for months and am still not sure what to buy, but the answers here helped.

      I can't stand people who insult others for asking a question. If you know everything, just shut up, and let others learn.

    4. Re:How the hell did this make the front page? by Anonymous Coward · · Score: 0

      Sorry, all I get is a login page. Can you provide a brief summary?

    5. Re:How the hell did this make the front page? by coaxial · · Score: 2, Insightful

      This place has really gone downhill. I thought Firehose was supposed to stop stuff like this, not increase it!

      You mean like digg? Nah. The there's no wisdom in crowds. Just lowest common denominator.

    6. Re:How the hell did this make the front page? by weighn · · Score: 1
      I know I shouldn't feed the trolls, but here you go:

      The Slashdot Firehose is a collaborative system designed to allow users to assist our editors in the story selection process. Logged in users can tag and vote on the entries and by using the 'feedback' menu by each entry. The hose can contain submissions, RSS Feeds, bookmarks, journal entries and Slashdot stories. Please send your feedback to hose@cmdrtaco.net but be forgiving of beta code!

      --
      Mongrel News all the news that fits and froths
    7. Re:How the hell did this make the front page? by Anonymous Coward · · Score: 0

      Thanks, that's all I was looking for.

      It's sort of interesting that Slashdot does this since it seems the editors should already have a pretty good sense what will interest people based on how people have responded to previous stories, and given that letting people sift through the stories and rate them for consideration seems as if it might diminish the value of editors. Perhaps it's one of thos e things like Wikipedia, in that "it can't possibly work in theory; it only works in practice." I certainly can't complain if it helps the editors choose better articles or gives them time to actually edit and post more insightful commentary, but I also hope the editors will not let themselves be ruled by feedback -- although I'm really not worried that will happen! ;-)

      I'd rather see an occasional dud of an article than see the sometimes very interesting (to me) news from off the beaten path replaced by generic and predictable articles that appeal to the lowest common denominator. (You might correctly infer I'm not a Digg reader!) Anyway, I'm rambling.

      And yeah, I guess it's fair to assume I'm a troll because I don't have an account -- at least I have no way to prove I'm not a troll to anyone who doesn't have administrative access to the site logs (or even that I'm the same person who posted the comment you replied to). For very inclusive definitions of troll it might even be fair to say that any anonymous post is a troll, but in my case I really honestly didn't have any clue WT Firehose was...but you certainly don't have to take my word for it.

      IMPORTANT: Please do not respond to this post since doing so will make me look more like a troll!

      Thanks again for your reply.

    8. Re:How the hell did this make the front page? by evilviper · · Score: 1

      And to make it better, it ISN'T classified as an "Ask Slashdot" which stories I have turned-off.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    9. Re:How the hell did this make the front page? by Anonymous Coward · · Score: 0

      If mister self-important bitchier-than-thou could paste a link correctly, he wouldn't have needed to explain a second time:

      Here's the link

    10. Re:How the hell did this make the front page? by lucason · · Score: 1

      If you really think these answers helped, you might consider thinking again... Seriously! I think the OP of this thread hit the mail on the head! This question can not be answered by brief comments. If you rely on brief comments to answer your questions on the subject you'll most likely make faulty decisions. So I implore you. Don't know this guy for giving the only sound advice you read in this thread. Sometimes insulting the guy asking stupid questions is the only way to help others, by avoiding they put to much stock in inevitable stupid answers!

    11. Re:How the hell did this make the front page? by Floritard · · Score: 2, Funny

      You're telling me. Any topic that generates 380+ comments worth of discussion is obviously a wasted endeavor.

    12. Re:How the hell did this make the front page? by cerberusss · · Score: 1

      You're wrong, and here's why. Besides RAID, he was also asking how to expand an existing RAID volume. This is not trivial and cannot be found googling for RAID.

      --
      8 of 13 people found this answer helpful. Did you?
  22. Bad assumption by tfletche · · Score: 2, Informative

    you write that if you have 3 500G disks in a RAID 5 that you will have a 1.5T, etc. Don't you realize that (N x C) - C = Total ? i.e. (3 x 500) - 500 = 1000 or 1 terabyte. That's only the first problem with your logic...

  23. Risk what you can do without by Tribbin · · Score: 1

    I have a lot of data (500 GB of music/movies/pictures/wallpapers/audiobooks/ebooks ; filled to the last GB)

    I'm a student and I do not have the money for redundant storage.

    I rsync my documents and pictures over the two drives and burn my favourite movies to DVD. I use ffmpeg to turn DVDs into Xvids and oggenc to turn flacs into ogg q5s.

    If I lose one of the harddrives; that's life.

    So for those who do not have the luxury that the poster has; make sure that you backup what is really important and risk what you can do without.

    --
    If you mod this up, your slashdot background will turn into a beautiful sunset!
    1. Re:Risk what you can do without by Anonymous Coward · · Score: 0

      500 GB is about $120 (on sale or OEM) now. Save about $2 a week and you'll have redundant storage in about a year, just in time for the price to be $75.

    2. Re:Risk what you can do without by Anonymous Coward · · Score: 0

      So, you're burning your favorite movies and then ripping them back? That's an interesting way to save space.

    3. Re:Risk what you can do without by Tribbin · · Score: 1

      No, I'm converting VOB files on HD.

      And burn my favourite movies to not lose them.

      --
      If you mod this up, your slashdot background will turn into a beautiful sunset!
    4. Re:Risk what you can do without by Tribbin · · Score: 1

      Ah I see; you've never been a poor student and are quite the opposite of the audience I was talking to.

      "So for those who do not have the luxury that the poster has"

      I'd better use 2$ a week that I save to pay off debts.

      --
      If you mod this up, your slashdot background will turn into a beautiful sunset!
  24. Drobo: storage robot by Anonymous Coward · · Score: 0

    This thing is very cool: Drobo, from Data Robotics. Check out the demo! http://www.drobo.com/products_demo.aspx

  25. LVM is your friend by jmorris42 · · Score: 2, Informative

    > either get the bigger disks you want now, or plan on rebuilding the array down the road

    Not at all, these days one does have better options than rebuilding a blank array. Read up on LVM, it is powerful stuff.

    Replace the drives in the array one at a time, allowing time for the array to rebuild. Then you can grow the volume to make use of the extra capacity. Yes it will require some planning and will probably take a week to slowly merge in the new set of drives, but it sure beats a bare metal restore because you can still be recording and watching video while all this rebuilding and resizing is happening.

    Don't really know how much of the above applies to Windows, haven't seriously used it in a decade; so sometone else will have to supply details on it's volume management flexibility.

    --
    Democrat delenda est
    1. Re:LVM is your friend by cafucu · · Score: 1

      Save some headache for yourself--if you use LVM, use ReiserFS. It's the *only FS that I know of that can be grown or shrunk real-time while mounted. If I had done a little more homework I would have avoided some of the pains of XFS.

      * Please feel free to correct me if I'm wrong.

      --
      :%s:work:/.:g
    2. Re:LVM is your friend by nbvb · · Score: 1

      VxFS. ROCKS.

      Forget ReiserFS, forget ExtWhatever, VxFS kicks unholy butt.

      Seriously.

    3. Re:LVM is your friend by Stephen+Samuel · · Score: 1
      First of all, 3x500GB drives gives a single 1TB raid (with one 500GB drive used for redundancy). Now, if you want to replace them with 1TB drives, ....
      1. Pull out one drive and replace it with an empty drive.
      2. wait for the RAID software to (re)populate the new drive
      3. Add a second drive the same way as steps (1) and (2).
      4. At this point you can concatonate the third 500GB drive with one of the drives you pulld out of the raid, (thus giving a virtual third 1GB drive) or properly replace it with a real 1TB drive.
      5. Now you have 3 (virtual or real) 1TB dries, and you can now resize your virtual drive and it's associated partition(s).
      --
      Free Software: Like love, it grows best when given away.
    4. Re:LVM is your friend by Mage+Powers · · Score: 1

      ext2/3 can be grown while online, but I guess the shrinking is important to you too?

    5. Re:LVM is your friend by Anonymous Coward · · Score: 0

      > First of all, 3x500GB drives gives a single 1TB raid (with one 500GB drive used for redundancy).

      I'm not sure that statement is true - in RAID5 each file is a stripe across all of the disks with a parity check so that the data can be rebuilt if a drive fails.

      So for a simplistic example a 3GB file in a 3 Disk RAID would be split across the three disks. Disk 1 would have 1GB + 500MB of disk 2 and 500MB of disk 3. Disk 2 would have 1GB + 500MB of disk 1 and 500MB of disk 3 etc etc. As soon as one disk fails, the data can be rebuilt. (this is not accurate at all, but gives a general idea)

      Now, one problem with RAID5 is that when you have "too many" disks, failure rate will increase as only one RAID5 drive can fail - if a second fails before the first has been rebuilt, bye bye data. There are solutions around this, for example a Hot Spare.

      This should also point out another restriction to RAID5 - write performance. Each write has to calculate the parity, but read performance is increased as the three drives can be read at once (unless a drive has failed, as the data has to be rebuilt from parity).

      RAID 0, strictly speaking isn't RAID - it isn't redundant, so it should just be AID :-)

    6. Re:LVM is your friend by Fred_A · · Score: 1

      ext2/3 can be grown while online, but I guess the shrinking is important to you too?
      Well, yes, what if you delete lots of files... Duh.

      *ducks*
      --

      May contain traces of nut.
      Made from the freshest electrons.
    7. Re:LVM is your friend by Wdomburg · · Score: 1

      You can grow ext3 or xfs while mounted. There's also zfs, vxfs and ufs. The Linux version of JFS requires a remount, but the AIX version can online resize.

  26. Infrant by Anonymous Coward · · Score: 1, Informative

    You could always purchase a NAS from Infrant. A diskless version retails for around $640; and they have a proprietary raid level called X-RAID. It is basically a RAID 5 array, but allows for expansion using larger drives. The standard rule applies, each individual drive will be limited to the size of the smallest drive, but you can hotswap one drive at a time, allow the drive to be rebuilt, and repeat the process for all four drives. Once the final one is done, it will auto expand to your new capacity. Pretty futureproof.

  27. Get a ReadyNAS by Anonymous Coward · · Score: 0

    I went through all this.. Read all about rolling my own RAID, using Linux, using Windows, etc. In the end I opted for the ReadyNAS NV from Infrant.

    I bought the ReadyNas NV without drives for about $700. I put in 4 500GB drives last year and now I've got 1.5GB of RAID 5 storage. It works great for my needs (media storage of videos, music, pictures streaming through XBMC).

    1. Re:Get a ReadyNAS by akita · · Score: 1

      That's nice, but a dvd would be both chaper and bigger than that.

    2. Re:Get a ReadyNAS by PygmySurfer · · Score: 1

      The ReadyNAS also addresses the concerns about being limited to the size of the smallest drive in the array, and with upgrading the drives.

      The only drawback is the four-drive limit, really. I wish Infrant would release an 8 drive ReadyNAS...

    3. Re:Get a ReadyNAS by Zantetsuken · · Score: 1
      Except that would ignore the need to be cheap - as in using an old case you have lying around and getting at most $150 USD of hardware off of Newegg (plus shipping) - lowest being getting a working old Pentium 2 or 3 class machine for about $50 (plus shipping, for example retrobox.com - now merged with intechraoutlet.com), and then slap in a $20 or $40 SATA RAID card in the event the motherboard doesn't have SATA.

      Doing it this way, if you have the knowledge to use RAID or LVM (or are willing/able to learn) - you could either
      1. Save $500 bucks and use it for something else
      2. Spend the other $500 bucks on more drive space
  28. Nuh-Uh by rustalot42684 · · Score: 5, Funny
    You're wrong. What if:
    • a psychopath hires a hitman to destroy his media center? The hitman comes in, destroys all 10 drives with a large axe, and leaves.
    • a crazed velociraptor claws open the case and destroys all 10 drives, then mauls him.
    • His power supply suffers extreme spontaneous combustion and explodes all 10 drives.
    • Steve Ballmer is angered by that fucking pussy Eric Schmidt and throws a chair which flies across the country and smashes into his computer.
    • a meteor crashes into the house and destroys all the drives, but leaves everything else untouched.
    • he becomes prone to sleep-sysadmining and accidentally formats them all.
    • His house is the target of a nuclear attack. (Didn't think of that one, did you, bitches?)

    Raid 0 won't protect you, man!
    1. Re:Nuh-Uh by rustalot42684 · · Score: 3, Funny

      And, of course, by RAID 0, I mean RAID 1. Must click 'Preview' next time.
      Perhaps a Post-It note on the monitor to remind myself.

    2. Re:Nuh-Uh by Red+Flayer · · Score: 1

      Oh yeah?

      What if a giant hive mind sends its fearsome formians to chew up his system in order to feed the silicon cravings of the queen ant?

      Well, guess what, ants don't like RAID of any flavor, no more than they like Black Flag. But Henry Rollins has nothing to do with this.

      --
      "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    3. Re:Nuh-Uh by smittyoneeach · · Score: 2, Funny

      They told me 0 is the new 1!

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    4. Re:Nuh-Uh by mr_musan · · Score: 1
      you forgot

      sponaniouse wormhole forming inside the drive plate and sucking all of the data to anohter dimention.

      the hords of mongonlia, broungt out of the past to distroy your data

      evil sprits, of lost data

      sods law

      a temprel rift forming that makes your data write its self before its wrten its self then when you write it now it rewrites it thus causeing the disks to get very confused

      and worst of all a small child

    5. Re:Nuh-Uh by Architect_sasyr · · Score: 2, Funny

      Two words...

      Chuck Norris

      Man, Raid 10 + Raid 5 + Offsite backups can't save you now!

      --
      Me failed English...
      FreeBSD over Linux. If my comments seem odd, this may explain...
    6. Re:Nuh-Uh by spun · · Score: 1

      Red, you're not supposed to crush up and snort all ten drives at once, man! You need to chew on this thumb drive for a while, dude, and just chillax a little. I'll keep the ant queen off ya, there ya go.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    7. Re:Nuh-Uh by Afrosheen · · Score: 1

      Chuck Norris? Bah. Jack Bauer is the new Chuck Norris.

    8. Re:Nuh-Uh by antarctican · · Score: 1

      Man, Raid 10 + Raid 5 + Offsite backups can't save you now!

      Offsite, pfft, forget that! Try off continent!

      We had a guy who moved back to Europe, leaving a backup drive of all his... data, "just in case." We're on the west coast of North America, so he's even protected in case a giant meteor smashes in to either ocean and causes a huge, city destroying tidal wave!

      Now that's redundancy, baby!

    9. Re:Nuh-Uh by Anonymous Coward · · Score: 0

      Would that be the same small child that wrote your comment for you?

    10. Re:Nuh-Uh by empaler · · Score: 3, Funny

      Jack Bauer? Bah. Your mother is the new Jack Bauer.

    11. Re:Nuh-Uh by CCFreak2K · · Score: 3, Funny

      What if: a crazed velociraptor claws open the case and destroys all 10 drives, then mauls him.
      Randall Munroe? Is that you?
      --
      "Beware of he who would deny you access to information, for in his heart he dreams himself your master."
    12. Re:Nuh-Uh by evilviper · · Score: 1

      Steve Ballmer is angered by that fucking pussy Eric Schmidt and throws a chair which flies across the country and smashes into his computer.

      Laugh all you want, but some of us are within throwing-range of Microsoft headquarters... Not so funny for us.

      Gotta go!
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    13. Re:Nuh-Uh by Nullav · · Score: 1

      Your mother? Bah. Vin Diesel is the new your mother.

      --
      I just read Slashdot for the articles.
    14. Re:Nuh-Uh by Wite_Noiz · · Score: 5, Funny

      They told me 0 is the new 1!

      Freaky, that's the exact excuse I used for failing my CS binary course
    15. Re:Nuh-Uh by cheater512 · · Score: 2, Funny

      I keep my backups in the parallel universe. Its the only way to keep my data safe in case the solar system falls in to a black hole.

    16. Re:Nuh-Uh by maxwell+demon · · Score: 2, Funny

      Are you sure you failed it? I've heared F is the new A.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    17. Re:Nuh-Uh by htnprm · · Score: 1

      you forgot
      Poland

    18. Re:Nuh-Uh by xsonofagunx · · Score: 1

      unless, of course, the parallel universe you chose happens to be one which also falls into a black hole...

      I, personally, decided the best bet is to just let the data go. Apparently, in this universe, I wasn't meant to have it anymore. If I were to go and try to get it back, it could collapse the entire space-time continuum, and I (or anyone else) really wouldn't have much use for it anymore. Except the porn... I have that backed up on HDDs in every parallel universe. Of course.

    19. Re:Nuh-Uh by rbanffy · · Score: 1

      I keep mine in a redundant infinite array of parallel universes. That is the only safe way in case any number of solar systems falls into any number of black holes.

    20. Re:Nuh-Uh by Wdomburg · · Score: 2, Funny

      Bah. Chuck Norris is the new Chuck Norris.

    21. Re:Nuh-Uh by endianx · · Score: 1

      I send a copy of all my data to the future and the past. If I ever lose it, I can go back and time and get it, or just wait for a copy in the future...whichever is most convenient.

    22. Re:Nuh-Uh by Jonner · · Score: 1

      Another casualty of the Pascal/C impedence match?

    23. Re:Nuh-Uh by Jonner · · Score: 1

      I meant "mismatch."

    24. Re:Nuh-Uh by fm6 · · Score: 1

      You forgot to mention the possibility that all 10 drives might fail at once. Highly unlikely, perhaps, but not as unlikely as a velociraptor attack!

    25. Re:Nuh-Uh by Thuktun · · Score: 1

      I keep mine in a redundant infinite array of parallel universes. That is the only safe way in case any number of solar systems falls into any number of black holes. Fry: "So there is an infinite number of parallel universes?"
      Professor: "No, just the two."
      Fry: "Oh, well, I'm sure that's enough."
      Bender: "I'm sick of parallel Bender lauding his cowboy hat over me!"
    26. Re:Nuh-Uh by nizo · · Score: 1

      Just do what I do and chisel all the important stuff into large rocks (works for porn too). I figure with all the crap that is still around from thousands of years ago this method is pretty foolproof, though I am still trying to figure out how to backup my music with rock carvings. At the rate I am losing my hearing this may not matter in a few years anyway.

    27. Re:Nuh-Uh by nizo · · Score: 1

      Try this:
      Heat room with running disks to 115F for several days.

      Not too suprisingly I had two disks in the same raid die at the same time in conditions like this. Man did that suck, but it did finally sink in with everyone why I was yammering for a new AC for the servers before that.

    28. Re:Nuh-Uh by fm6 · · Score: 1

      Try this:
      Heat room with running disks to 115F for several days
      And that will cause a velociraptor attack?
    29. Re:Nuh-Uh by sakasune · · Score: 1

      Of course, everyone knows that velociraptors are highly attracted to server rooms of 115F

      --
      "You're arguing for a universe with fewer waffles in it," I said. "I'm prepared to call that cowardice."
    30. Re:Nuh-Uh by nizo · · Score: 1

      Some days I wish it could cause a velociraptor attack:

      "We don't need an AC unit for the compute.....AUGGGH velociraptors!!!!!!"

  29. What for? by TopSpin · · Score: 1

    If y'all were building a system for this purpose, how many drives and what size drives would you use and would you do some form of RAID, or what? For what purpose?! You haven't said word one about how this storage will be used. What is it for? Email back end, shared file systems, RDBMS (OLTP or OLAP), streaming loads, D2D backup, etc. Define your use case, please! Post after post on this topic and not one of you ever think to specify what the @!%*$ it is you're trying to do.

    Agonizing over the ability to incrementally upgrade an array is a sure sign you have cost at the very top of your list of concerns, with everything else far below. Learn about software RAID. At the throughput levels you're planning for (3 disks?) hardware RAID is a waste; contemporary CPUs can cope with all the parity calculations involved with negligible effort. Save money on proprietary hardware/licenses with Linux+LVM+MD and use the cash to upgrade the drives simultaneously. Or become a guru and figure out how to layer LVs and MDs to use capacity incrementally; the only cost is your time and spare stomach tissue.

    If I had to manage fault tolerant storage with mis-matched physical disks and no budget I'd be looking at ZFS. There are other ways of doing it but the ZFS model is so simple and obvious that it has a high probability of actually working in the real world. Right up until it gets corrupted and you learn there is no ZFS fsck...

    --
    Lurking at the bottom of the gravity well, getting old
    1. Re:What for? by Anonymous Coward · · Score: 0

      read the summary again you hyper-angry fuckstick

  30. Planned obsolescence by Solder+Fumes · · Score: 3, Insightful

    Hardware WILL get old, WILL die, and better stuff WILL become available. So it only makes sense to recognize this and plan for it.

    Here's the way I do it (for a home storage server, not a solution for business-critical stuff):

    Examine current storage needs, and forecast about two years into the future.

    Build new server with reliable midrange motherboard, and a midrange RAID card. These days you could do with a $100-$300 four-port SATA card, or two.

    Add four hard disks in capacities calculated to last you for two years of predicted usage, in RAID 5 mode. Don't worry about brand unless you know for a fact that a particular drive model is a lemon.

    Since manufacturer's warranties are about one year, and you may have difficulty finding an unused drive of the same type for replacement, buy two more identical drives. These will be your spares in the event of a drive failure.

    When the two years are up, you should be using 80 to 90 percent of your total storage.

    At this point, you build an entirely new server, using whatever technology has advanced to at that time.

    Transfer all your files to the new server.

    Sell your entire old storage server along with any unused spare drives. A completely prebuilt hot-to-trot RAID 5 system, with new matching spare disk, only two years old, will still be very useful to someone else and you can recoup maybe 30 to 40 percent of the cost of building a new server.

    Lather, rinse, repeat until storage space is irrelevant or you die.

    1. Re:Planned obsolescence by glwtta · · Score: 1

      Pretty good plan. I've had good results with a somewhat different approach, though:

      Throw together a system with whatever you have lying around (needs a case with a lot of drive bays).

      Buy 6 drives at best size/price point (was 120GB at the time). Configure them in a software RAID5.

      Have your dinky power supply crap out on you 2 months later, in such a way that it cuts the power to one drive and then a few minutes later to a couple more (after the degraded array has been written to, of course).

      Don't touch your newly useless array for a few months, hoping you can magically recover it.

      Realize you don't actually need half a terabyte of pornography, and get a 250GB external firewire drive instead.

      It worked for me.

      --
      sic transit gloria mundi
    2. Re:Planned obsolescence by Zantetsuken · · Score: 1

      Well then, I'm guessing either part of your manliness has died, or you've somehow gotten one of those mythical "Girlfriends" people always talk about

  31. slow news day? by RelliK · · Score: 1

    When did slashdot become a substitute for usenet/google/wiki or (gawd forbid) a fucking manual? Why do editors feel inclined to post the drivel of every clueless newbie who needs handholding, while rejecting important/interesting news stories?

    As to the poster's question: read the fucking manual, kid.

    --
    ___
    If you think big enough, you'll never have to do it.
    1. Re:slow news day? by colourmyeyes · · Score: 1

      Hey slashdot, I'm thinking of buying a computer. How is mac and pc different?? I have microsoft, will it run on a mac? Also are there any other "operating systems" besides microsoft and apple because I heard there are? thx slashdot lol!

      Can I be on the front page too??

      --
      My grandmother used anecdotal evidence all the time, and she lived to be 120 years old.
    2. Re:slow news day? by Anonymous Coward · · Score: 0

      Yep, you can run a microsoft on your mac but you need Myspace 2.0 or higher.

  32. RAID 5 is for cheapskates by pestilence669 · · Score: 1

    No, really. It's all about cost. Even with hardware accelerated RAID, you can expect a steep performance hit. If you're going for a massive data repository I'd suggest several RAID 1+0 setups in hardware with a decent volume manager & file system (not NTFS).

    2x500GB drives in a RAID 1 (for peace of mind). Then double that in a RAID 0 stripe (for speed). That's 4 drives per TB. Then use a decent file system, like ZFS, to chain your RAID 1+0 clusters into a single volume 1TB at a time.

    Whatever you choose to aggregate your storage, I don't think you'll be able to get away from mirroring every drive... unless you go the budget RAID 5 route. I'd suggest no redundancy in that case.

    1. Re:RAID 5 is for cheapskates by nxtw · · Score: 1

      Have you used Linux RAID5 or ZFS RAIDZ lately? In a six-drive setup using consumer hardware (nForce chipset, Seagate Barracuda drives), I get write speeds that are nearly double the write speed of a single drive using MD RAID5. With ZFS RAIDZ2, I get write speeds that are slightly more than the write speed of a single drive.

    2. Re:RAID 5 is for cheapskates by pestilence669 · · Score: 1

      I don't doubt, those speeds are possible in an ideal environment. How much CPU are you pulling to make that happen? Does it scale across say, 12 drives?

    3. Re:RAID 5 is for cheapskates by nxtw · · Score: 1

      The CPU is a three year old Athlon 64 2.0GHz. Linux chooses the best raid5 parity calculation method (based on a quick benchmark of integer, sse, mmx, etc. based algorithms). The selected method on the Athlon 64 box calculates at 6000 megabytes/sec. If you provided ample bandwidth (once again no slow PCI) Linux would have no trouble scaling.

  33. RAID5 and disk size by gweihir · · Score: 1

    Some RAID controllers allow you to enlarge a RID5 array. If the OS also allows you to enlarge the partitioning, then you are set. I think currently both is possible under Linux.

    However, the better approach would be to recreate the array on disk upgrades. After all for any kind of reliability, you need backup anyways. RAID is not a replacement for backup!

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  34. More info please by blhack · · Score: 1

    It would be nice to know just how much data you are trying to store. If this is going to be a whole bunch of mp3s, then you might look into a Raid 1 array of that new 1TB drive from hitachi.
    At 1TB, it is still gonna be pretty hard to fill this with DIVX encoded movies. I guess though, if you need more space, do a 0+1. Meaning a redundant array of a data-striped set.

    If you are talking about some sort of seriously whacked out array of like some Blu-Rays or HDDVDs or some crazy thing like that....then i would....uhhh....probably just start praying.

    Honestly, the best set up (once again depending upon your intentions) is probably going to be a linux box running:
    mt-daapd (for streaming to itunes)
    mpd (the media player daemon, for hooking the box into a stereo)
    slimserver (to stream through a web interface to any machine that can reach it on the network).
    Samba (for sharing the music to windows clients)
    vsftpd (for sharing the music to everybody else)

    slap a couple of those 1TB drives in there with some Raid 1 for redundnacy....and i think you should be in VERY good shape.

    OH OH OH...put it into one of those ultra-sexy HTPC boxes for added win factor.

    --
    NewslilySocial News. No lolcats allowed.
  35. mdadm on linux by flyboy81 · · Score: 1

    Using mdadm and linux you can grow a RAID 5 if you replaced all the disks one by one, this has been possible for a while. Recent kernels have made it possible to expand the RAID 5 sets by adding more drives. So you can basically grow as you need. Some guys have even migrated from a JBOD to RAID 5 using just one extra disk by creating an array from two drives but marking one as missing, I'm not recommending this unless you have backups :) (and since you have your backups it will be quicker to just create the whole thing right away than to go through reshaping for each disk).

  36. RAID 1 by daybot · · Score: 1

    I'm a big fan of RAID 1. It's 100% wasteful, but I can relate to that. Advantages of RAID 1 include:

    - Simplicity: RAID card broken? Fine, just shove one of the drives onto a non-RAID interface and you're off. Simple setup also means low overheads, which leads to...
    - Speed: Faster than RAID 5 because the controller isn't doing anything clever. If you want faster, go 0+1.
    - Robustness: The temptation with RAID 5 is to have one massive partition across loads of drives. That's great, until you accidentally format it or something. Don't forget to back up, but splitting your storage into smaller arrays would be safer.

    If you're seeking 1.5TB, you could have two 750GB RAID 1 arrays using four 750GB Seagate Barracuda 7200.10s.
  37. Hardware vs Software RAID by Anonymous Coward · · Score: 1, Informative

    You've left off which method you plan to use for your RAID (whichever implementation)... If it's hardware, the suggestions mentioning things like LVM are irrelevant, it only matters if the RAID controller supports dynamic re-partitioning (if it doesn't, then who cares what the OS supports, the OS can't use what the controller doesn't say is there).

    Also, since you mentioned that you haven't chosen an OS, I believe MS will be releasing Windows Home Server this fall. It's based of the 2003 Server system, so it's well proven and has no problem with drivers or any of the issues Vista is currently having. Also since it's built on top of 2003, there's already lots of industry support out there. The UI they've grafted onto it is very friendly, and the backup system that it has is awesome (incl full-disk restore using only a boot CD!) It's actually being designed to fulfill more or less exactly the role you seem to be seeking a solution for.

    I know I'll get blasted for having suggested an MS sol'n on /., but since you said you hadn't decided, I just wanted to make you aware of another option that you might not have considered.

    Anyway, for your system, I'd make a Software RAID1 partition for your OS (whichever it is) and install a Hardware RAID5 solution for my data. Since it's hardware RAID5, you can break it up however you like, and still have redundancy AND a minimal loss of space. You could consider RAID6 for increased safety, but I haven't seen a hardware RAID6 controller out there anywhere yet... (RAID 6 is like RAID 5, but has 2 parity drives, thus enabling up to two drives in the array to fail whilst remaining operational).

    -AC

  38. Juice, Heat and Bux... by jddj · · Score: 1

    I started to put a 2-drive RAID 1 setup in my MythTV HD server. I eventually bagged it and went with a single SATA disk.

    Here's why:

    1. I was storing a mirror of my collection of MP3 files for service with mt-daapd. The MythTV server disk goes down, I have another copy elsewhere already.
    2. The rest is just TV. The System disk image is backed up to read-only media, so I can blast it back onto a replacement disk if needed. So I lose a couple weeks of TV. Boo-hoo - it's nice outside and there are brand new films at the theater.
    3. Two drives use twice as much juice and make twice as much heat as one. 5 drives increase your carbon footprint, heat dissipation and financial outlay even further, and require a more highly-cooled enclosure AND warm up your den/living room/home - which you cool once more with the A/C in the summer. If you do the math, you'll probably pay more for running the disks over their service life than you do to buy them.

    So I figured I didn't HAVE to have the array, realized the machine would run lots cooler and lots cheaper, and when it finally went down, BFD, I'd buy an even bigger disk for less money, install it without a hassle and copy my MP3s back onto it.

    N.B. - I've been on a 20+ hour bridge-line call today as our data center guys try to figure how to rebuild an enterprise disk array. Are you SURE you want to go with a RAID?

    1. Re:Juice, Heat and Bux... by xsonofagunx · · Score: 1

      Two drives use twice as much juice and make twice as much heat as one. 5 drives increase your carbon footprint, heat dissipation and financial outlay even further, and require a more highly-cooled enclosure AND warm up your den/living room/home - which you cool once more with the A/C in the summer. If you do the math, you'll probably pay more for running the disks over their service life than you do to buy them.

      Sure, you'll have to cool it in the summer, but imagine not needing to heat your house at all during the winter because of your massive RAID :)
  39. You can mix raid drive sizes, with planning. by Kaenneth · · Score: 3, Interesting

    You can put RAID 5 on varying size disks.

    I had 4 300GB drives, and 2 200GB drives.

    I broke them up into 100GB partitions, and layed out the RAID arrays:

    A1 = [D1P1 D2P1 D3P1 D5P1]
    A2 = [D1P2 D2P2 D4P1 D6P1]
    A3 = [D1P3 D3P2 D4P2 D5P2]
    A4 = [D2P3 D3P3 D4P3 D6P1]

    Then I concatenated the arrays together, giving a little less than 1.2 TB of space from 1.6 TB of drives; if I had just RAID'd the 4 300 gig drives, and mirrored the 200's I would have only had 1.1 TB available, and the drive accesses would be imbalanced.

    I could also grow the array, since it was built as concatenated, so later when I got 4 400GB drives I raided them then tacked them on for 2.4 TB total.

    1. Re:You can mix raid drive sizes, with planning. by Thundersnatch · · Score: 1

      I think your solution is ingenious, in that it spreads disk seeks evenly. But I suspect it is probably bad idea for performance, because of how the partitions are physically allocated on disk.

      Wouldn't the the disk heads be hopping across 1/2 of the disk the disk quite a bit, since they have to read from partition to partition? It might not matter with your workload, but I would be hesitant run a database server on such an array.

      In my employer's environment, we usually do one partition per physical disk. Why? We benchmarked for SQL Server using MSFT's IOstress utility when setting up a new DB server. Having the database files spread over two arrays over 8 disks (with each disk partitioned into 2 parts, one for each array) performed significantly worse than simply using one big partition that occupied the whole array on the same 8 disks. Our theory was that while the same number of individual seeks had to happen in both cases, the seeks were much "longer" when the individual disks were partitioned.

      Of course, that was about 5 years ago, so with all the changes in disk density, cache sizes, etc., it may not matter much anymore. Our DB servers now have 16GB or more of RAM, and keep everything "hot" in memory.

  40. Go RAID 5 BUT with real hardware.... by Fallen+Kell · · Score: 2, Insightful

    If you are going to do this, do it right. It will cost you some up front, however, in the long run, doing it right will be cheaper. Get a real raid card, as in hardware RAID. Get something that supports multiple volumes and at least 8 disks. I personally just got the Promise SuperTrak EX8350. Now, why do you ask do you need 8 disks? So you can upgrade, that is why. Use your current 3 or 4 disks you have now in a raid volume. In a couple years when bigger disks are dirt cheap, pick up 4 1TB+ size disks and build a second volume on the RAID array using the new disks. Now you can offload all the old data onto the new RAID volume and either ditch the old disks or keep them around (up to you, however, I recommend ditching to other computers or whatever so that you now have 4 empty slots on the RAID card so that you can rinse/repeat the whole process again in another few years...)

    Again, doing it correct up front takes care of upgrade options down the line. It also gives you room to do monster sized volume if you ever need that much space (8 disk array). Most of these RAID solutions are also OS independent, so if you want dual boot, the volume would be recognized by Windows, Linux, Unix, BSD, etc., and you are also not dependent on using the exact same motherboard if you motherboard dies or wants to be upgraded (you would lose all your data if you use the built in RAID on the motherboard when changing to a new motherboard other then the exact same model).

    These better cards also can be linked together (i.e. you always get a second card assuming your motherboard has a slot for it, and add more disks to the array that way as well).

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
    1. Re:Go RAID 5 BUT with real hardware.... by nxtw · · Score: 2, Interesting

      What is the advantage of having a proprietary RAID card? With PCI Express, there is enough bandwidth between the HBAs and CPU to perform software RAID[56]/RAIDZ2? without a problem. Any recent CPU can perform RAID5 calculations much faster than hard drives can provide it. The bottleneck becomes either PCI bandwidth or hard drive speed.

      I haven't seen a consumer level motherboard that has real (hardware) RAID. It's all software RAID with a fancy driver & BIOS support to allow Windows to boot.

      I'm not sure how many people would want to dual-boot a large fileserver. There's no universal filesystem that's suitable for large volumes multiple OSes besides ZFS, if you're using Solaris, FreeBSD, and OS X... with (slow) userland support in Linux. Otherwise you've got ext2/3 on Linux and the myriad of various implementations for other operating systems.

    2. Re:Go RAID 5 BUT with real hardware.... by pavera · · Score: 1

      That's great until you raid card dies in 4 years, and you can't get the exact same model with the exact same firmware, and now you lost all your data because you can't read the volume anymore. After being burned by this twice in the last 5 years, I will never use hardware raid again.

    3. Re:Go RAID 5 BUT with real hardware.... by SanityInAnarchy · · Score: 1

      Get a real raid card, as in hardware RAID.

      Why?

      The one advantage you mention is dual-boot. And it's true, that does help -- but you can do that well enough with nVidia's fakeraid.

      --
      Don't thank God, thank a doctor!
    4. Re:Go RAID 5 BUT with real hardware.... by ErikTheRed · · Score: 1
      That's great until you raid card dies in 4 years, and you can't get the exact same model with the exact same firmware, and now you lost all your data because you can't read the volume anymore. After being burned by this twice in the last 5 years, I will never use hardware raid again.
      Only with the low-end hardware RAID cards. The better ones (Areca, 3Ware, anything enterprise like HP & IBM) will let you upgrade arrays across models / versions. Many of these cards will explicitly list that as a feature, along with the ability to perform on-line volume expansion, RAID-type shifting (eg, convert from RAID-1 to RAID 5 or RAID 6 while live), etc. I've been burned by low-end RAID cards before, and have decided it's worth the money for "the real thing".
      --

      Help save the critically endangered Blue Iguana
    5. Re:Go RAID 5 BUT with real hardware.... by evilviper · · Score: 1

      The better ones (Areca, 3Ware, anything enterprise like HP & IBM) will let you upgrade arrays across models / versions.

      And I wonder for how many years will those companies GUARANTEE 100% backwards compatibility? Because I know for damn sure I'm going to have a CD of the same operating system for decades to come, which will read the same (software) RAID formatted disks with ANY controller I can find... Hell, it'll work even I mount (eg. 8) drives on two DIFFERENT brands of controllers.

      Assuming Linux/BSD, the RAID software being open source will allow me to fix bugs (happens even in high-end RAID controllers) forward-port it to newer releases of the same operating system if they chose to drop compatibility. Or potentially porting to other similar operating systems, if necessary (yeah, unlikely).

      But much more than that, the software to monitor the health of the array is open source, whereas even if the manufacturer provides a binary-only program for your current operating system, they may opt not to when the next version comes around, or perhaps just remain way behind the curve and force you to wait.

      I've been burned by low-end RAID cards before, and have decided it's worth the money for "the real thing".

      I'll agree you should avoid cheap RAID controllers, but it doesn't follow that you should buy expensive ones. Software RAID is much cheaper, and has some pretty nice advantages. Even the performance of software RAID is faster than hardware controllers... (perhaps with the possible exception of large, battery backed on-controller caches.)
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    6. Re:Go RAID 5 BUT with real hardware.... by ErikTheRed · · Score: 1

      And I wonder for how many years will those companies GUARANTEE 100% backwards compatibility?
      The RAID configuration is almost always stored in the first sector or two of each drive. RAID is a pretty ancient field as far as the IT industry goes, and there simply isn't any point to being creative between product lines - most of which share a massive amount of code anyways. Forward and backward compatibility are much more difficult to displace than they are to maintain. It's like this to the point where on HP servers I can move RAID volumes that were created on controllers that are nearly 10 years old (Ahh... $2500 SmartArray IIs) onto the newer models. On this kind of hardware that behavior is just expected. In fact, it boggles my mind thinking about the frigtarded programmers the low-end RAID device manufacturers must use to screw things up.

      Assuming Linux/BSD, the RAID software being open source will allow me to fix bugs (happens even in high-end RAID controllers) forward-port it to newer releases of the same operating system if they chose to drop compatibility. Or potentially porting to other similar operating systems, if necessary (yeah, unlikely).
      At the risk of sounding snide, it's more likely that a mid- or high-end RAID controller manufacturer will be supporting older arrays than you'll have the free time and inclination to do RAID software porting. Not to mention the likelihood that you've upgraded your array in the mean time anyway - and with the good RAID controllers, you can upgrade all in sorts of fun ways (add drives, replace drives with larger ones, switch RAID types, etc) with zero downtime. Although Linux isn't always fond of online volume tweaking and can require some hacking of MBRs - but if you're talking about porting RAID stacks this shouldn't intimidate... :-)

      But much more than that, the software to monitor the health of the array is open source, whereas even if the manufacturer provides a binary-only program for your current operating system, they may opt not to when the next version comes around, or perhaps just remain way behind the curve and force you to wait.
      Areca is pretty nice about providing source for their utilities and drivers. In fact, their drivers are in the mainline Linux Kernel now (as are 3Ware's, Compaq/HPs, etc), and also available for FreeBSD and OpenBSD. Although HP does provide some enhanced Linux drivers that aren't in the kernel... to be honest I'm not entirely sure what the differences are, but the volumes are accessible with a vanilla build. Not to knock Linux (I use it a great deal on personal and production systems), but in general (not necessarily with RAID) I have far more compatibility issues between kernel versions than I do with mid- and high-end hardware RAID controllers (in fact, I've had zero issues there). As I said earlier, RAID just doesn't change that much.

      I'll agree you should avoid cheap RAID controllers, but it doesn't follow that you should buy expensive ones. Software RAID is much cheaper, and has some pretty nice advantages. Even the performance of software RAID is faster than hardware controllers... (perhaps with the possible exception of large, battery backed on-controller caches.)
      Umm... software is faster than the cheezetech RAID controllers, but having a separate ~500 MHz CPU with specialized RAID instructions manage your Disk IO doesn't exactly suck - and you can get this for less than $400. This leaves your main CPU free to do "useful" stuff. And don't forget the poor bastards that have to run Windows. My main desktop box has an Areca PCIe SATA controller with 4 WD 72GB Raptor drives in RAID5 (I don't need a second GPU and that extra x16 slot was just going to waste...) - we're talking seriously friggin' fast - and much easier to manage in a multi-boot Windows / Linux / OpenBSD configuration than software RAID.

      As always, it comes down to performace vs. simplicity vs. cost - you can pick two. When cost is a concern, you go software RAID. When it isn't you should go mid- or high-end hardware.
      --

      Help save the critically endangered Blue Iguana
    7. Re:Go RAID 5 BUT with real hardware.... by canuck57 · · Score: 1

      If you are going to do this, do it right. It will cost you some up front, however, in the long run, doing it right will be cheaper. Get a real raid card, as in hardware RAID...

      So last century. Problem with hardware RAID is unless you keep a spare card on the shelf, how do you know you can get a replacement when it dies? If you do get a replacement, is the differing version of firmware going to work with your existing configuration? A user is more likely to have the OS compatible CD/DVD handy with the RAID drivers. Plus, with standard hardware, COTS stuff, you could just move to another PC if the mobo fried cooking the I/O card...just move the drives.

      But I could agree with you if it was RAID 1, mirroring as mirrors does not have algorithms in parity etc - it is a 1:1 mirror. Options exist to place a standard controller in to replace the failed one. Not so with RAID 5 and some others. One manufacturers RAID 5 is only going to work with another's by some luck of coincidence, surely not by design.

  41. mdadm by statemachine · · Score: 2, Informative

    What if it is a linux server in a closet and you'd rather the server sent you an email?

    If it is a Linux server, you're already using mdadm, which has a monitoring daemon with e-mail notification.
  42. One acronym - ZFS by GuyverDH · · Score: 2, Interesting

    Get a small box, install opensolaris on it, configure your JBOD as either raidz or raidz2, configure either iSCSI or SaMBa to share the files using a gig link.

    Your data should be perfectly safe, with raidz2 can lose up to 2 drives, without data loss.

    --
    Who is general failure, and why is he reading my hard drive?
  43. RTFM by sholden · · Score: 1

    that is all.

  44. Drobo by Bugmaster · · Score: 1

    Has anyone tried using drobo ? I'm contemplating upgrading my own storage, and they seem to have the least painful solution (as opposed to managing Raid and dealing with disks of different sizes, recovery, etc.), but I have no idea whether their product actually works.

    --
    >|<*:=
  45. JBOD by goofdad · · Score: 1

    I considered this for quite some time before putting together my 2.2TB Myth box two years ago, and I went against the grain and went with JBOD. What takes up the most disk space on my server is images of my DVD's, for which I have the originals, so I don't need the redundancy. For the recorded broadcasts, if I lose them, I lose them. I have a small RAID-0 pair of disks for my music and such that I don't want to lose. I could have shrunk my disk space and went for a RAID cluster (lord knows I have the disks), but the redundancy was overkill for the application.

    1. Re:JBOD by JustNiz · · Score: 1

      >> I have a small RAID-0 pair of disks for my music and such that I don't want to lose.

      It seems you think RAID-0 has some level of error-redundancy, but it doesn't. Its no better than JBOD or a single drive in this respect.

    2. Re:JBOD by Cocoronixx · · Score: 1

      Hrm... I hope you meant RAID-1 for that data you don't want to lose.

      --
      "Obscenity is the crutch of the inarticulate motherfucker." - cloak42
    3. Re:JBOD by Anonymous Coward · · Score: 0

      Maybe he means pair as in two logical drives (each of these is a raid 0) that he just backs up one onto the other.

  46. RAID 0 has no redundancy, great performance by Lucas123 · · Score: 1

    RAID 0 will offer you the best performance but no redundancy of data -- so no fault tolerance. You lose a disk and your dead in the water. RAID 5, on the other hand, offers a parity array, so while it stores parity information for rebuilding data, it doesn't store redundant data. Therefore, you get the most for your money. If you really concerned about data protection, you can also go with RAID 6, which includes a second parity array, for protection against dual disk failure (something I believe StoregeTek originally came up with). Again, it makes the most of your storage capacity by only saving parity data (striped across multiple disks) and not duplicate copies or your original data blocks.

  47. my setup(new) by itzdandy · · Score: 1

    i have just rebuilt my setup and am having good luck with it. this might be an option for you.

    i had this same kind of issue a few years back and started with a 'hardware' raid card(aka bootable software card). when the raid card failed, i replaced it with an exact duplicate but could not recover my array as the firmware was not identical and the chipset revision had changed! in short i lost all my media that had not hit DVD!. next i went software raid on linux with mythtv and that worked quite well though expanding the raid became difficult and multiple logical drives did not suite me well.

    so i went with 2 boxes! one is on an old BP6 dual celery500@600mhz with just 256mb ram running solaris for ZFS. i had read about ZFS a bit and had some old 40GB drives lying around so i built it and did a z-raid on the 3 drives and ZFS rocks! so easy to add drives and i can mix and match sizes and pull out old drives when they arent worth having anymore! im not running opensolaris as ZFS wasnt ready on that platform yet. so now i have 2x120gb, 4x200gb and 1x320gb in the array/ZFS set. i export the drives on gigabit(pci33mhz so im really at about 1/2gigabit cause the pci bus sucks!) and i have better drive performance on my mythtv box via the network than i do with the 4x100GB drives in the mythbox. i am using samba on solaris as NFS was slower and i have not played with iscsi on solaris enough though i plan to implement it.

    solaris and ZFS suit this purpose very well and i dont think i would go back to running a software raid on linux if i can run free solaris and ZFS!

    i am not using the inbuilt disk compression as the media files are already compressed and the celeron processors i think would be limiting.

    i can also access the ZFS samba resource from my windows xp machine and watch the media from their though i had a bit of trouble finding the right codec to play the mythtv format.

  48. SCRUB your arrays! by SuperBanana · · Score: 2, Insightful

    This is what you do: buy 2 drives exactly the same size and mirror them. End of story.

    NO! That's NOT the end of the story. You need to do what is called "scrubbing" the array periodically, because drives "silently" fail, where areas become unreadable for various reasons. Guess when one usually discovers the bad data? When one drive screeches to a halt, and you confidently slap in another and hit "rebuild". Surpriiiiiiiiise.

    You can do it a variety of ways. The most harmless is probably to run a read-only bad-block test via cron, while monitoring each drive's SMART parameters long-term and having your cron job let you know if badblocks finds anything. An alternative is to instruct md to verify the array, if you're doing software raid.

    You cannot, cannot, CANNOT just drop a bunch of drives into raid 5 and expect it to be peachy for the rest of time.

    By the way, regarding controllers- skip ANYTHING made by 3ware, especially their PCI controllers. They're barely able to push 20-25MB/sec and have a couple of bad compatibility problems with certain drives. Areca units are blazing fast (especially the PCI-E cards) but priced for businesses, not home users looking for "cheap as possible."

    Software raid comes in #1 for price/performance, but I strongly, strongly recommend you play around with the mdadm tool quite a bit before you put actual data on an md array. The stuff is very half-baked.

    1. Re:SCRUB your arrays! by Helmholtz · · Score: 1

      NO! That's NOT the end of the story. You need to do what is called "scrubbing" the array periodically, because drives "silently" fail, where areas become unreadable for various reasons. Guess when one usually discovers the bad data? When one drive screeches to a halt, and you confidently slap in another and hit "rebuild". Surpriiiiiiiiise.

      That's why you use FreeBSD or Solaris with ZFS *grin*
      --
      RFC2119
    2. Re:SCRUB your arrays! by statemachine · · Score: 3, Informative

      echo check > /sys/block/md1/md/sync_action

    3. Re:SCRUB your arrays! by Anonymous Coward · · Score: 0

      You can schedule self tests using smart with modern disks. The 'long' self test will do a surface scan and should have a good chance of detecting any degraded sectors. Typically on linux systems you use smartd to schedule checks and send email if new bad sectors appear.
      With software raid 1, you can still recover fairly easily even if you don't notice a problem until after you have bad sectors on both drives. As long as none of the bad sectors overlap between the two drives and the drives still pretty much work, you can use dd to copy the good copy over the bad copy for each bad sector. (Actually under linux you will probably be working with 8 sector blocks, because that is what the OS supports.)

    4. Re:SCRUB your arrays! by Anonymous Coward · · Score: 0

      By the way, regarding controllers- skip ANYTHING made by 3ware, especially their PCI controllers. They're barely able to push 20-25MB/sec and have a couple of bad compatibility problems with certain drives. Areca units are blazing fast (especially the PCI-E cards) but priced for businesses, not home users looking for "cheap as possible."

      Wow, that's some bad advice you've got there. But this is slashdot. I'd suggest anyone reading this *not* listen to the parent and feel free to check out the 9650SE. It's nice and fast.

      Don't be so quick to blame the 3ware card. I have an array of cheapo Maxtors the person before me bought. If I push them hard they'll lock up if NCQ is enabled and won't come back until you power cycle the drive. Turn off NCQ, all is well. This server was able to do a full 200Mb/sec (dual bonded 100), but the drives couldn't handle how hard the 3ware controller was trying to push them. Oh, and no problem pushing the card over your supposed 25MB/s limit. Do you have any proof? Did you put it on a overloaded PCI bus, which, you know, is shared by all the other PCI cards? Did you put your 4x PCI-E into a 1x wired slot? Did you use poor quality drives? 3ware does have a nice list of tested drives/motherboards you can read, too.

      Moral: If your drive is ass under load, turn off NCQ first. If you wanted to use NCQ, buy better drives.

  49. Consider Windows Home Server by chgray · · Score: 1

    one option to consider is waiting a few months for Windows Home Server - one of its key features is a new technology named "Drive Extender". The idea is you make a pool of disks (1394/SATA/IDE/SCSI/USB2/etc). This pool is exposed as one drive letter. You can remove disks as you choose a and even cooler is that you can mix drives of various sizes. You can even remove a disk without causing a blue screen or massive corruption (you should still try to be friendly when you remove disks - yanking them out can be dangerous.. just not nearly as much as RAID strips).

    The data on the disks can be duplicated if you want, just choose a share and select the duplicated attribute. Once selected Home Server will make sure there are always two copies located on two different disks.

    more info can be found here Wikipedia article http://en.wikipedia.org/wiki/Windows_Home_Server

    1. Re:Consider Windows Home Server by xsonofagunx · · Score: 1

      that really sounds a lot like JBOD to me...

  50. Synology ? by runwolf · · Score: 1

    After screwing around using a mixture of linux/freebsd with numerous software and hardware raid drive and so long, having spend a lot of time that I could have use to other thing and also having a hardware failure that was never suppose to happen (You know the kind) and recovering from backup most of my stuff.

    The goal of all this was to have a lot of storage for my house on the network for my PC, mac and Roku

    I decided to try a different way and bought a http://www.synology.com/enu/products/DS106j/synolo gy 106e (You can get it naked, so you get your own drives), added a SATA 500Gig internal and a external 500Gig usb. Backup are automatic once a week (Good for me) and in case of hardware issue I can mount on any PC. You can also do network backup across unit and I may do that later to a remote site. They also have now raid box. It's also 1000BT but I have not seen much speed improvement for what I do at lease. They is a bunch of software running, ftp, www, mysql, php, photo management and media server (itune and UPNP)

    This has been working great for me, there was some privilege issue between the mac and the pc some time but I don't mind too much. It's running linux inside and you can even get in with some special tools(Not recommended by the manufacturer)

    I did this over a year ago and have not spend more then a few hours on it, mostly software upgrade and some minor issue, the termo static fan is starting to make some noise, but it's in the garage so I don't mind :-)

  51. The simple answer is by Mad+Quacker · · Score: 2, Interesting

    that there is no good solution I can find. Every solution is flawed for this purpose, including ZFS.

    I have been giving much thought to writing yet another filesystem, which would fill the needs of home/archival/media box users. Essentially it would be like ZFS, except it would improve upon ZFS's dynamic striping. I would have dynamic parity, such that the number of disks in the stripe-set and number of recovery blocks is completely independent per-file, ala PAR2. ZFS is still just as bone-headed as older filesystem because the vdev's are still atomic, you make a raidz, and it stays that way. The integrity would be on a per-file basis only. So you could add and remove disks at will, no dangerous re-striping operations, and protection and recovery from on-disk corruption. If you lose too many disks, you only lose the information on those disks. A file need not be striped on every disk. Only when a particular file has less parity blocks than missing blocks, wherever such blocks may be, is the file gone. Files on disk should always be recoverable, regardless of "corrupt superblocks", or something similar. This could probably be done using FUSE and some quick and dirty code.

    Why?

    1. We want a lot of storage
    2. We want it expandable, no dangerous restriping or filesystem expansion. There can be NO BACKUPS!
    3. We don't want to wake up in the middle of the night and wonder if the next fsck is the last.
    4. We only care about enough performance to run the media center, i.e. record TV and play movies.

    --
    "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
    1. Re:The simple answer is by canuck57 · · Score: 1

      2. We want it expandable, no dangerous restriping or filesystem expansion. There can be NO BACKUPS!

      There isn't a RAID technology available that I am aware of that negates the need for a backup. In fact, if the importance of your data retention is at all important, it is often MORE important than RAID anything. For most "home" users I say forget RAID. Take the old PC, load it up with new 500GB drives and use rdist/rsync or Samba and back it up before you consider RAID.

      A good backup copy be it to anotehr system or to DVD protects not only from disk failure, but also intrustion, virus, works and general OS corruption in writing to the disk. How many home systems have parity checked memory these days?

      Because if a virus/worm does the equivalent of "rm -rf /*" you still have a copy on the other computer. For RAID anything, it is in essence gone. Undelete can be defeated by filling your drive with new data...

      Or just use a DVD once a week/month. Backups, by some means usually supersedes the need for RAID.

      But I agree with re-striping, it is also why I haven't used RAID 5 for 6 years. A real pain.

    2. Re:The simple answer is by Mad+Quacker · · Score: 1

      Because if a virus/worm does the equivalent of "rm -rf /*" you still have a copy on the other computer. For RAID anything, it is in essence gone. Undelete can be defeated by filling your drive with new data... No you simply should not run as root! But again for protection even from viruses, mistakes, and corruption from any user, this should be a feature of next gen filesystems. Myself I keep my bulk data partitions mounted read-only until I have to write to them which is rare, which is also VERY COMMON for this type of home archival use. If every directory was it's own filesystem you could be well protected from any kind host-related data loss, you would have to give a remount command before you could do any damage.
      --
      "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
  52. No way! by Anonymous Coward · · Score: 0

    Do you have ANY idea how long that would take me to download again!?
    And I wouldn't have any bandwidth left for new stuff in the mean time :(

    Stupid %#@$%ing monthly GB caps on cable service.

  53. Moving data by Anonumous+Coward · · Score: 1

    > even if I gradually replace all of the drives with larger ones,
    > the array will still read the original size.

    The key word to your problem is "gradually".

    Let's say you have three 500GB disks in a RAID5 array and you want to expand. Let's also assume you can't connect more than four drives to your system. So you add one 1TB disk as part of a new (but still incomplete/failed) RAID5 array and copy all your data to it. Next, you remove the three 500GB disks and add another two 1TB disks. Once you've done this, the new array will synchronise its disks. While it does so, your data is safe because you still have your three old 500GB disks. When your three new 1TB disks have sync'ed, you can wipe and sell off the old drives.

    BTW, don't do this with master/slave IDE drives on the same controller.

  54. Unnecessary if all disks are the same size by Craig+Ringer · · Score: 1

    You don't have to do that just to use extra capacity on Linux software RAID 5 disks. Once every drive has been replaced with one of a higher capacity, mdadm can be asked to expand the array onto the unallocated space on the disks, bringing the per-disk used size up to the capacity of the smallest disk.

    If you're using mixed sizes this doesn't work, of course, and then you benefit from grafting them together with lvm as you suggested.

    I tend to use LVM to manage the storage as a matter of course, but prefer to keep the RAID array fairly simple.

  55. You Probably Don't Need RAID by chromozone · · Score: 1

    In my hardware forum there are what people call AFRT"s or "Another Failed RAID Thread". The average single user doesn't need RAID and many people don't discover this until it's too late.

  56. KISS it by masonc · · Score: 2, Insightful

    I did this a couple of times recently. I built a file server to supply ripped DVDs to three media centers in a house. I played around with RAID but got poor disk performance. Eventually I realized that the data is not vital information - the world won't end if you loose some movies and have to rip them again. I put four 500 GB drives in a Supermicro 8 bay server, with the OS on an internal drive.
    Each drive is mapped by each the UNC path, i.e., \\movieserver\movies1 so the media centers have four drives mapped on each one.
    If I lose a hard drive, oh well, some of the movies won't be available until they are re-ripped from the DVDs.

    Had I used RAID5, I would have 1,500 GB and it would not have been easy to upgrade. I have ran out of room and I am adding a couple of 750 GB drives.
    If you use a linux server and LVM, losing one drives loses everything.

    --
    CM www.cometenergysystems.com Blog: http://caribbeanrenewable.blogspot.com/
    1. Re:KISS it by Anonymous Coward · · Score: 1, Informative

      I agree... although I use something slightly different. I rsync or gzip stuff I need or do not want to loose via a cron job to another partition on a different disk. Of my roughly 1.5TB of disks, about 400GB is "duplicated". Raid is a great advantage in the business world on server equipment but I've had bad luck on consumer grade raid equipment in the past. I've had some form of Samba running at my house since 1995 and have quite a few disk failures but have not lost anything I was not prepared to loose. Imagine how many different raid setups and pieces of hardware I would have gone through in 12 years to keep that going? Do you have a new 500GB replacing a 160GB drive? Mount them both, copy the data over and remove the 160GB, Done!
      Another issue, RAID is NOT a backup solution, it is only for speed and/or availability, it only prevents you from losing data from a failed HD. Do you really need the avaialability that RAID offers for that ripped DVD collection? I doubt it. There are many more ways to loose data then a HD failure. A slipped mouse, FS corruption, a goofy raid controller, an accidental delete etc. When I upgrade my file server or add disks, it is simple, mount my disks, point my new smb.conf to those mounts and I am done. Imagine using an on board SATA controller with Raid and having to upgrade because your MB failed. You better hope that new SATA chip set is compatible or your data is lost. Hows that for availability?

    2. Re:KISS it by ZorinLynx · · Score: 1

      That's exactly what I do, too. My most critical stuff also gets rsynced to an external disk (which remains switched off and unplugged off-site in a drawer at work otherwise) every few weeks to guard against failure caused by a lightning strike frying everything in sight.

      There's a good collection of media I back up; sure I *could* acquire again, but it would be a lot of work. My special copy of 2001: A Space Odyssey in 1080p HD especially.

    3. Re:KISS it by Wonko+the+Sane · · Score: 5, Informative

      Had I used RAID5, I would have 1,500 GB and it would not have been easy to upgrade. I have ran out of room and I am adding a couple of 750 GB drives.
      If you use a linux server and LVM, losing one drives loses everything.
      That's why you use hardware RAID. A good card will allow you to swap out drives and rebuild, or add new drives to the array, without ever needing to unmount the anything.

      3ware made some pretty good cards.
    4. Re:KISS it by dwater · · Score: 2, Interesting

      > Another issue, RAID is NOT a backup solution

      It (RAID1) can be, with some caveats. Just 'fail' one of the mirrors and take it off site (same as you would a tape).

      I'm sure it works very nicely in some situations.

      --
      Max.
    5. Re:KISS it by Sir+Toby · · Score: 1

      > Another issue, RAID is NOT a backup solution

      It (RAID1) can be, with some caveats. Just 'fail' one of the mirrors and take it off site (same as you would a tape).

      I'm sure it works very nicely in some situations. Just don't do it like these guys.
    6. Re:KISS it by mcrbids · · Score: 4, Insightful

      That's why you use hardware RAID. A good card will allow you to swap out drives and rebuild, or add new drives to the array, without ever needing to unmount the anything.

      But the minute or so of uptime you get by not having to power down the computer is more than made up when the controller chip on your beautiful RAID controller sizzles. Using Linux software RAID lets you plug the drive(s) into another computer of a completely different chipset, boot up, and continue operations as though nothing had ever gone wrong. IMHO, this is far preferable to the effective lock-in presented to you by hardware controllers.

      For me, it's all 100% software RAID 1.

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    7. Re:KISS it by empaler · · Score: 1

      There's a good collection of media I back up; sure I *could* acquire again, but it would be a lot of work. My special copy of 2001: A Space Odyssey in 1080p HD especially. You're just saying that to make me drool, aren't you?
    8. Re:KISS it by Dogers · · Score: 1

      That's why you get a controller that stores the config on the disks, not itself

      Not quite as portable as software RAID, but works just as well :)

      --
      I am a viral sig. Please copy me and help me spread. Thank you.
    9. Re:KISS it by sbryant · · Score: 4, Informative

      If you use a linux server and LVM, losing one drives loses everything.
      That's why you use hardware RAID.

      Eh?

      LVM and RAID are orthogonal solutions, and don't do the same thing. LVM will let you make a single larger partition out of a number of real partitions, and before anyone says that's the same as RAID0, I should point out that RAID0 is not a real RAID level (as it has no redundancy). The circumstances for failure for LVM and RAID0 (JBOD too) are basically the same - if one part fails, you will quite possibly lose the whole lot.

      As for hardware RAID, I would not necessarily recommend that either, as it moves the single point of failure without resolving the problem. Replacing a broken controller with something compatible some years down the road can prove impossible, especially with onboard controllers. There's also the fact that a number of RAID controller cards are buggy and others do most os the work in software drivers anyway! Performance is also no longer a reason to use a pure hardware RAID solution, especially now that multi-core machines are available cheaply.

      Hot-swap is still someting that requires a good hardware solution, but that's about it. Good (and well supported) RAID products cost good money too, and for most of us it's just not worth doing - better to use software RAID, buy more RAM, and pocket the rest.

      -- Steve

    10. Re:KISS it by Atario · · Score: 1

      If you use a linux server and LVM, losing one drives loses everything.


      Say what?? That's kinda the whole point of RAID5...
      --
      "A great democracy must be progressive or it will soon cease to be a great democracy." --Theodore Roosevelt
    11. Re:KISS it by Fred_A · · Score: 2, Informative

      Hot-swap is still someting that requires a good hardware solution, but that's about it.
      Especially when you've actually tried hot swapping in a few such devices and seen that the RAID thingie is mostly dead in the water for ages while it's trashing itself trying to rebuild the missing bits. In every such case from what I've seen, in real life, with RAID 0|5, while you don't lose any data with a disk failure, you certainly lose availability. In the best of cases you can only get a trickle of data from the remaining disks.
      --

      May contain traces of nut.
      Made from the freshest electrons.
    12. Re:KISS it by macdaddy · · Score: 1, Informative
      As for hardware RAID, I would not necessarily recommend that either, as it moves the single point of failure without resolving the problem. Replacing a broken controller with something compatible some years down the road can prove impossible, especially with onboard controllers. There's also the fact that a number of RAID controller cards are buggy and others do most os the work in software drivers anyway! Performance is also no longer a reason to use a pure hardware RAID solution, especially now that multi-core machines are available cheaply.

      What the fuck are you smoking? Software RAID vs hardware RAID isn't about CPU performance. It's about I/O. It's about reliability. You will never reach the same levels of I/O using onboard or expansion controllers as you will using hardware controller. EVER. Software RAID will never be able to touch the performance of ASICs for calculating parity. Software RAID can't utilize a BBU to protect the I/O stream to save it to disk upon power restoration. Software RAID can't benefit from the multi-channel read performance available with RAID 1, 0+1, 1+0, 5, 10, 30 or 50.

      Your comment about buggy RAID controllers is pure bullshit. Name one buggy hardware RAID controller. I've used hardware RAID controllers from Adaptec, AMI, LSI, and 3Ware on 4 different platforms. I've even used fake hardware RAID controllers from Promise and Highpoint (I've got a Highpoint 404 going real cheap). The real hardware RAID controllers have always worked flawlessly. I have yet to encounter a buggy hardware RAID controller, even back when 3Ware support wasn't yet in the kernel and the driver was a canned offering from 3Ware. The fake hardware RAID controllers from Promise and Highpoint suck. Like you said, the driver does all the work on the non-hardware RAID controllers. The driver does nothing on the real hardware RAID controllers.

    13. Re:KISS it by cheater512 · · Score: 1

      If you have any data which is perishable (e.g. backups and documents) then RAID 5 is definitely the way to go.

      Plus I get a nice performance boost. 200mb/s from 4 drives.
      I dont know what you were doing wrong.

    14. Re:KISS it by Tillmann · · Score: 1

      Hi,

      You can do all that with software RAID5 as well. Nowadays there's no real advantage using hardware RAID5; there's not even a substantial performance gain (in case of cheaper cards, there may even be a performance LOSS compared to softraid).

      I case of failure of the disk controller, you can use any other controller with software RAID, with hardware RAID, you typically need to get the same model controller (or at least from the same manufacturer) to gain access to your RAID again.

      bye,
      Till

    15. Re:KISS it by redcane · · Score: 4, Informative

      I think the comment about CPU performance was more about the fact that with faster CPUs, the speed benefit of a hardware raid solution isn't as useful. I checked the raid6 personality on my 1Ghz celeron, and it reports that it can calculate RAID parity at a throughput of 985MB/s, using the SSE parity calculation routines. That's more than you do any useful file serving with (it has to go out on the network, and that'll saturate gigabit ethernet). The I/O performance advantage of a hardware controller doesn't seem too useful here. I'm also not sure why software raid can't benefit from the multi-channel read performance available with raid 1, 5, etc.... Why can't the software issue a read command to two drives simultaneously? The comment about a buggy raid controller obviously wasn't talking about a new controller, but one that has eventually failed. I imagine they generally become obeselete before they fail, but even so, a failed controller really sucks if you need to figure out how to get the raid stack running on another controller. I had a quick look into it at one stage, and it broke my brain trying to work out what controllers worked with what....

    16. Re:KISS it by Wonko+the+Sane · · Score: 1

      You can do all that with software RAID5 as well.

      So modern motherboards will let you hot-swap drives? I admit I've never tried it, but it seems unlikely.
    17. Re:KISS it by segedunum · · Score: 1

      But the minute or so of uptime you get by not having to power down the computer is more than made up when the controller chip on your beautiful RAID controller sizzles.
      It's not particularly likely, but you can store the config on the disks and use battery backup - something software RAID does not provide. With software RAID you are very much at the mercy of the quality of your motherboard are disk controller, especially if you are hot swapping drives.

      Decent hardware RAID, if you can get it, is the preferable way to go because the parent poster talked about dynamically resizing your arrays on the fly in order to take advantage of new disk space. Hardware RAID is much better at doing that.
    18. Re:KISS it by jamiethehutt · · Score: 1

      That's why you use hardware RAID. A good card will allow you to swap out drives and rebuild, or add new drives to the array, without ever needing to unmount the anything.

      Well as they cost your first born I'm glad you get something more than free software RAID gives you. I mean that weeks wage a good card would cost SO makes up for not having 24 hours down time every 2 years on a home system...

    19. Re:KISS it by Sketch · · Score: 1

      Decent hardware RAID, if you can get it, is the preferable way to go because the parent poster talked about dynamically resizing your arrays on the fly in order to take advantage of new disk space. Hardware RAID is much better at doing that. I believe Linux supports resizing software raid5 arrays as of 2.6.20. Note that you may still to have to unmount your filesystems to grow it, no matter whether you use a hardware or software array.
      --
      -- OpenVerse Visual Chat: http://openverse.com
    20. Re:KISS it by asc99c · · Score: 1

      Another issue, RAID is NOT a backup solution

      We're talking about a media server here. The vast majority of the content starts off backed up - i.e. the DVD collection. RAID does mean that if a disc fails, you're not sat there with a stack of a hundred DVDs to put back on the hard disc. The other data-loss scenarios are unlikely to affect more than a couple of the DVDs.

      As for RAID hardware, get an add-in RAID card that supports configuration on disc. My card was admittedly £180 on it's own, which could have been spent on a lot of disc space. It's just enough above consumer RAID level. If it fails I can just get another, or more likely just swap it under the 3 year warranty. This type of RAID card can nicely sort out the upgrade issues also with online capacity expansion and RAID level migration.

    21. Re:KISS it by segedunum · · Score: 2, Insightful

      There's also the fact that a number of RAID controller cards are buggy and others do most os the work in software drivers anyway!
      It's vitally important that if you go the hardware RAID route then you get the right card. Do not get fake RAID cards, and check your Linux compatibility if you run Linux. If you get the right card than it's infinitely more preferable than software RAID, because there's so much less to do. The OS sees the drive as one big disk, and you can use hotswap cages much more reliably. Don't use hotswap on an onbaord or ad-hoc controller with software RAID. Strange things will happen.

      For info, I use an Adaptec 2420SA - a very nice card as it turns out. I must commend Adaptec on pulling their fingers out on their hardware RAID and Linux support, as aacraid is right in the kernel now. Their previous cards were terrible.

      Performance is also no longer a reason to use a pure hardware RAID solution, especially now that multi-core machines are available cheaply.
      The bottleneck is in I/O, and not on the CPU.

      Hot-swap is still someting that requires a good hardware solution, but that's about it.
      Hotswap is quite important. If you don't have the convenience of hotswap then a lot of the reasons for what you have RAID for (easy replacement of downed drives) are gone.

      Good (and well supported) RAID products cost good money too, and for most of us it's just not worth doing
      Yes it is, and good hardware RAID cards are actually quite cheap. The convenience of the OS seeing an array as one big disk and having the hardware handle it is great, because it takes a layer of management out of the system. Just make sure you have good management tools, which Adaptec certainly seem to have, along with 3ware. Remember that the OS will simply not know if there is a problem, because all it sees is a disk.
    22. Re:KISS it by Firethorn · · Score: 1

      Hot swap is part of the specifications for SATA. Whether any given motherboard or operating system actually supports it...

      --
      I don't read AC A human right
    23. Re:KISS it by jschrod · · Score: 1
      You forgot to mention an important point: Anybody who selects a hardware RAID solution should check the management facilities first, especially the notification about failed disks and what you do when your RAID controller fails. Even if one doesn't need hotswap, one needs a notification first that one's redundancy has gone. There are hardware raid kernel modules that don't even write out a syslog message in case of disk failure.

      Two or three years ago, I had RAID controllers in hosted (read: cheaply rented) Dell systems where the available management software was horrible and where I switched to software RAID for just that reason. (Sorry, don't remember the exact brand any more, it was not aacraid. Therefore I recommend to check that issue.) The lesser performance was not relevant in that case, but the ability to integrate it into our Nagios monitoring was essential. aacraid is OK nowadays, but not all use that.

      --

      Joachim

      People don't write Manifestos any more -- what's going on in this world? [Frank Zappa]

    24. Re:KISS it by Tillmann · · Score: 1

      Hi,

      yes, modern motherboards support hot-swapping of SATA drives.

      Hotswapping of *intact* drives actually works (provided the drivers are decent :))

      However, my experience is that if a drive *fails*, it may in some cases bring the controller into an inconsistent state, which can have weird effects that may require a reboot - or even cause a crash. I've noticed this behavior with cheap Promise and with SiliconImage SATA chips.

      Anyone have experience how hardware RAID controllers (actually, in real life, not just according to specification...) behave in case of drive failure? Can you really, really be sure that you can hotswap a failed drive without having to reboot?

      bye,
      Tillmann

    25. Re:KISS it by macdaddy · · Score: 1

      That's a good point. 3Ware's management app takes acre of this for you. It even warns you on CRC errors. It's pretty slick. I'm sold on 3Ware cards. I have 7 or 8 in production in my own personal equipment.

    26. Re:KISS it by MauriceV · · Score: 1

      Here is an example of a 3ware card going belly up when a single drive is was responsible for failed:

      http://archives.free.net.ph/message/20070407.21080 9.f0100d3c.en.html

    27. Re:KISS it by MauriceV · · Score: 1

      Here's my own example:

      http://lists.linbit.com/pipermail/drbd-user/2005-A ugust/003377.html

      What's going on here is that this particular 3ware card doesn't understand 64-bit and so somehow depends on the IOMMU memhole for its memory and if it doesn't have enough, the RAID is lost.

    28. Re:KISS it by Anonymous Coward · · Score: 0

      You don't need to umount XFS filesystems to resize them. So software Raid5 + XFS can grow on the fly.

    29. Re:KISS it by michrech · · Score: 1

      Hot swap is part of the specifications for SATA. Whether any given motherboard or operating system actually supports it...

      The board I have (Biostar TForce 550) does bad things when you plug in a SATA drive while the system is in Windows.

      I upgraded from another board to this one. Installed Windows onto a freshly formatted drive, then stuck my old drive/windows install onto this board -- no data on the drive! I checked on my brothers machine and the drive was EMPTY. No partitions. I don't know what happened, but I lost a lot of data (though nothing I couldn't recreate/redownload).

      I was pissed because I never had a SATA controller do that before. But I learned my lesson -- I'll never hotplug a SATA drive into that board again.

      --
      bork bork bork!
    30. Re:KISS it by stan_freedom · · Score: 2, Informative

      The guy is building a media server for his home. Does he really need hot-swap drives or hardware RAID? Software RAID is simple to implement and inexpensive, especially if you have enough SATA ports on your motherboard to support your storage config.

      By the way, does anyone have recommendations on 4-port SATA controllers?

    31. Re:KISS it by Bishop · · Score: 2, Informative

      I have an Adaptec U320 raid controller that goes belly up under heavy load. This happens under both Linux and FreeBSD. I don't care if it was a hardware fault, a firmware fault, or a driver fault. I did not have this problem with software raid.

    32. Re:KISS it by BlackSnake112 · · Score: 1

      get something like this: http://www.newegg.com/Product/Product.aspx?Item=N8 2E16817332011

      the RAID is in the external box. just add 5 drives set the RAID level and go. So you have to use an external SATA connection. They have cards for that if your computer doesn't have one already. http://www.newegg.com/Product/Product.aspx?Item=N8 2E16815108103

      I was thinking of doing this for myself. One for data storage and another for backup. Can be bigger then the single USB/fire wire external drives, and some redundancy.

    33. Re:KISS it by soleblaze · · Score: 1

      AFAIK you've been able to resize a software raid5 since the 2.4 days. I know I've done it a few times on a 2.6.9 kernel.

    34. Re:KISS it by glsunder · · Score: 1

      as a cruel joke, tell someone they can take a single drive out of a raid 5 array and put it away as a backup.

    35. Re:KISS it by hesiod · · Score: 1

      > Can you really, really be sure that you can hotswap a failed drive without having to reboot?

      The only way to be SURE is to try it. I tried it the other day on an old IBM server and found out it worked.

    36. Re:KISS it by Anonymous Coward · · Score: 0

      Yes, a media station in your house. Explain to me why you need RAID for that again?

    37. Re:KISS it by toddestan · · Score: 1

      If your controller sizzles, you still need to obtain another controller that can talk to the disks, which is sometimes harder than it sounds.

    38. Re:KISS it by dwater · · Score: 1

      > Just don't do it like these guys.

      From reading the comments, it seems like it actually did work for them - ie they got back all their data with minimal loss (changes since last 'backup'). I can't read the article for some reason - only the comments.

      Did I miss something?

      Max.

      --
      Max.
    39. Re:KISS it by Wolfrider · · Score: 1

      +1 if it turns out to be the Parity drive... [eevil grinz]

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    40. Re:KISS it by NateTech · · Score: 1

      Not if you buy the right hardware. Too many people think "pee-cees" are real computers, while they're hideously bottlenecked for I/O.

      There ARE solutions out there for absolutely flawless rebuilds of RAID arrays, reconfiguration of them on-the-fly, etc... but they're not in a price range most home users will EVER be able to afford.

      The best you can do is LOOK for good in-between solutions. Typically these are still in the "expensive" range for home users. They're out there. They change too rapidly to recommend any of them.

      --
      +++OK ATH
    41. Re:KISS it by masonc · · Score: 1

      >I dont know what you were doing wrong.
      No, neither do I. Many of my installations use software raid and work very well. For the design of this uber mediaserver, I choose a 3ware SATA interface in a supermicro server. I installed the OS on a single drive, initialized the 4x500GB drives, mounted them, and updated everything. Then I started copying over the movie content. I found the write times to be painfully slow. So much so that after trying everything I gave up and plugged the drives into the motherboard and used them seperately.
      I think that most of the posts forget that this is not critical data and that the system will continue to work if one drive dies, all that is lost is some of the selection and it can easily be replaced. This is not a solution for business data.

      --
      CM www.cometenergysystems.com Blog: http://caribbeanrenewable.blogspot.com/
    42. Re:KISS it by jimicus · · Score: 1

      The thing you missed was that the array spent most of its time trying to recreate the redundancy which had been lost by pulling the mirror.

      In other words, yes it was a RAID but 90% of its working life it wasn't redundant.

    43. Re:KISS it by dwater · · Score: 1

      Ah, ok...but what's the problem with that? I mean, if the intention was for it to be a backup solution, not a redundancy solution, then that's fine.

      Was it supposed to be?

      Max.

      --
      Max.
    44. Re:KISS it by Anonymous Coward · · Score: 0

      Why would you power down? With linux software raid you can just repalce or add disks while running. You can also grow the raid to the (new) size of the smallest disk if you changed a small disk for a bigger one.

    45. Re:KISS it by Daedone · · Score: 1

      Yep, many MB's will let you hot swap. I have an Nforce4 MB with 2 300GB SataII drives in a mirror, running win2003 (yes legitimately, Microsoft Partner Program is a GOOD thing). Anyhoo, one of the drives up and died, so i had to swap it out. They weren't in hot swap bays. Don't panic, no problem. With sata the power connector was designed to be HS, if you look there are 3 contacts on it that are longer than the others, they are the ground pins. Pull the power, pull the data(since the drive is dead anyway, you arent losing any data) then just be careful with a *non-conductive* screwdriver ;)

  57. Using LVM (Linux) with RAID by Burz · · Score: 1

    ...will allow you to resize it easily.

  58. Performance requirements by merreborn · · Score: 5, Insightful

    I am in the process of planning and buying some hardware to build a media center/media server


    The advantages of RAID 0 versus RAID 1 versus RAID 5 have already been covered in detail, here, and in many books and websites.

    However, allow me to address the issue of how they relate to a media center:

    Firstly, when you say "media center/media server", do you mean "I just want to build myself a kickass Tivo?", or do you mean "I want to serve video for everyone in my frat house, simultaneously?"

    If the former, consider that Tivos ship with 5500 RPM drives for several reasons:
    1) They're cheaper than faster drives
    2) They run cooler than faster drives
    3) They run quieter than faster drives
    4) They use less power than faster drives
    5) They're more than fast enough for streaming a single video to your TV while recording another

    Long story short, if you're just building a "free" Tivo with a kickass drive array, performance is *not* an issue. Keep in mind that if you're building a set-top box of sorts, the low heat and low noise features are *very* big benefits. You probably want RAID 5, and/or JBOD.

    If, however, you're planning on serving video to more than a handful of stations simultaneously, you may need to consider performance. This is a vote for RAID 0 and/or RAID 10.

    Now, the second axis: How important to you is this data? Really?

    I've got over 300 gigs of drive space on my Tivo. Most of it is the last two weeks of television reruns (Scrubs, 6 copies of last Thursday's Daily Show, etc.), movies I recorded but won't watch, etc. There are about 10 gigs (3%) of video on there that's been saved for a few months, and frankly, I couldn't tell you a single thing on there that I'd miss if my drives went belly up tomorrow. So: do you *really* need to save all those Seinfeld reruns on a highly-redundant storage array? How *much* of the stuff on the server do you really need to keep?

    Assuming it's less than 50% (in the Tivo scenario, it probably is), consider using JBOD for most of your storage, and maintaining a single backup drive, or small backup drive array. Or just backing up the good stuff to DVD.

    In summary: If you're just building a Tivo, you probably don't really need the performance, or redundancy that RAID offers.
    1. Re:Performance requirements by dan+the+person · · Score: 1

      If the former, consider that Tivos ship with 5500 RPM drives for several reasons:

      Where can you buy 5500RPM drives?

      I wanted one for my myth box for all the reasons you mention, but could only find a 40Gb drive, so i had to go with a 7200RPM drive.

    2. Re:Performance requirements by Abcd1234 · · Score: 1

      Long story short, if you're just building a "free" Tivo with a kickass drive array, performance is *not* an issue.

      Tell me that again when you're recording two programs, playing back a third, and doing commercial flagging on two more. This is doubly true if you're dealing with HD content.

      So: do you *really* need to save all those Seinfeld reruns on a highly-redundant storage array? How *much* of the stuff on the server do you really need to keep?

      On the topic of storage volume, that depends a lot on use cases. For example, if you have a wife that loves to record dozens of movies so she can watch them at her leisure, the answer could very well be, "a lot". My system had 250GB, and that became cramped rather quickly. I now have 750GB in an LVM-on-RAID1 setup, and things are much more comfortable.

      It also depends greatly on if you're recording HD. HD takes something like 4 times the storage of SD content... 300GB suddenly looks rather paltry in the face of that.

      Meanwhile, in my experience, the redundancy on a media center isn't to prevent data loss. It's to prevent downtime. If one of the drives goes down in one of my mirrors, my system can continue recording and my wife and continue watching TV, with only a few minutes of downtime while I physically install a new drive. In the end, that's worth the extra money, IMHO.

    3. Re:Performance requirements by toddestan · · Score: 1

      Same here. I have several of the last generation 5400RPM 160GB drives from Samsung. They are completely silent, very reliable, and can run all day in a fanless external enclosure and be barely warm to the touch. I would like to get more 5400RPM drives, as I see the only drive that really needs to be fast in the computer is the boot/programs/swap drive, while the mass media storage drives would be perfectly happy on a 5400RPN drive.

  59. (Sorry, it's just test) by needled24 · · Score: 1

    I am on testing whether this site works well in my mobile web-browsing environment.

  60. Infrant X-RAID is the solution by JoeShmoe · · Score: 4, Interesting

    Infrant (wow, just checked their website and it looks like they were bought by NetGear) created their own version of RAID that specifically addresses the issue of capacity and expansion. It's a nice transitional blend from RAID-1 to RAID-5 and does offer the ability to increase the total capacity (albeit with a lot of drive swapping).

    Buy an Infrant RAID with the two biggest drives you can afford. Let's say two 750GB drives or whatever's on sale that week. It starts out acting as RAID-1 with the drives mirroring. So you have 750GB of "safe" storage. Now you add another 750GB drive. Okay, now you have 1500GB of storage with one of the drives acting as parity drive (RAID-5). Add a fourth drive and how you have 2250GB of "safe" storage. Now you come back and just replace one of the original 750GB drives witha 1TB drive. Do you get extra capacity? No...not initially. But the drive is fully formatted and integrated as X-RAID. What this means is that eventually after you have piecemeal or onesie-twosie upgraded all four drives, suddenly the X-RAID resizes itself to match the capacity of the new drives with no transfer or downtime. So in theory if you wanted to upgrade your RAID, buy four 1TB drives, swap them out one at a time (letting each one rebuilt the array) and then at the end you'll have 3TB RAID isntead of the old 2250GB RAID and all the data intact.

    http://www.infrant.com/products/products_details.p hp?name=About%20X-RAID

    I have three ReadyNAS units and love them to death. They are a little fussy about drive temperatures (I guess that's a good things but, I may get like 40 emails during the course of the day about it and it's not like I'll drive home from work to turn up the A/C in my house). My only sadness is that Infrant doesn't have a higher capacity unit than four drives (oh please oh please, eight drives with a RAID-6 type protective hotspare in one nice rack-mountable unit would be my ultimate dream).

    -JoeShmoe
    .

    --
    -- I wonder which will go down in history as the bigger failure: the War on Drugs or the War on Filesharing
    1. Re:Infrant X-RAID is the solution by norkakn · · Score: 1

      Infrant stuff sucks ass. We bought one at work to try it out, and it is horrid. We reboot it once a week because it will lock up. Transfer speed is horrible. NFS support is horrible.

      Infrant tech support has flaked us off, and claims that a drive is bad, even though we can find no evidense of it. It will "lose" drives (usually 2 or 4, sometimes 1) for no reason, which will be fixed by a reboot.

      And, under the hood it's a cheap SPARC running hacked up linux and md. You'd be far better off building a whitebox running md and lvm instead of dealing with the infrant crap. They keep promising to give ssh access, but I'm thinking that I should just hack through their shitty security instead. Picking linux without using LVM to its potential was stupid anyways. They obviously are not a fan of openness, so they'd have been better served by FreeBSD-Stable running gvinum. I'm really not sure how they got NFS to run so slowly. It's almost as bad as their CGI coding skills.

    2. Re:Infrant X-RAID is the solution by kozchris1 · · Score: 1

      Have the Ready-NAS and it has been perfect. No downtime in 3 years except to upgrade the firmware. The Web based administration console has come a long way and is very useful. If you don't have time to muck around building your own box this is the way to go. Quiet, competitively priced, and works well.

    3. Re:Infrant X-RAID is the solution by pyrofx · · Score: 1

      Sorry you have had this experience. I have an Infrant NV+ and it initially had a SODIMM go south in the second week. Infrant sent out a replacement instantly and due to xraid I didn't even lose a file in the process of swapping it out.

    4. Re:Infrant X-RAID is the solution by JoshuaDFranklin · · Score: 1

      We have no problems with the ReadyNAS we have, either, though performance is not great. I'd go with 3ware with LVM on top if you can afford it, or maybe even Starfish or ZFS with a bunch of SATA drives on a couple cheap machines.

    5. Re:Infrant X-RAID is the solution by JoeShmoe · · Score: 1

      I'll give you credit for your lowish user ID but this seems like a fairly one-sided, trollish comment. I've never had any Infrant lockup on me. The worst I've ever had was a weird glitch where browsing a particular folder would cause an hourglass in Windows but browse find on a Mac. Tranfer speed, especially with jumbo frames, is exceptional. NFS support? Ah well since I only use SMB or AFP I can't comment on that but even if they dropped NFS support completely it would still be the best NAS solution out there.

      Reality check, all RAIDs lose drives. Adaptec, 3ware, Promise...every RAID card I've ever had will have the occasional flipped bit or phase of the moon that causes it to fail a drive. There almost always nothing wrong with the drive but RAID controllers are not built to be forgiving. It does give me heartburn while I'm nervously watching the three hour rebuilt, I'll grant you that.

      Whitebox solutions are worthless in a business setting. Yeah, great fine for a five-person startup where one guy can take ownership and make it his baby and deal with the inevitable fingerpointing between this, that and the other. Business want "black box" solutions. I don't care what's inside as long as data goes in and data comes out. I suppose you'd poo-poo MythTV as being hacked-up Linux too? Infrant made AFP support as simple as checking a box on a webpage and that's all the CGI coding I care about. Hand me a MythTV-style RAID solution that I can just boot to the CD and have it work and I'd be more than happy to give it a try.

      -JoeShmoe
      .

      --
      -- I wonder which will go down in history as the bigger failure: the War on Drugs or the War on Filesharing
    6. Re:Infrant X-RAID is the solution by dargaud · · Score: 1
      YES! This this the post I wanted to read!

      Everyone else in this thread failed to properly answer the original question, which is fairly obvious: not everybody can purchase a stack of disks at the same time to create a big RAID and then toss the whole thing 2 years later. Swapping the smallest drive for the newest and biggest every year or so is a dream come true if you can preserve reliability while still optimizing drive space.

      And it's funny to see that half the posts go 'hardware RAID' while the other half go 'software RAID'. The latter will lockup if a single drive crashes (low uptime) while the former is impossible to rebuilt without the exact same hardware in stock.

      --
      Non-Linux Penguins ?
    7. Re:Infrant X-RAID is the solution by macno · · Score: 1

      I am a longtime 3ware hardware raid user. All 3ware controller will pick up the disks from a older card and recognize a working raid. 3ware is very reliable, but not neccessary the fastest thing on earth. To add a 750GB disk to a 5 disk running array will require about 150 hours of hard work that will slow down data acceses... Another thing 3ware does is that it is very sensitive to just slightly non-perfect disks. And just forget reinstalling a once discarded disk, it is marked as BAD, even though the best disktests says it is perfect...

    8. Re:Infrant X-RAID is the solution by norkakn · · Score: 1

      My uid is artificially high from the Great Accidental Account Deletions of 199something.

      I think that there is probably a hardware problem with the box, but the company will not take it seriously. I really don't have anything good to say about them except that they are cheap.

      I'm really sure sure how you can call the transfer speeds exceptional.

      These are with Jumbo frames enabled. I honestly can't remember if the infrant numbers were done directly connected or through a switch.

      Xserve to Xserve via AFP 254.6
      Xserve to NAS via NFS 44.48
      Xserve to NAS via AFP 50.23
      Xserve to NAS via SMB 49.89
      (all speeds in Mb/s)

      OSX is pretty bad at filling pipes, but I don't think it can be blamed here. We've seen similar speeds with the Linux box backing up to it.

      All RAIDs loose drives? You must be using cruddy hardware as we have not seen this elsewhere. We have a number of vendors, and none of them lose drives. I'm not sure that Infrant does hardware RAID, they mention "Hardware Accelerated RAID", but the logs point to md. We've retired a number of Dells into lesser service using either md or geom, and they work flawlessly. For 3 or 4 drives, software RAID is in a lot of ways superior to HW RAID. Anyways, the Infrant won't let you rebuild without a reboot, which is silly. Their AFP support is just netatalk, same as almost anyone else.

      I poo-pooed the cgi because it doesn't work. Same thing with their detection software.

      I think the general consensus is that NetApps are the best NAS out there. An ultrasparc would be better than the infrant. Businesses want stuff that work and fail gracefully. The infrant is neither

    9. Re:Infrant X-RAID is the solution by Rich0 · · Score: 1

      The latter will lockup if a single drive crashes (low uptime)

      That would depend on your controller. I think that most SATA controllers can handle a drive failure without disrupting the other drives. With IDE you might or might not lose the other drive on the same interface depending on what goes wrong.

      And even if the system dies you won't lose any data.

      What I laugh at is all the posts here suggesting that the only way to have 500GB of reliable storage is to spend $3000. A simple RAID-5 using md gives later expandability and reliability, and you only waste the capacity of a single drive.

      Sure, RAID-10 might give you better performance, but you double your costs. A hardware card might give better performance in some cases, but you add $1k to the price and it is less flexible.

    10. Re:Infrant X-RAID is the solution by srvivn21 · · Score: 1

      Infrant (wow, just checked their website and it looks like they were bought by NetGear) created their own version of RAID that specifically addresses the issue of capacity and expansion. It's a nice transitional blend from RAID-1 to RAID-5 and does offer the ability to increase the total capacity (albeit with a lot of drive swapping). Same idea, less cost.
    11. Re:Infrant X-RAID is the solution by Abcd1234 · · Score: 1

      ot everybody can purchase a stack of disks at the same time to create a big RAID and then toss the whole thing 2 years later.

      Then build an LVM-on-RAID. If a drive fails, you just swap out two. Is it less space efficient. Sure. But it's also more reliable and vastly more flexible.

      As for lockups on drive crashes... I don't know what shitty system you're running, but I've never even heard of that happening.

    12. Re:Infrant X-RAID is the solution by MannyO · · Score: 1
      That drobo looks pretty cool and it costs around $500, however you can buy a ReadyNAS NV+ for about $150 more (with no disks, just like the Drobo).

      Let me tell you where that extra $150 goes:
      • The ReadyNAs is a DHCP/Print server
      • The Drobo has an external power supply
      • And here's the deal killer: The ReadyNAS is an actual NAS, meaning it has a 10/100/1000 Ethernet, the Drobo is just USB.
      There's a couple of other minor things, but the Drobo is not a NAS, it attaches via USB.
    13. Re:Infrant X-RAID is the solution by cerberusss · · Score: 1

      What I find funny is that there aren't any bonnie++ results for the Infrant devices available. A search through Google turns up eight unusable results

      --
      8 of 13 people found this answer helpful. Did you?
    14. Re:Infrant X-RAID is the solution by srvivn21 · · Score: 1

      That drobo looks pretty cool and it costs around $500, however you can
      buy a ReadyNAS NV+ for about $150 more (with no disks, just like the
      Drobo). The prices I found in a short search showed about $950 for a 250GB version, with no diskless version available. Further looking shows reasonably reputable dealers selling the diskless version for >$550. That makes the drobo's avantage even less.
    15. Re:Infrant X-RAID is the solution by loyukfai · · Score: 1

      One thing I would like to know, is that how do you backup when using the Infrant solution, or any other RAID setup whereas the HDD capacity is becoming larger and larger...?

      (I understand that you don't have to backup EVERYTHING, like all of last week's TV shows as suggested in another post, but let's say you need to backup something, say >1.5TB...)

      Using DVD is not quite practical since a modern HDD is easily >50 times the capacity of a single layer DVD.

      Using Blu-ray or HD-DVD maybe a bit more practical, but the drive and discs are not cheap at this moment.

      How about using tape? Don't know much about this. Is it possible to find a tape setup which is economic, say, under $150, for such usage these days?

    16. Re:Infrant X-RAID is the solution by JoeShmoe · · Score: 1

      Online storage, that's the only option. The only way to really back up RAID is another RAID.

      Tape is a horrible option. A 400GB tape drive would easily cost you more than an entire redundant RAID and you'd still be dealing with multiple media and the possibility of a tape you don't know is bad until you go back to restore it. Forget tape...there is literally never a situation where a hard drive (or even a pair of hard drives) isn't more economical and just as reliable.

      Optical media is better, but I wouldn't even consider it until we have 500GB multiple-layer holographic discs made with gold or some other stable material instead of the cheap coatings that most CDs and DVDs use that get bitrot. So forget optical media...although I'll admit that if someone made a sanely priced 300CD jukebox then that would be a good option.

      It's all about mirroring your RAID. It's not as hard as it sounds. First, since filesystems all suck at telling the difference between mission-critical unique data and MP3 files or browser caches, you have to divide up your RAID by backup priority before you do anything else. I have \DATA (which is actual real data, documents, email and so forth) then \MEDIA (which is copies of CDs and DVDs, yes it would be a pain to re-rip but in theory not as unique and irreplaceable as real data) and \JUNK (mainly video render and capture files that I'm currently processing or reencoding so this is stuff I can easily get back).

      Chances are if you have or are getting a RAID, you'll be freeing up a lot of formerly important hard drives. Guess what? You don't need them in your computer now, that's what the RAID is for. TAke the 200GB drive out of your PC and replace it with spare 60GB. Get a cheap USB enclosure for the 200GB drive. Now, it's a backup device. Backup you RAID, starting with the real \DATA (what's a lifetime of email and documents take up, 10GB tops?). Then copy over whatever \MEDIA fits, starting with photos first and then MP3s and movies last. IF you run out of room, that's fine. Got another spare drive lying around? Copy a 2nd copy of \DATA. then whatever \MEDIA didn't fit on the first drive.

      Label the drives and contents and put them in a cool, dry, safe place (firebox or safe in your closet for example, don't forget some silicon packets inside to absorb moisture). Now you are "backed up". Check in on the drives every now and then, or keep adding to the collection with additional old unused drives. I guarantee that in the even your RAID fails completely, you'll find at least your \DATA. Even if one or even multiple old drives failed, data recovery from a single drive is a piece of cake for recovery companies. RAID reconstruction? Not so much.

      Of course, the only way to truly sleep well at night is to have two identical RAID at two physically different locations connected with a nice connection running rsync at least daily. That's what I do, because my sleep is worth that. Barring nuclear attack simultanously in Houston and Sacramento, I'm pretty sure my data's going to be around as long as we are still using hard drives.

      So my advice is to spend that $150 on ten cheap USB enclosures and then rummage through your old drive drawer or get whatever's a bargain of the day and start with that while you save up for the dual RAID setup.

      -JoeShmoe
      .

      --
      -- I wonder which will go down in history as the bigger failure: the War on Drugs or the War on Filesharing
    17. Re:Infrant X-RAID is the solution by loyukfai · · Score: 1

      Indeed, the capacity disparity between removable media and hard drives is a problem for making backups.

      Any recommendation for online backup services?

    18. Re:Infrant X-RAID is the solution by JoeShmoe · · Score: 1


      Err...no, in this case the term "online backup" means hard drives. IE, the data is kept "online" and accessible. This would be the opposite of offline backup...tape or CD. Offline (or near online) means that the data is in statis somewhere and not easily accessible. I didn't actually mean an online service, although that's definitely an option.

      Someone wrote a utility that lets you "mount" Gmail as a drive letter, and this can be combined with multiple Gmail accounts I believe for about 2-3GB each. That's free but, probably sketchy. Storage hosting is about $1/GB/month, which could be expensive for anything beyond your \DATA folder. If you get a dedicated server, it can be about $.50/GB/month for about 250GB or so of storage (I like calpop.com because their servers come with unmetered 10Mbps ethernet so you don't worry about transfer overages or anything else).

      And, depending on how much you trust other people, or how good your encryption is, why not put a drive or cheapie NAS at a friend or relative's house? Bonus, if you share \MEDIA you both can crib each other's collections. :)

      -JoeShmoe
      .

      --
      -- I wonder which will go down in history as the bigger failure: the War on Drugs or the War on Filesharing
    19. Re:Infrant X-RAID is the solution by loyukfai · · Score: 1

      Many thanks.

      I think mirroring a RAID at a friend's apartment is a good idea (in some cases). First of all it's the cost issue, and in case you really need to restore the data, it's probably easier and faster than downloading from a hosted solution.

      There are some very cheap hosted solution who boast huge or even unlimited capacity but I doubt their reliability for such a low price.

  61. use software raid by Lehk228 · · Score: 1

    linux software RAID as NAS
     
    you can then configure it for external access and LAN access easilly, and by running your RAID in software you can always add additional Arrays rather than trying to expand an existing array.
    * denotes array which should be taking in new data during a particular phase

    phase1: *3x500r5 total storage 1TB, move to phase 2 at 500GB,
    phase2:[+2 drives] 3x500r5, *2x500r1 total storage 1.5TB move to phase 3 at 1TB (active array full)
    phase3:[+0drives] 3x500r5 2x500r0, convert the 2x500r1 to striped 2x500 in order to hold the half of the 3x500r5 in use, move to phase3.1 immeditately
    phase3.1[+1drive] 4x500r5*, 2x500r1,total storage 2TB move on to phase 4 at 1.5TB (active array full)
    phase4:[+1drive] 4x500r5, 3x500r5*, total storage 2.5TB, option to fill all arrays now, or to "retire" the 4x500 from the cycle and repeat from phase 2 with the 3x500r5 by acting once you are at 2TB

    --
    Snowden and Manning are heroes.
  62. I use by wasabii · · Score: 1

    I use Linux software raid. I bought a rack mount case that can hold a *hit Ton of drives, leave it in the closet, and randomlly put in old drives I obtain. I use Linux LVM to mash the drives together so no parts of the file system are on a single disk. Like, I have a 200Gb disk, a 150 GB disk, a 50 GB disk, and two 20 Gb disk. I split the 200Gb disk into a 150 partition and a 50 partition. I then mirror the two, i take the 50 gb partition and the 50 gb disk, and mirror them. The I mirror the two 20's. Then I append the entire thing together.

    You can do stuff like that with software raid. Just get a great rack mount case that has as many 5.25 bays as possible, put in sata hot swap bays, and start collecting disks. Add extra SATA controllers to top it off.

    Of course, that is just file storage. You can export it with iSCSI or Samba and use it from windows media center... or just use NFS with Myth. Whatever.

  63. Warning! by pete-classic · · Score: 1

    [I]f I gradually replace all of the drives with larger ones, the array will still read the original size.


    This is your official warning that you are in over your head. If you consider your data to be critical in any sense you should use an off-the-shelf solution.

    That said, the most straight forward approach to this situation would be to build a second RAID 5 set using the extra space once you have upgraded all of the drives. Depending on the sophistication of the software and hardware driving the RAID set you might be able to set up a RAID 1 on the extra space once two drives have been replaced, then grow that into a RAID 5 as more larger drives come on line.

    For extra credit you could manage the space with some form of LVM (Logical Volume Manager/Management).

    Also note that "RAID array" sounds foolish, since it would expand to "Redundant Array of Inexpensive Disks array", which isn't the kind of redundancy we are trying to accomplish.

    Good luck!

    -Peter
  64. My advice... by Nezer · · Score: 1

    Seriously... This person needs to read more about data storage technology and tailor what they can afford (and can afford to lose) with their situation.

    Personally, I assign the whole thing to a volume group this way data is easy to move between drives and I get to use it anyway I want. I also backup my systems nightly using Tivoli Storage Manager so there's always a second copy of my data already on another disk somewhere. If that somehow fails, I also have a mirror copy on tape that is also updated at the end of the backup runs every night.

    This configuration means I don't mess with mirroring, I get decent performance, and my data is restorable. Tape drives are really cheap these days. Lookup DLT drives on ebay, 40GB of enterprise-level storage gear for a relatively low investment.

    I also don't consider "media" files as something worth having redundant. You already own the DVD/CD right? If so you have the master you can always re-rip. Still, I do consider my iTunes library worthy of a backup simply because of the volume of music I'd have to rerip (really). Otherwise, I don't bother backing up movies and stuff I might have ripped.

    The poster's situation will probably be totally different and there's no way in hell anyone at /. can really tell this person what is best especially if they aren't inclined to do the research to answer the very basic questions posed.

  65. Solaris by Natales · · Score: 1

    I can't believe that nobody has recommended Solaris 10 x86. Check the ZFS filesystem as it includes most of the features found in RAID and LVM combined at the OS level.

    If the only thing you are planning to do with that box is storage, then Solaris is a no brainer. If you also want to add most of the standard stuff you find in Linux, such as apache, Samba, NFS, etc, you can also do all that. Heck I can even run Asterisk on it now, and you gain terriffic security when you use zones/containers.

    1. Re:Solaris by atrus · · Score: 1

      Second (and third and fourth) for Solaris/OpenSolaris and ZFS. Its the best thing to happen to local file system storage in a long time.

  66. A word of (RAID) advice by rs79 · · Score: 1

    Have a spare controller on hand. Trust me on this.

    --
    Need Mercedes parts ?
    1. Re:A word of (RAID) advice by Abcd1234 · · Score: 1

      Or, for systems that don't require uber performance, just use software RAID.

  67. Maybe a droopy Drobo can help by Anonymous Coward · · Score: 0

    Perhaps the guys at Data Robotics can help, or maybe not.

  68. Expanding your raid with EVMS or WHS by master811 · · Score: 1

    If you want to be able to expand your raid, one option (if you are at familiar with Linux is to use EVMS http://evms.sourceforge.net/ as it allows you to expand on your existing raid system, without you losing everything. The other option is to wait until Windows Home Server comes out which although isn't raid 5, in fact its more like raid 1, although not exactly like it, it will still allow you to have redundant expandable storage, and probably a lot less riskier than EVMS (cos if something does go wrong you may well lose your raid, and will have to rebuild it from scratch which won't be fun.)

  69. x86 Hardware + Solaris x86 + ZFS = Your Solution by Smackintosh · · Score: 2, Interesting

    Don't bother with dedicated RAID hardware controllers. I've seen the Linux md disk driver mentioned, and while a viable option, the better option IMO is Solaris x86 using ZFS. Basically you've got an industrial-strength piece of storage software ripe with features begging to be used in this situation....for free.

    If you're interested in an industrial strength hardware platform to go with the software, go for one of these.

    If you're interested in rolling your own, then simply put together an x86 box with as many SATA controllers and buses you can stuff in a box and set the disk up as JBOD (just make sure the hardware is Solaris x86 compatible of course). Create some ZFS pools of whatever RAID suits your need, and sit back and enjoy data glory.

    Oh, and simply pick a protocol of your choosing to serve up the data to your clients...iSCSI, SMB, NFS, whatever.

  70. raid10 vs raid5 by Anonymous Coward · · Score: 0
    What is everyones thoughts on using the Linux raid10 driver?

    It seems that raid10 has these advantages over raid5:
    • It is an easier concept than raid5 due to not having parity spread out over the entire array
    • Slightly better performance (no need to dodge/skip parity sections of the disk when reading/writing)
    • Scales better
    • More flexible in that you can change the performance/redundancy individually, on the fly

      The downside is that you need more drives, and it'll cost you more.

      Any theories on this?
    1. Re:raid10 vs raid5 by denis-The-menace · · Score: 1

      cons: need more drives (space, power, noise, etc)

      --
      Obama's legacy: (N)othing (S)ecure (A)nywhere and (T)error (S)imulation (A)dministration
  71. Obvious by Anonymous Coward · · Score: 0

    Start by defining the amount of storage you need. Now buy 3x as much. For instance, if you want 1TB, buy 3TB. 3x 1TB drives will work nicely, but 6x 500GB drives works just as well. If you go the 3x 1TB-drive route, use the first two in a RAID1 configuration. If you go the 6x 500GB-drive route, use the first four in a RAID0+1 configuration.

    Use the remaining drives as a backup destination, preferably in another computer, but even in the same computer is better than nothing. Set your backup to be automatic. Verify your backup regularly. BTW the backup drive(s) can be external if you ran out of SATA / IDE connectors; speed is not that important.

    Bottom line: you want redundancy, for easy recovery in case of hardware failure, and you want backup for easy recovery in case of operator error, or for recovery in case of catastrophic failure.

    If you can only afford 2x the space you require, always choose backup over redundancy. Backups can recover under circumstances where redundancy cannot; the opposite is not true.

    Don't bother with RAID5, it's not worth it. Reasons why:

    - You still need backup. Therefore you will need to buy at least 2.5x your desired capacity. The savings are small over the 3x required for RAID1 or RAID0+1.

    - RAID0, RAID1, RAID0+1 are all supported by most motherboards. RAID5 requires either additional hardware (more expense, another thing to go wrong) or software (slow, boot problems, etc).

    BTW I have learned this lesson the hard way. First, I lost everything when I had neither redundancy nor backups. Later, I lost everything when I had only redundancy, and my controller card failed (wiping all drives in the process). Later, I nearly lost everything when I was using only redundancy again - RAID5 this time - I upgraded my OS and it could not rebuild my array. Now, I use RAID1 + Backups, and have recovered from multiple otherwise catastrophic failures, upgrades, drive swaps, etc.

  72. 6 x Seagate 7200.10 320GB SATA 300 drives in RAID6 by un1xl0ser · · Score: 1

    Ubuntu 7.04, works great.

    --
    v4sw6PU$hw6ln6pr4F$ck 4/6$ma3+6u7LNS$w2m4l7U$i2e4+7en6a2X h
  73. Re:Linux, raid5, LVM on top, can use extra capacit by Anonymous Coward · · Score: 0

    With Linux you can create a RAID5 md device, say /dev/md0, then run LVM on top of that (pvcreate /dev/md0 ; vgcreate MyVgName /dev/md0) and use that to carve out your storage. The key here is to create partitions on each drive, eg filling up the entire disk, and create your raid5 with those.

    If you buy 1TB drives further down the road, here's what you do- With each disk, create a partition identical in size to the partitions on the smaller disks, then allocate the rest of the space to a second partition.
    Join the first partition of the disk to the existing RAID set. Let it rebuild. Swap the next drive, etc. etc. Then once you've done this switcharoo to all the drives, create another raid set using the 2nd partition on your new disks--call it /dev/md1. So now you have /dev/md0, pointing to the first 500GB of each disk, and /dev/md1, pointing to the 2nd 500GB of each disk.

    Take that /dev/md1 and graft it onto your LVM volume group. (pvcreate /dev/md1 ; vgextend MyVgName /dev/md1). Now your LVM VG just doubled in size, and you can use all that new space. Whatever you do though, do NOT create any "striped" logical volumes (the "-i2" option to lvcreate; LVM's Poor Man's RAID0, basically) because you will suffer terrible performance, since you'll be striping across different volumes on the same physical spindles (a big no-no for any striped configuration). But if you use the extra space by creating new filesystems or growing existing ones, you shouldn't see any trouble.


    "It's almost too easy." --Garth

  74. Media server? by Lost+Penguin · · Score: 1

    "I am in the process of planning and buying some hardware to build a media center/media server"

    I would suggest a backup/restore solution instead of RAID.
    Ghost images of the OS, and daily backup of the media storage to a large external SATA drive.
    If you go with RAID, use RAID 10, this requires twice the drives to get the same space; 4 one TB drives will give a 2 TB array.
    RAID 10 is faster than any RAID except RAID 0, and RAID 10 is redundant.
    If you go with RAID, go hardware RAID.
    Always buy spare drives when you buy the originals for the array, as you may not be able to buy replacements later.

    --
    I am the unwilling control for my Origin.
  75. some slightly different info by H310iSe · · Score: 1

    Read thru the comments, much of it very good, here's some addendum
    1) software RAID with windows is a bad idea. Linux, as everyone says, is more or less fine.
    2) raid 5 w/ a controller - if you loose the controller, you loose the raid unless you can find an identical controller and have taken all the proper steps.
    3) mirrored RAIDs can be recovered even if the controller fails, and have very, very good read speeds. Put your boot partition and important data on the mirror
    4) one easy way to go is do a hardware mirror for your primary bootable partition (avoiding the problems of installing the OS to a software mirror) then put 2 additional (smaller, faster?) disks in a software RAID0 for your intensive read/write stuff and back them up on a daily basis 'cause some day you're guaranteed to have that fail catastrophically.

    --
    closed minded is as closed minded does
  76. If you really have that much cash to throw around by Rooked_One · · Score: 1

    Consider RAID-10... fast and VERY redundant... You can have multiple drives fail out and its fast.

    However, you will need to have at least 6 disks, and you do loose space... so i'd probably go with raid-5, and although SAS drives would be nice... well... can you say expensive? Consider an MD1000 from dell - just buy one with 3 hard drives and pick up your own that are preferably the same brand. And the basic support is worth it if you are handling more than 5 hard drives as hard drives like to fail.

  77. step by step by Anonymous Coward · · Score: 0

    Nothing can possibly go wrong. Especially if you use, like, 10 disks.

    Ha ha. Ok, for the ignorant, if you have d disks together in a RAID 0 array and each disk has a s% chance of surviving a given time period (say, a year), then all of those disks together in a RAID 0 configuration has a (s/100)^d*100% chance of of surviving that year. Example: 10 disks, each with a 98% chance of surviving a year gives .98^10*100% approximately equal to 82% chance of surviving the year. If each disk had a 90% chance of surviving the year, then the RAID 0 configuration of 10 of them would have about a 35% chance of surviving the year. Bad idea.

    Ok, first, get fully educated about RAID 0, 1, 5, 0+1. It's not that hard to understand, really. Then, study the differences between the idea of RAID x and the particular implementation of RAID x on your chosen operating system/raid card.

    Second, consider MythTV's storage groups feature. The latest version of MythTV (SVN trunk, which may be stable by the time you actually get everything together), will intelligently load balance over many directories (each one representing a different mounted spindle) giving you way better performance than simple RAID0/1/5. But, consider RAID 1 for redundancy for each directory in the storage group. If it's data you want to keep. If it's just TV recordings, don't bother, unless you really can't live with the idea of losing a few episodes of star trek when your system goes down.

  78. linux lets you resize the array by Anonymous Coward · · Score: 1, Informative

    with md on linux you can add a drive to an array or extend an array to use more of the drive later

    so you can start with 3x500 (1TB useable) and replace them with 3x1TB (2TB useable)

    however, seriously consider raid 6 instead of raid 5, it eats up an extra drive (minimum usealbe arrays are 4 drives giving you the capacity of 2 drives), but with today's large drives it can take long enough to rebuild the array that you run a very real risk of a second drive failing while you are rebuilding from the first one.

    currently md on linux will not let you switch on the fly from raid5 to raid6

    David Lang

  79. Get help... seriously. by binaryspiral · · Score: 1

    If you're going to be storing important data on these drives - contact a vendor that sells, configures, and supports these types of setups - like IBM.

    Your efforts to learn about this technology while setting it up and supporting will lead to disaster. You either know it well enough to make good judgments or you don't. Admitting you need help (other than asking /. )

    You can (with most hardware) resize an array into a larger array when you replace all the drives with larger drives. The methods are specific to each vendor - see first recommendation.

  80. what a waste... by CaptainNerdCave · · Score: 0

    how about joining netflix at the highest level and then ordering every film you might like? certainly makes for great rainy days when you've got nothing better to do. personally, i've downloaded most of the outer limits and am starting on quantum leap (never got to see all of a lot of episodes) so that i have stuff to watch when i'm just loafing around. going through all that effort just to stream porn to your television is a horrible waste when you can just watch that on your pc... use the television and surround sound system for things that are worthwhile

    1. Re:what a waste... by WaZiX · · Score: 1

      You just suggested Quantum leap over porn? Wow...

  81. Correct, sort of by llZENll · · Score: 1

    According to googles recent disk report, their recommendation is to mirror disks 3 times, this is coming from a company which uses millions of drives, all the RAID formats, and hundreds of controllers. Listen to them.

    RAID can be flakey, is hard to manage, and if something small goes wrong you are screwed. Copying hte data many times is much easier, works on any system, and is much easier to recover from, setup, sometimes cheaper, and more easily expandable.

    Buy 3 different drives (if you buy the same they often fail close together or for the same reason).

    Mirror all data to one drive.

    The 3rd drive is for important files and incremental backups, the reason you need this is you simply can't mirror data blindly because if files are corrupt windows simply copies the corrupt file and you won't know something is wrong until it is too late.

    The most open way to do incremental backups I have found is to use a batch file and backup files into a zip file which have changed since the date of your last incremental backup. Do incrementals every week/month or so, and mirrors every night.

    1. Re:Correct, sort of by pla · · Score: 1

      The most open way to do incremental backups I have found is to use a batch file and backup files into a zip file which have changed since the date of your last incremental backup. Do incrementals every week/month or so, and mirrors every night.

      Look into rsync'ing against a hardlinked copy. Each backup effectively gives you a full backup, yet takes up only as much disk space as an incremental.

      It does eat up inodes, though, so make sure you don't skimp on them when you first format your drive (and if you have tons of small files, you might want to reserve a hefty surplus of them).

      After years of suffering through how best to trade off between full and incremental backups, this little trick just blew me away. As for your backup media, you can use a separate physical machine, or even just a single (or regularly rotating set of) large USB HDD (everyone spare me the tape-vs-HDD argument - Suffice it to say, I consider tapes (or more accurately, tape drives) the biggest waste of money ever created) that you keep offline 99% of the time.

  82. Intel Matrix RAID by tdelaney · · Score: 1

    I hate to plug a manufacturer, but when I upgrade my home server I'm getting a motherboard with Intel Matrix RAID on it. I've got my two 320GB SATA drives - I'll configure a 400GB RAID-0 volume and a 100GB RAID-1 volume on them. Very efficient use of the drives - I've got no use for 320GB of redundant storage, and it's not cost-effective to buy smaller drives.

    If I had 3 drives I'd probably instead go 100GB RAID-5/600GB RAID-0. Might still do that.

    BTW I know the numbers don't quite add up, but I'm using round figures (and advertised, but not really, 320GB/drive).

    1. Re:Intel Matrix RAID by elwinc · · Score: 1
      Me too! My new desktop box has matrix RAID. My volume 0 is RAID-1 (mirrored); I've got two bootable OSs there. My volume 1 is RAID-0 (striped); I use it as a very large scratch area. If I had an HTPC I'd format it similarly: mirror the OS part and stripe the area where video is stored.



      A few things to note: qtparted and some other partition editors cannot see matrix RAID. To them your pair of physical disks appears to be a pair of physical disks. fdisk can see them either way:
       

          sudo /sbin/fdisk -lu /dev/sda
      /dev/sda1 * 63 79875179 39937558+ 7 HPFS/NTFS

          sudo /sbin/fdisk -lu /dev/sdb
      /dev/sdb1 * 63 79875179 39937558+ 7 HPFS/NTFS

          sudo /sbin/fdisk -lu /dev/mapper/isw_fgdhiebbc_RAID0

              Disk /dev/mapper/isw_fgdhiebbc_RAID0: 456.5 GB, 456570175488 bytes

          sudo /sbin/fdisk -lu /dev/mapper/isw_fgdhiebbc_RAID1

              Disk /dev/mapper/isw_fgdhiebbc_RAID1: 171.7 GB, 171798691840 bytes


      The big bonus of this layout is that you get to choose exactly how much of your disk will be devoted to redundancy. As a small added bonus, the mirrored portion of the disks is slightly faster to access because it'll choose whichever disk head is nearest the cylinder you want to access.

      --
      --- Often in error; never in doubt!
  83. RAID reshaping by Aredridel · · Score: 1

    Under Linux and using some hardware controllers, RAID arrays can be reshaped when drives are all a larger size, and to add new drives.

    Also, sub-optimal, but possible is to use, say, 2 250gb partitions on a 500gb drive, and expand that way.

    Strange but works, if your RAID driver is flexible enough.

  84. Server motherboards... server noise? by nick_davison · · Score: 1

    For increased performance, watch your motherboard selection. You could grab a server oriented board, with dedicated PCI buses for slots, and split the drives over the cards. While this is about HD options, bringing other hardware like motherboards, particularly server oriented ones, opens up sound...

    A motherboard designed for a server closet can be as noisy as it damn well pleases - performance and reliability is the goal here and a good way to up those is to get heat the hell off the components and a big noisy fan does that pretty well.

    If the media server sits in another room and all that sits near the TV is a passively cooled, deliberately underpowered system with a high speed network connection to the other room, system noise is a total non issue.

    But, if you're planning on just using one box by the TV, sound is likely to be a serious issue for real movie enjoyment (assuming this isn't the pron storage everyone else jokes about). If that's the case, the range between the insane fans some northbridge chips use (some NForce4 models come to mind, though this obviously isn't the server class you're talking about) and a passively cooled one (or one you can swap out to water cooled) is pretty dramatic.

    Given that you can now get totally passively cooled PSUs and a simple kit like Zalman's reserator will passively cool your processor and GPU, literally your only remaining sources of noise will be drive noise and motherboard fans. It would truly suck to get an otherwise utterly silent system and then listen to a motherboard whirring away because it was designed for a server closet.
  85. Simplicity Rules ... by constantnormal · · Score: 1

    Avoid excess complication. With the perpendicular recording drives and SATA II, the data comes off the platters at around a gigabit per second, so that's what your sustained max read is likely to be to begin with. Plenty for a media server. No need to combine multiple data streams via striping and RAID-5 for performance.

    For reliability, the current Hitachi terabyte disks offer incremental storage increases at about $0.40 USD per gigabyte. You can mirror them, and that's good enough, the incremental storage cost is still under a buck per gigabyte. If the controller or cpu dies, you still have your data. If one disk dies, you still have your data. If it were irreplaceable stuff, maybe there would be an argument for more stringent methods, but really what you're trying to avoid is the nuisance of having to reload everything. If you want to drive the incremental storage cost lower that $0.80/GB, then you can look into striping via RAID-5 or something like ZFS.

    The important thing here is to find an external case that will support an adequate number of drives with acceptable noise levels and reliability for the lowest cost. I recently went with the Sonnettech Fusion 400 (not the triple-interface, but the older eSATA II model, as I was looking to keep the cost down), and an external SATA II controller card for an older Powermac G5 (SATA I is all the onboard controller supports on the original G5 Powermacs). The controller and enclosure were about $600, and the first TB drive $400. So for about $1000, I have a TB media server that I can expand to at least 4 TB over time for at most $0.40/GB (in increments of 1000 GB). For the moment, I have no redundancy, but after a few months, I'll pick up another drive and set up mirroring via software. When I fill up a TB of data, I'll add a third drive (they should be really cheap by then) and employ some form of software-based data striping to drive down the fraction used by the stripe. By the time I need a 4th drive, some newer technology will doubtless have arrived that makes SATA II obsolete, and I'll start the whole process all over again.

    So far as I can see, there's no viable alternative to some form of data striping to provide adequate backups. With the amount of data contained in a media server, redundancy via striping is the only rational means that I can see of protecting me from a single-disk failure that loses data and forces me into a lotta work to rebuild the library. Other failures are certainly possible (house burning down trumps all local backup, and offsite backup of the amount of storage in a media library is impractical), but this covers the likely cases (and the only ones I've ever lost data to so far), and is simple enough to work.

    The more complicated your data protection scheme is, the more likely it is that some facet of the complexity will end up biting you in the ass.

  86. RAID 1 and backups by Phybersyk0 · · Score: 1

    From a performance perspective, all I can recommend for the general PC power user is: Raid 1.
    Raid 1 will give you a mirrored storage setup, which doubles the number of spindles and heads you have at your disposal, arguably doubling your access and write times. It will guard against hardware failure, but regardless of what you do, NO RAID LEVEL WILL PROTECT YOU FROM STUPIDITY.

    For all the fancy-schmancy disk magic that can be done for very little cost these days, which the one thing that many people do not "get" is that nothing else matters but YOUR DATA. Drive capacaties are growing at fantastic rates, which means you now have more data than ever to lose.

    Investing in a proper backup solution should be priority-one for users who utilize their computers as a tool for creating, well, anything. Music, art, writing, programming... things that simply cannot be replaced from scratch. We use computers to get these things from our brains to a more communicative medium. It is foolish to expect that the computer will remember all that which you created -- FOREVER.

    Ultimately this will come down to how much your wallet can bear. You can begin with using offlined disk-to-disk backups, that is to say, an external hard disk that you use for backups and ONLY for backups. When your backup operation is complete, you switch the thing off and set it aside. A 300gb drive with 8 mb cache can be had for around $80 in some markets. A miniscule investment, considering a drive dies about every 2-3 years depending on use and it will be covered under warranty.

    The ability to remove junk data from your archive repository will prove its value after opting for a more expensive solution and find yourself scanning through stolen milk crates filled with DDS3/4, LTO or DLT tapes.

    Yes, you can drop A LOT of cash in optical or magnetic media storage systems, but those require deep pockets and good mind that is good with scheduling, logging, tape rotation, and testing backups.

  87. rsync RAID1 (Mirror) by onetruedabe · · Score: 1
    I've had identical HDDs, bought at the same time, set up for RAID1 mirroring, and both died at the same time -- within hours of each other, overnight, without any time to swap out the failed disk!


    So now I've gotten into the habit of setting up two 500GB disks, partition them the same, and rsync(1) from the master to the backup periodically. [Run out of cron four times a day, e.g.] The second disk does far less work, therefore it shouldn't fail as quickly.

    Ideally, I'd love to be able to incorporate revisioning (and/or snapshotting) on the second disk -- basically use it as a journal to track deltas, and cycle backwards through transactions as necessary to do point-in-time recovery.

    I'm guessing this is along the lines of what Apple has in mind with the "Time Machine" feature in Leopard.

    --
    Dabe

  88. NOISE! by ddoctor · · Score: 1

    The #1 design constraint for a media centre pc is noise. You need it to be quiet. You don't want a big rattle/hum in your lounge room.

    I'm a huge fan of RAID... but for a media centre, use a single, big, quiet hdd. And put soundproof foam in the case.

    Instead of RAID, set up automated daily backups to another machine.

    If you were setting up a general-purpose fileserver, go RAID 5... if it's real important data, go RAID 10... if it's REALLY important data go RAID 1. For a media centre, I'd use single hard drives.

    Just don't use RAID 0... except maybe on a pure games machine... that's backed-up twice daily... and put your save-games somewhere else. Seriously, speed, schmeed. Always assume any hard drive will die in the next 10 seconds and be prepared. If you use RAID 0, assume it'll die in the next 5.

  89. unRAID by Coppit · · Score: 2, Informative

    I can't believe no one has suggested an unRAID server. You get redundancy, storage that can grow by just adding another drive, low power consumption, affordability, and the ability to telnet in. (Plus it runs Linux!) I really like this solution since the data isn't spread out over a bunch of disks in a way that only the RAID controller can understand. Instead it's just a bunch of files on a bunch of disks, with an extra parity drive for reliability.

    If a drive goes down, you can just pop a new one in and recover the lost data from the parity drive. If two drives simultaneously fail (unlikely), you lose the data on the drives that failed. Compare that to the nightmare if your RAID controller fails.

    Here's my unRAID server, built for $400 plus the drives. I love being able to do backups by just running rsync. Once the author gets sshd built into the system, I can even do automatic incremental snapshot backups using rsync --link-dest.

  90. Slashdot-IE7 by Lost+Engineer · · Score: 1

    Has anyone else noticed that the new comment system looks like crap in IE7?

    (My firefox can't access anything right now due a known bug, and I am listening to internet radio. If I restart 'fox then I will have to listen to ads.)

  91. Use ZFS - expansion and RAID for free! by Anonymous Coward · · Score: 0

    ZFS allows you to trivially add/remove disks and you get RAID-Z (supposedly better than RAID 5) for free.

    1. Re:Use ZFS - expansion and RAID for free! by Koutarou · · Score: 0

      At present ZFS will not let you add or subtract disks to a single raidz component. This is one of the big shortcomings to ZFS flexability at present.

      What you can do to add capacity is to add another component, either raidz or mirror to your pool.

      You can also replace individual drives in the raidz with larger ones, and after all drives are replaced, exporting and importing your zpool will make the additional space available.

  92. I have a similar setup... by sam0737 · · Score: 1

    I will presume your setup is:
    1) used at home. That means downtime is not that uber important, while heat and noise could be a problem
    2) Budget is not that limited, but you surely want to maximize the effectiveness of every dollars spent

    I am running a MythTV Box with Ubuntu Linux, just with a single harddisk. On the other hand, I have a standalone backup server, again Ubuntu Linux, on a old P4 box.

    The backup is done with a software called Dirvish, which is a rsync based solution. It will keep changes and versions, while those not-changed are only kept once, not duplicated, hence saving space. The good thing I like most is that the backup data is retrievable by normal means, directly from file system or Samba. By the way, the backup server is configured wake-on-lan in the morning and shutdown after it has finish the backup.

    As my media collection grows, I have upgraded my mythtv box 2 times, from 250G to 320G to currently 500G. The retired harddisk is moved to the backup box as JBOD to enlarge the backup volume. I use EMVS BadBlockRelocation feature for the JBOD just for the peace of mind (not sure if there is any actual use though :P)

    The pros (compare to RAID5/10 solution):
    1) Single harddisk: less heat and noise. Less heat also translated to longer harddisk life, less pressure on cooling equipment.
    2) Multiple version of backup. From my experience, so far (used for 1.5 year) all my data lost is result from human (read: me) error...like accidentally deleting something, or overwriting something. The backup saves me couple of times, really. RAID can save hardware failure, not human error.
    4) As you upgrade the harddrive of the Media Center Box, you got a new one. In my experience I need a bigger harddrive for every 6-9 months, and the rate of failure within 9 months is really low. If you start with a big RAID, and planned to use for the prolonged time, it's just easier for any of them to die.
    5) $$$ might not be a problem...but it really is!

    The cons (compare to RAID5/10 solution):
    1) When any backup harddisk totally fry and die (not just bad sector), your backup partition is just doomed. But who cares? Just rebuild the backup server and redo.
    2) When your Media center's harddisk die, your media center just down. Although you are safe, but you have to spend time to execute the restore plan.
    3) Frequent upgrade may end up putting a lot of harddisk in the backup server...not that much that would cause problem on me yet, but eventually...

  93. Intelligent response (please ignore). by Anonymous Coward · · Score: 0

    RAID works bets if every drive in the array is identical specs. (preferablly just put a 2 or 3 in your quantity when you buy off a website, or get multiples of the same boxes off the shelf)

    I can never remember RAID 0 versus RAID 1, but one is going to give you the same size as JBOD, but will be both faster and much more likely to cause you to lose all data. (My opinion, avoid unless you want a really fast swap partition and have no data you don't want to lose. Most of the time JBOD is better).

    The other RAID gives you good redundancy, but slow speed. Useful for mission critical data and zero downtime, but you only have half the space you otherwise would. And you still need to backup, because a power surge can easily fry both drives.

    RAID 5 is better than the others, you get 2/3rds data, no speed loss, and good data retention (you can afford to lose 1). And if you lose a drive, the system will still be up. You *still* need backups though. Cause once again, power surges.

    Mostly I think JBOD is going be better unless you either have issues with remembering to backup (like me), or absolutely need better speed or no downtime.(like Google).

    1. Re:Intelligent response (please ignore). by maxwell+demon · · Score: 1

      I can never remember RAID 0 versus RAID 1

      That's actually simple to remember: RAID 0 gives you zero redundancy.
      --
      The Tao of math: The numbers you can count are not the real numbers.
  94. FFS mention JBOD = Just a bunch of disks by Anonymous Coward · · Score: 0

    See subject. I can't believe I wasted 30 seconds of my time Googling that just to find out that it's one of the more worthless acronyms ever invented.

  95. Re:SCRUB your arrays! MOD PARENT UP! by CRC'99 · · Score: 1

    echo check > /sys/block/md1/md/sync_action


    When I read the GP's post, I thought that verifying the array - however google brings up VERY little information about this. It seems there is no way to do this through 'mdadm' - which you would assume you'd do it with - as that does everything else to do with array management...

    It wasn't until I came and read the replies to this post that I actually found out how to do this!
    --
    Sendmail is like emacs: A nice operating system, but missing an editor and a MTA.
  96. Power, heat, and noise. by Myself · · Score: 1

    First, go back and read this ZFS thread from a few days ago. Good stuff about storage arrays that essentially manage themselves. One of my major points of paranoia has been silent data corruption, and ZFS has the best handling of that (end-to-end checksumming) of which I'm currently aware.

    Second, have you given any thought to power management? Most desktop drives eat around 10 watts when operating, falling to 2 while in sleep mode. Multiplied across a pile of drives, that's a lot of power, heat, and noise. Consider this:

    Put your OS on a CF card, or a mirrored pair if you're paranoid. (Dual CF-IDE adapters are all over the place.) Keep frequently used data on a mirrored pair of laptop drives, which are fairly quiet and don't need much cooling. Don't worry about wearing them out with spindle starts and stops, since they're laptop drives and they're made for it. A five-minute spindown timeout would probably be appropriate. Put your bulk storage on a RAID-5 or RAID-6 stripe set of regular desktop drives, and give them a longer spindown timeout, say 30 minutes, so they only stop the spindles at night.

    Now here's the question: Could ZFS be instructed to only scrub the storage when the platters are spinning? If it's been half an hour since the last user access, pause the scrub and spin the drives down...

    Automatically moving frequently-used files between the big RAID and the quiet mirror is an exercise left to the reader. ;)

    1. Re:Power, heat, and noise. by swordgeek · · Score: 1

      "Could ZFS be instructed to only scrub the storage when the platters are spinning? If it's been half an hour since the last user access, pause the scrub and spin the drives down..."

      Short answer is no. You could potentially write a script, but it would be a lot of mucking about for little cause. Spinning up a RAID set is expensive and slow, and in Unix-land, disk access is generally non-zero even during idle times.

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
  97. Re:Linux, raid5, LVM on top, can use extra capacit by Mage+Powers · · Score: 1

    I'm liking the software raid5 as well.

    I started out with a 40gig, an 80gig and a 160gig :) You can't boot off of a raid5.

    Personally my drives are mostly partitioned 1-65 (512mb) for Raid 0 (boot partition)
    66-end of drive for Raid 5.

    I'm surprised you're suggesting making another array...
    I've been getting good use out of mdadm, pvresize, and finally lvresize

    Growing the /dev/md2 looks like this:
    mdadm /dev/md2 -G -z 79000000 -- read man page, I think this is kb used from each drive
    pvresize (doesn't need any arguments)

    also, when you build the array, use --metadata=1.2 as the current default has an upper limit of 2tb devices. (i.e. /dev/sda1) (I prefer to think long term ;)

  98. Some hardware RAID is portable by The+Rizz · · Score: 1

    Using ANY hardware RAID setup will require you to use the EXACT same card no matter what to recover data. Even the firmware will have to stay stable or else your data can be kissed goodbye.
    Not true. I don't know about other manufacturers, but from personal experience I do know that 3ware's arrays are very portable.

    I use 3ware controllers, and have actually moved entire arrays to different cards with no problems. In fact, due to an issue with the firmware on their 5000 series, I have purposely used newer cards to initially build the arrays, then moved them over to the older 5000 series cards.

    If you're willing to use IDE (PATA) drives instead of SATA, you can pick up their older series cards off eBay for fairly low prices (RAID 5 will need the 6000 series or newer cards).
  99. What about if you want 5 petabytes? by rpseguin · · Score: 1

    We are working on a mission where we will get 2-4 terabytes of data per day.
    And we are going to keep it... A petabyte a year give or take a few hundred terabytes.

    I'm all ears for an "inexpensive" solution to this. :-)
    You don't want to know how much this stuff costs.

  100. RAID 5 is damned easy. by SanityInAnarchy · · Score: 4, Interesting

    This is what you do: buy 2 drives exactly the same size and mirror them. End of story.

    Until another few years go by and you want to buy more storage. Then you're basically stuck with doubling it, clumsily -- or migrating away and essentially throwing out the old drives.

    RAID 5 is better in the short run. Even with a three disc array, you're getting more storage for your money, and you can always restripe it onto a fourth disc.

    (If you need more than 500 GB I would highly suggest encoding your porn into a different format than MPEG2)

    It's not all porn, and some of it is high def, in h.264. And I don't even edit videos, I just watch 'em.

    With computers, the stupidest thing you can do is spend extra money to prepare for your needs for tomorrow.

    That is true. However, I would fill a terabyte easily, and right now, I'm guessing it's cheaper to buy three 500 gig drives than two 1 tb drives.

    By the way RAID 5 is a pain in the ass unless you have physical hotswap capability, which I highly doubt.

    You highly doubt he's got SATA?

    The one thing I will say is, either have another disk (even a USB thumb drive) to boot off of, or do some sort of RAID1 across them. You almost certainly want software RAID on Linux, and you don't want to try to teach a BIOS to boot off of your array.

    --
    Don't thank God, thank a doctor!
    1. Re:RAID 5 is damned easy. by archen · · Score: 1

      By the way RAID 5 is a pain in the ass unless you have physical hotswap capability, which I highly doubt.

      You highly doubt he's got SATA?


      SATA is ONLY hot swapable if all the voltage rails are used because one pin for each voltage is used for hotplugging. Since most drives can run using a molex power adaptor, this means that 3v is left disconnected and therefore most SATA are not hot swapable.

    2. Re:RAID 5 is damned easy. by A_Non_Moose · · Score: 1

      (If you need more than 500 GB I would highly suggest encoding your porn into a different format than MPEG2)

      It's not all porn, and some of it is high def, in h.264. And I don't even edit videos, I just watch 'em.


      PSSSST!! Hey, buddy, I know drives are supposed to survive physical shocks but all those little impacts
      add up over time.

      So either move you computer off the table or push your chair back a little while...errr...ummm..."watching".

      Less bruising and data corruption...win-win.

      So I've heard, yeah that's it...
      --
      Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
    3. Re:RAID 5 is damned easy. by SanityInAnarchy · · Score: 1

      Thanks for that, glad I haven't actually had to try hotplugging anything yet.

      How do you check whether a particular drive/controller/PSU is ready for SATA hotplug?

      --
      Don't thank God, thank a doctor!
    4. Re:RAID 5 is damned easy. by archen · · Score: 1

      I think the PSU is required to correctly implement the connector. As for the drives, I think probably the only real way of being sure is to look at the feature list of the drive. I know Seagate makes drives that support hotplug, so I'm guessing they require the correct connector from the PSU with no adaptor, or they're ignoring the 3v line - which I guess strictly speaking they're not supposed to do. Honestly I'm not sure what the hard drive uses the 3V line for aside from the fact that I think it was billed as a future route for power saving.

  101. Some very useful advice by MikShapi · · Score: 1

    I just wrote this a few days ago. May give you something to think about, quite possibly for more than one of the machines you are planning.

    --
    -
  102. Ubuntu works fine. by SanityInAnarchy · · Score: 1

    Did it for a friend recently. Also, currently on ubuntu + dmraid on my own desktop (I dual-boot with Windows on a RAID0 array, because I'm a cheap bastard).

    I recommend Ubuntu unless you have a good, specific reason not to, because it's easy, popular, and reasonably up-to-date.

    I'd also recommend using NFS and/or Samba to share it, unless I'm missing something important. In particular, NFS lets you tune for jumbo frames, to get the performance you expect from Gigabit.

    --
    Don't thank God, thank a doctor!
  103. wewps meant raid1 by Mage+Powers · · Score: 1

    root@prometheus:/lib/modules/2.6.20-12-generic# cat /proc/mdstat
    Personalities : [raid1] [raid6] [raid5] [raid4]
    md2 : active raid5 sda2[0] hdb2[3] hda2[1]
                158964096 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]

    md0 : active raid1 hda1[0] sda1[2](S) hdb1[1]
                521984 blocks [2/2] [UU]

  104. Depends on power requirements. by SanityInAnarchy · · Score: 1

    With the amount of storage I buy these days, I wouldn't bother so much...

    I'd just start out with a few discs, at least 3 for RAID5, maybe more. Then, when I need more storage, I have a choice -- if I only need, say, 500 gigs more (and I have an array of 500 gig drives), I can just add it on to the existing array and restripe. If I need a LOT more, I could build a new array, but keep the existing one around, either for backup, or just to have a bunch of storage.

    --
    Don't thank God, thank a doctor!
  105. LVM by richie2000 · · Score: 1

    RAID-5 a bunch of disks. Then put LVM on top of them. When you want to start growing, put another set of RAID-5 disks in, migrate the data over and remove the old disks. Or, if the data is semi-expendable - ie music, recorded TV shows and movies - just use ReiserFS on LVM on a JBOD. It's easy to grow and very flexible. My archive has grown from 2 x 10GB Maxtors in 1998 to 2.1TB now.

    --
    Money for nothing, pix for free
  106. Re:If you really have that much cash to throw arou by scatters · · Score: 1

    I just did a bunch of perf testing for a new production OLTP storage system at work. Here's the results (along with some obvious points):

    RAID 0 - Fastest read/write performance, best disk capacity, zero redundancy.
    RAID 1 - Read/write limited by low spindle count, maximum 2 disks, capacity is equal to smallest disk, single disk failure tolerant.
    RAID 5 - Good read, slower write performance due to the calculation of parity, good disk capacity, single disk failure tolerant. In my tests, IO performance peak appears to be around 9 disks, after which through-put drops off significantly.
    RAID 10 - Good write, better read, throughput scales in a fairly linear manner up to the limits of the controller, disk capacity is 50% of total disk capacity, support multiple failures (providing a failed disk's mirror partner doesn't also fail). My tests showed that an 8 disk RAID 10 set performed better than a 9 disk RAID 5 set with all other configuration settings unchanged.

    All of the above was tested with a good quality hardware RAID controller with write-back caching enabled.

    So, in summary, if you want a good balance of capacity, performance and fault tolerance, RAID 5 is the way to go - 9 disks appears to be optimal. If you have plenty of disks, I'd go with RAID 10. Of course, I'd be asking myself if I really need the disk performance, or if I just think that I do. Do some performance profiling, look at disk queues, IOPS, etc. to determine if the expense, time and complexity are warranted.

    --
    A One that isn't cold, is scarcely a One at all.
  107. Couple comments: by SanityInAnarchy · · Score: 1

    First, if you can help it, don't use FUSE. It'd work for the media center, for now, but I don't think a filesystem is the right place to say "We'll do it quick and dirty, it doesn't have to perform well." I am doing a project in FUSE, but said project is designed to go over the Internet -- similar to GmailFS.

    The only advantage of FUSE, in this case, is that it would be portable -- as in, Linux and OS X, and maybe Solaris, BSD, and Windows eventually.

    Second, don't use PAR2. Something similar, yes, but PAR2 itself is obscenely slow, last I checked. As in, may actually be too slow even with your assumptions about performance (FUSE would work, PAR2 would not). I realize you probably only meant it as an analogy, just thought I'd warn you.

    Third, you will want to restripe things to some extent. It could be done atomically (no risk of failure), but suppose you start with one disk, say, and then add another. You're going to want all your files mirrored onto the second disk, so that either disk can fail. If you then add a third, you'll want to convert to RAID5 -- stripe across the first two disks, parity on the third -- so that any disk can fail, but you still have as much space as you can. Add a fourth disk, and you might want to restripe that one file -- but since this is at the FS level, you can use free/temporary space, even copy the whole file at a time if it's small enough.

    Or, as you say, don't stripe it across every disk -- but the fewer you stripe it across, the more space you're wasting to parity (or a full copy of the file).

    And finally, you might consider not doing it quick-and-dirty. As just a small example, ZFS fragments badly enough on its own, and I imagine this would be worse.

    I'd also suggest a background process that does random checks, so that you don't come back to access a file a year after you saved it, only to find it gone.

    But I do have to agree with you -- filesystem design is basically dead now. Reiser4 had me excited for awhile, but now the project seems dead, and never really held much promise for more than just a really fast local FS with FUSE-like toys attached to it. I badly want to write a filesystem, but at the same time, C sucks, and it's the best we've got for FS design. Sometimes I just have to stop myself from rewriting everything...

    --
    Don't thank God, thank a doctor!
    1. Re:Couple comments: by BigZee · · Score: 1

      Just a small point here. You're description of a 3 disk config is actually RAID3 not RAID5. The difference is that RAID3 uses dedicated parity disk(s) whilst RAID5 uses all disks equally for parity and data. The basic reasoning behind this is that in a RAID3 array, you can end up with a situation quite easily where the performance of the array is never fully realised because the parity disk(s) are a bottleneck.

  108. powersaving by pe1chl · · Score: 1

    When deciding between RAID and JBOD in a media server, you should also keep in mind the noise level and power demand.
    In a system with 5-10 disks used for media storage, you will need to run an entire RAID group, probably 5 disks, when playing or recording on a RAID array, while when using JBOD you only need to run the disk the actual recording is made on. This of course assumes you have a separate filesystem on each disk and manage the distribution of data yourself, not via some LVM scheme.
    I have setup my media server to stop disks after about 10 minutes of idle, and this makes quite a big difference in power consumption and noise level (the thing is in the living room).
    It is also easier to add or upgrade disks. Of course there is the risk of data loss when a disk breaks down, but I don't value my collection that high that the loss of a part of that would be a disaster.
    (you could always keep the really valuable items on more than one disk, or you could make backups. trouble is that a usable backup medium for terabyte capacities does not exist in the consumer market)

  109. Use raid5 groups of 4 or 6 disks by swilver · · Score: 1
    I recently talked to someone in the same situation, and he wanted to create a system with 3x 500 GB disks in a RAID5 configuration. The problem is that it's tough to upgrade later on when you have an odd number of disks in your RAID5 (like 3 or 5 disks). Sets of 4 or 6 are easier to upgrade later on, consider this example:

    Let's say you start with 4x 500 GB, for a total effective space of 1.5 TB in RAID5, at some point this array fills up and you want to upgrade. So you buy 2x 1 TB drives. Create two 500 GB partitions on each of these 1 TB drives. Now copy the data from the existing RAID5 to the new drives. Drop your old RAID5 array, and now copy some of the data back to the old 500 GB drives until you have two empty 500 GB drives, and one empty 500 GB partition on each of the 1 TB drives. Create a new four disk array using two 500 GB partitions from the 1 TB drives and two of your old 500 GB drives -- copy your data to the new array. Then create another RAID5 array with the remaining four partitions. You now have two RAID5 arrays of 1.5 TB each and a total of 6 drives.

    At some point of course, these two arrays will become full, and you need to upgrade again. This time buy 2x 1.5 TB drives (hopefully they'll exist by then). Create a 1 TB partition and a 500 GB partition on each of the 1.5 TB drives. Now you'll need to move data around again (if needed you may need to temporarily run a degraded RAID5 array with only 3 disks), but the end result should be that you get two RAID 5 arrays again, one consisting of 4x 1 TB (for 3 TB of space), and another which consists of 4x 500 GB. Remove two of the unused 500 GB drives from your server so you have a maximum of 6 drives again.

    You can repeat this as often as you want, as long as you can find new drives that are big enough (for each upgrade step you'll need a drive that's as large as your largest and smallest drive combined), so the next step would be adding 2x 2.5 TB drives, copying your data, and removing the two smallest drives.

    This method of upgrading only really works with an even amount of disks in a RAID5 array, I personally use arrays of 6 drives (for a total of 9 drives in my server, which have two overlapping RAID5 arrays of 6 partitions each).

  110. Raid Is Obsolete by Sleeping+Dog · · Score: 1

    Forget Raid , RAId Doesn't work.

    Remember the Usenix paper ?
    http://www.usenix.org/events/fast07/tech/schroeder .html

    Just make sure your application or you know how to store data in multiple places. You'll get both a cheaper solution (less disks required, no fiber required) and a more robust solution straight no nonsense access to the data you need.

    --
    Kris Buytaert
  111. its all in the planning. by pjr.cc · · Score: 1

    As some people have said, Hardware raid 5 will solve some of your problems. But at the low end of the market (and even the middle), hardware raid 5 can hurt (for eg, i've got 8 disks on sata using my gigabyte mb's raid controller, will it still work if my mb dies and i buy a new mb? and thats hard to answer).

    Lets say tho, you take your 3x500's, raid 5 them up (make sure you partition at least 1 partition on them), you'll end up with 1tb SWEET!

    But, you replace them later with 1tb drives 1 at a time, and you can just partition the 1tb drive up and get the mdadm tool to rebuild your array on the fly (this takes time), you then partition the rest of the space on your 1tb drives for raid, (sda2, sdb2, sdc2) and wham, you have another 500gb... but its in 2 partitions which isnt entirely usefull from a disk-management annoyance.

    Enter lvm. Essentially you do the same thing, but you add /dev/md0 into the lvm (logical volume manager) vg (volume group) initially as a 1tb volume from which you'll probably create a 1tb logical volume... later on after replacing the 500's with 1tb drives you then create a second raid and have /dev/md1, which you can then add into the existing volume group, which can then be used to extend the original 1tb logical volume to 2tb. Assuming your using ext3, you can then online (and while mounted) extend the size of the volume in the box.

    That's a brief run down of how you'd do it, but the kind of commands you want to look at:
    mdadm (for the raid5 encapsulation)
    lvm (for the volume management)

    As a suggestion, get (free) vmware server, install it somewhere, install fedora/ubuntu/whatever into it. Add 3 2gb disks into the system as virtual disks, create the array, add in lvm. Then remove 1 disk, replace it with a 4gb disk, etc etc. Its a cheap and easy way of learning how it works!

  112. RAID vs Backup? by Chrisje · · Score: 1

    Here's the deal:

    Raid 5:
    - Minimal 3 disks
    - 1 disk equivalent for parity, so 2/3 capacity for data in case of three disks
    - Better do it in Hardware. OS striping will cost a performance hit, if that's an important consideration.
    - There are two implementations... Block-striping meaning parity is also distributed per block over the whole array and single-disk parity.
    - Read speeds will generally be good, but write speeds can suffer due to extra parity information writes.

    This makes RAID 5 good for file-sharing applications where the performance is not absolutely the biggest consideration. Please be aware that the larger you make your raid set, the larger the chance of losing data. If you have 10 disks in one raid five set, redundancy is one spindle. The chance that two disks fail and wipe out your data is there. Also note that in any raid set, the smallest disk will indeed determine the capacity. 2x500GB + 1x1TB will give you 1TB in raw space because the other half of the third disk cannot contain redundant information. Any RAID controller that doesn't stick to that rule will not offer you redundancy.

    RAID 1:
    - One disk for data, one disk for the mirror.
    - Write speeds are somewhat impacted but less than RAID 5.
    - Read speeds tend (for some reason) to still equal RAID 5 or better them.
    - High cost, high redundancy.

    RAID 0:
    - No redundancy
    - Excellent read/write performance due to striping across multiple spindles without any added operations.
    - Low cost

    RAID 0 is higher risk than just a bunch of IDE disks on some buses because you lump it together on one volume, and if one disk fails the entire volume is gone.

    Now in all of the above, it is *important* to realize you're only safe-guarding yourself against a *degree* of physical damage. Disks can fail. Failures to the controller that cause logical errors, software failures, attacks, virii and so on can still cause data loss. As soon as a piece of malware would fubar a file and commit it to the RAID, of course it's there in corrupted form.

    Having said that, RAID 5, 1, 10, ADG and even sync/async off-site replication through IP, FC or iSCSI (FC encapsulated in IP, bad idea) won't safe-guard you from corruptions because of software of human error. Therefore, RAID is not and will never be a substitute for a good old-fashioned backup to tape. I say tape, because a 500 GB volume of data cannot economically be backed up manually to optical disks at present. You would need something like an LTO-3 tape drive to do that on a single tape, alternatively a smaller autoloader.

    I'd recommend the following, assuming you're not running a hi-performance database with many random read/writes in 4KB block sizes, but rather a file-sharing or web-site environment:

    - System disk: RAID 1 for easy recovery.
    - Data disk: smallish RAID 5 set (max 5)
    - Backup to tape.

    Also note that SCSI disks are designed for an 80% duty cycle, typically, while SATA/IDE disks are designed for a 25% duty cycle. This means that if you're constantly fetching data from and writing data to your disks, 24/7/52, you would see your SATA/IDE disks die like flies around you. If your usage model is very strenuous, use SCSI.

    1. Re:RAID vs Backup? by maxwell+demon · · Score: 1

      Raid 5:
      - Minimal 3 disks

      Well, actually you can have RAID 5 on two disks. It's just that in this case, the parity data is exactly identical with the original data, and the result is usually called RAID 1. :-)

      - There are two implementations... Block-striping meaning parity is also distributed per block over the whole array and single-disk parity.

      Isn't single-disk parity RAID 3?
      --
      The Tao of math: The numbers you can count are not the real numbers.
    2. Re:RAID vs Backup? by Chrisje · · Score: 1



      There's always someone, somewhere, with a big nose, who knows
      Who'll trip you up and laugh when you fall...

  113. Re:Linux, raid5, LVM on top, can use extra capacit by Chrisje · · Score: 1

    Goddammit Kyle! Please, please ignore this post.

    I once worked for the HP-UX group of the Swedish Airspace Authority, and they had HP-UX Service Guard clusters set up with shared storage consisting of manually configured Extent-striped LVM sets on JBOD SCSI disks. Whenever one disk would fail, the whole team would grind to a halt because the only one who could judge the impact on the systems was the guy who built the LVM groups in the first place.

    What I'm trying to say here is the following: Sure, you can employ a load of tricks to use all your space on those drives. Hell, if a third, 1.5 TB set of disks comes along, you can rinse and repeat with those. You'll end up with a logical disk structure that equals the gordian knot in complexity and which will become totally unmanageable. This in turn will mean that somewhere, sometime when something happens, you WILL fuck up trying to rebuild things in case of a disk crash.

    OS based volume management should never, ever become more complex than RAID 1 with the simplest of mirror sets. Please. For performance' sake. For administration's sake. For your sake.

  114. question re: incremental backups by cyclomedia · · Score: 1

    I've been thinking about doing something like this myself, buying 2/3 drives and just backing up to them from my three systems (desktop,laptop,server). Seen as they're all windows boxen i've ben looking at XXCOPY but havent actually had a go yet.

    My idea is to reverse mirror each drive. so for a simple example, a monthly backup, you'd have folders thus (the actual structure here is less important than the idea):

    z:\server\2007-01-31\c
    z:\server\2007-01-31\d
    z:\server\2007-02-28\c
    z:\server\2007-02-28\d

    something like that. Where the most recent folder holds the full filesystems at that time, but the previous one holds only the files that are different. Whilst this wont tell you which files were NOT present in previous backups it does mean that a corrupt file will be found in an old backup (being different by virtue of size, hopefully, though a hash check would be handy).

    To restore a system from this you'd only be able to reliably use the most recent (so creating "good" mirrors manually before making drastic changes will become a good habit to have) without some jiggery pokery. but to retrieve an old version of a file that you accidentally overwrote thinking you were editing a copy you could just search for it. Big movie files that never changed would only ever be on the backup drive once, either in the latest folder or if you'd deleted it, the backup before the delete.

    like i said restoring a system to an arbitrary point in the past may be painful with this setup[*] but for keeping backups of random files and their differing versions around forever it might do the trick.

    [*] though thinking about it you could also store a (large) csv file that listed every file in the system tree at the time of the backup along with it's size and hash. To restore you'd have to pull up that list and find the relevant version of each one on the drive to rebuild the tree. fiddly and long-winded, but possible whilst being quite space efficient if you're on a tight $-per-Gigabyte budget.

    --
    If you don't risk failure you don't risk success.
  115. More Data: NOT just CPU usage 0%, but 8.8ms Access by Anonymous Coward · · Score: 0

    Oh, additionally?

    I won in the Access/Seek too, 8.8ms in the test below, not just in 0% CPU usage!

    AND, by BIG margins (due to 10k rpm "Raptor X's" in RAID 0) on that test imo, more than the controller really (unless it was bursting data out of the 128mb of ECC Cache RAM this controller uses)!

    (CPU usage category where my system was showing 0% (vs. others ranging from 3% - 11%)... many orders of magnitude of gain in fact, especially if viewed in terms of percentages!)

    Once more, the URL of HD Tach 3.x test again for your reference:

    http://forums.techpowerup.com/showthread.php?s=518 74ee73e9a212bfbabbaba41cf36e3&t=26630&highlight=Ta ch

    Enjoy!

    "Great. Did it cost you more than an upgrade to a dual-core CPU? Or a whole separate processor? Or the difference between a single-core and dual-core, or between 32-bit and 64-bit?" - by SanityInAnarchy (655584) on Tuesday June 05, @01:35AM (#19392311)

    About the same iirc... about $250, iirc, direct from Promise.

    (Again, due to the nature of work I do in Coding & DB work, heavy diskbound activity usually (many files generating during compile/recompile cycles) plus serving up some files as well here too? I like & need FAST access & seeks mostly. Bursting is not something I am worried too much about, I rarely 'burst' read huge amounts of data)

    "Or what about a whole separate computer? Just have a dedicated fileserver with enough CPU to handle the RAID, and connect to it over gigabit?" - by SanityInAnarchy (655584) on Tuesday June 05, @01:35AM (#19392311)

    I have a 2nd machine here that acts as a SQLServer (2005), to do emulations of work related stuff with sample datasets on it. P4 3.2 ghz 1gb RAM, WD 36gb 10k rpm 8mb buffer generation #1 Raptor... all I need on it really, running Windows Server 2003 SP #2 & SQLServer 2005.

    "I would say that, if you now have a lot of spare CPU cycles, you've wasted your money. I could be entirely wrong -- maybe you have done the benchmarks, and maybe you do have the kind of insane load it would take, but most of the time, hardware RAID is a waste." - by SanityInAnarchy (655584) on Tuesday June 05, @01:35AM (#19392311)

    I don't know if you write code or not, or manipulate files (I do, quite a lot, much of it being string related & many @ once)? String parsing & such takes up LARGE amounts of CPU power. Coding does quite a bit of that, but more often here, it is in editing files (stripping HTML chars out, getting only RAW .txt out of it, & more (list goes on, hugely)).

    I generally "tear up" cpu pretty badly in the nature of my work - not "TONS" of spare cycles left quite often on CORE #1 (AMD CPU Athlon X2 4800+), but the process scheduler takes threads from other process' (child & parent ones) & sends them to CORE #2 here, as needed.

    Having this controller, with a hardware based Intel I/O subprocessor on it, saving SYSTEM CPU cycles as it does, WAY over "normal" setups (most of them, per the url test I directed you to), helps here, especially due to the nature of my work (coding & lots of string processing in files).

    Gotta love Windows NT-based OS' for this (had thread model, TRUE smp enterprise ready threading @ kernel level/Ring 0/RPL 0, far before Linux did (the Linux initial "usermode threads" don't really count, as they resolved out to a single thread in kernel mode round robining to it... this is WHY Linux has 'true kernel mode threads' now, to be SMP/enterprise class OS ready in fact!)

    Anyhow... you asked for benchmarks, you got 'em!

    I have done them, see the URL above in THIS post, & my other reply (between the two of them, you have actual documented data & tests against many others, including "PRT" using disks (they ROCK on reads, as you will see)).

    APK

  116. Flame and lame question by Anonymous Coward · · Score: 0

    Hi,

    I can't believe my eyes - what a flame question!!!!!!!!!!!!! (I don't know about processor, I don't know if I choose WinXP or Linux, I do not understand how it works, I do not know anything about anything please help....)

    If you continue to publish such a flame and lame questions I seriously consider to stop reading your web-page.

    You are becoming too tabloid.

    Think about it...

    J.A.

  117. Ooh, Snap!! by RoboJ1M · · Score: 1

    I'm doing exactly the same thing. I will initially have 3 500GB Western Digital RE2 SATA drives in RAID 1 & RAID 5 configuration (RAID1 for /boot, RAID5 for / and /swap). I will expand this to 4 and 5 drives as and when I need the space. I will be using Ubuntu Linux on the machine (MythTV backend server) and you can indeed add more drives to a RAID5 array as well as expand the file systems contained by it (including ext3?). I'm no expert and I still have to learn how to do all this of course!

    What I'm aiming for in my machine is storage space that won't be immediately unrecoverable if a drive failure occurs. I will still backup my critical data (photos, music, email, OS install) to DVD but I can live with losing recorded TV, DVDs, etc.

    Here's some more questions.

    1) /swap space. At the expense of speed I'm proposing to have /swap on an LVM partition over RAID5. This is so that the machine will not crash in the event of a drive failure. I know I can stripe /swap directly across multiple disks (no RAID, no LVM, just flat partitions) but I read that if one of those disks fails the OS will probably crash? I mean, it makes sense that it will, doesn't it?

    2) I'm probably going to go with ext3 for reliability. But XFS has the cool stripe alignment thing, will this really help performance that much? Or another way of putting it, how much will ext3 NOT having stripe alignment hurt performance?

    3) Does XFS' strips alignment even work at all with LVM?

    4) Would I be insane to use XFS without some sort of UPS? I hear that it really doesn't like to have it's plug pulled.

    Thanks,

    J1M.

    1. Re:Ooh, Snap!! by Anonymous Coward · · Score: 0

      Of course you need to have swap on raid protected disk, when you want your system to survive any single-disk failure.
      However, on a media system you have to question if you want swap at all. Probably better to put a little more memory in it.

    2. Re:Ooh, Snap!! by RoboJ1M · · Score: 1

      Well, it's got 1GiB of RAM and it's only a MythTV backend server and file server. That should be loads, yes? Although I can add another GiB if I ever need to.

      Thanks,

      J1M.

  118. nuh-uh --old=vin diesel --new=jennifer aniston by wild_berry · · Score: 1

    Vin Diesel? Bah. Jennifer Aniston is the new Vin Diesel.

    (and I've replaced you by a small shell script)

  119. FWIW, My recommendations by cowbutt · · Score: 1
    In answer to your questions, a RAID5 array will be limited to (n-1)*max(sizeof(d1),sizeof(d2)...)), where n is the number of array members, and the sizeof(dx) figures are determined at creation time of the array. If you're using Linux software RAID, and you don't use the raw devices (e.g. /dev/hda, /dev/hdb) as array members, but partitions instead (e.g. /dev/hda1, /dev/hdc5), then you can of course partition the unused space in some way and use that how you wish. I'd strongly caution against putting two or more array members on the same physical disc, though, as if the device dies, it'll take out those array members probably causing the entire array to become inaccessible!

    I don't like Linux's software RAID implementation, as it immediately drops member devices out of their array in the event of a read error. I gather at least one implementation of software RAID in at least one flavour of BSD will immediately try to refresh the blocks that generated the read error using data from the other array members. This is the correct approach, IMNSHO, since doing it the Linux way means that if another array member encounters a read error whilst re-building the array, you lose the entire array.

    If you're going to use JBOD, you probably might as well use RAID 0 and get better performance. The reliability will be lower than a single drive though (1/n, in fact).

    RAID10 (stripes over mirrors) is the Rolls-Royce solution. It can tolerate upto (n/2) drives failing, and degraded performance is better than RAID 0+1, and array rebuilds are quicker than RAID 0+1 too. It doesn't come cheap, though, since you need at least 4 discs and you only get n*2 capacity.

    It really depends on how important it is to maintain your media data; I have backups of the MP3s I've ripped (in addition to the original CDs) and my TV recordings are disposable, so I use a single 300GB disc in my MythTV box. I'm thinking of upgrading this to 2 * 500GB and putting TV recordings on one, and everything else on the other.

  120. My two cents... by tomstdenis · · Score: 1

    I used a RAID-5 3x250GB at one point with Linux kernel RAID [e.g. no hardware]. It worked fine. Even after one of the drives died. I replaced the array with a RAID-1 2x320GB (since I wasn't filling the other raid anyways) and it too uses software.

    I think the smartest thing is to invest in a good set of drives before you make your first raid. No sense trying to raid up a bunch of random small drives, then upgrade. It's just a pain in the ass and you run into the potential problem of data loss. Suck it up, by a set of big drives now and you'll last longer with it, even through the cycle of drives dying.

    A 3x500GB array should be enough for most casual uses, it's not too expensive and gets you 1 drive of redundancy.

    --
    Someday, I'll have a real sig.
    1. Re:My two cents... by Bastard+of+Subhumani · · Score: 1

      A 3x320K array should be enough for most casual uses
      Fixed that for you.

          Regards,
                Bill.
      --
      Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
  121. Raid5 + LVM for the win by Mock · · Score: 1

    Have a look here: http://www.gagme.com/greg/linux/raid-lvm.php

    Raid5 + LVM allowed me to use different sized disks and create a fully redundant array of the whole thing and have it appear as a single volume.

    If you use a filesystem that supports resizing (like ReiserFS for example), you can increase your array without even taking it offline!

  122. Simple: unRAID and use your JBOD by BLKMGK · · Score: 2, Informative

    I use whatever disks I had laying arouind to build my NAS but the data is still protected. The software I use is developed by Lime-Technology http://www.lime-technology.com/. It's NOT RAID and instead is a JBOD setup with the first drive being a PARITY drive. This means that if one of my drives fails I still have access to the data. If TWO drives fail I lose TWO drives worth of data - *not* the whole damned thing. The data is not striped and is stored in a ReiserFS F/S so I can pull a drive and mount it elsewhere if I desire. This also means that if a drive isn't being acively used it can be spun down - try that with a striped RAID :-) When you write only the parity disk and the disk being written to need to be spinning, love that. The system can hold more than 12 disks if you use their top of the line software - mine only holds 12 total for a bit over 4.5TB worth of storage. Boots a customized Linux off of a memory stick and yeas source for mods is distributed but not the source for the WEB management stuff - he appears to be GPL compliant.

    Some limitations: Parity drive must be as big or bigger than all others. Each drive is a seperate mount point unless you use a funky sort of shared folder feature. The system doesn't have as high a transfer speed as a RAID would, however it streams video for me to an XBMC XBOX1 just fine. It doesn't have a super robust system to notify you of failed drives out of the box although some users have added this functionality. Not a whole lot of security although I've met someone who has added this on and the developer is also working on expanding this in the future. Pretty decent support overall IMO and he's just moved to the 2.6 kernel - I've yet to upgrade though.

    All in all this system seems to be perfect for HTPCs and I also use it to store backup images of all my workstations. All of my music and DVDs are stored on it and I'm about to build a second one as I need still more storage and have "spare" drives that I've pulled from the existing one as I've upgraded that I'd like to put to good use :-) Check out the user forums on the site, the developer is pretty responsive...

    --
    Build it, Drive it, Improve it! Hybridz.org
  123. AMEN! by BLKMGK · · Score: 2, Informative

    I should've searched for unRAId in the discussion before posting my own endorsement - I'd be able to mod you up then (doh!).

    I 100% agree with you on unRAID - it rox! I'm not using any sort of background Linux stuff to do my backups but I do use an unattended backup package that works just fine with unRAID (Acronis). The speed could be better (I'm not yet on the 2.6 based version) but it keeps up stutter free with my XBMC box so it's fast enough for me. :-) Not having striped data also rocks, lets me spin down everything not in use. ResierFS is easier to recover data from than damned weirdo' striped data sets too - there's a reason that recovery firms specifically mention if they can recover from RAID crashes heh. All in all it's a good system, several of my friends now run it and I'm building a second system for my used disks that get upgraded out of the primary system.

    --
    Build it, Drive it, Improve it! Hybridz.org
  124. RAID5 all the way by asc99c · · Score: 1

    I've recently gone through this process with my own media server. I used two RAID cards and plenty of discs. Separate the media center / media server components! Hard discs are loud and you'll not want them under the TV. Doing it this way means you can select a case as big as is required, and use old components for everything in the server (except the disc subsystem).

    My first RAID card is a 5-port affair, which originally had 3x400GB discs, and now upgraded to 5. My second card is an 8-port with at present 3x500GB discs. When it needs the next upgrade, I'll just buy extra 500GB discs - just make sure the cards you buy support online capacity expansion, RAID migration and configuration on disc. Good RAID cards can be expensive but it's well worth it for this sort of thing.

    A future upgrade past 4.6TB would involve replacing the 400GB discs on the older RAID card. I plan to just temporarily add new non-RAID discs to the system and transfer the data. Then I can disconnect the old array drives, plug the new ones into the RAID card and use the online RAID migration to bring that data into a new bigger RAID array. Another reason to get decent RAID cards.

    I've got all this in a Silverstone Temjin TJ-05 case which supports upto 14 hard discs plus an optical drive. That leaves a space for a non-RAID system disc which is an ancient 60GB drive. The rest of the system is an old Celeron 600 system that was fairly low end when I got it around 2001. It's more than fast enough just running as a file server.

  125. Swap drives on Raid5 by JagRoth · · Score: 1

    RAID 5 drives are limited to the size of the smallest drive in the array. ...even if I gradually replace all of the drives with larger ones, the array will still read the original size. For example, say I have 3x500gb drives in RAID 5 and over time replace all of them with 1TB drives.
    Get a hardware raid card with features to do the things you want... for example:
    I have an LSI raid card (6 SATA connections):
    If I have 3 400GB drives, I have 800GB of raid5 storage (2x400GB usable)
    If I add a 1TB drive, I have 3x400GB of usable space, so 1.2TB
    If I add two more 1TB drives, I have 5x400GB of usable space, plus with 3 or more 1TB drives with 600GB free on them, I can create another raid5 array with 2x600GB usable space.

    With 3 400GB and 3 1TB drives, I have 5x400GB usable space, and 2x600GB usable space.
    Then if I swap out one of the 400GB for a 1TB drive, I have 5x400GB usable and 3x600GB usable.
    If I end up with all 6 1TB drives, I would have 5x400GB usable and 5x600GB usable. All Raid5
    Jag Player of Games
  126. Hardware Storage? by DrogMan · · Score: 1

    http://www.drobo.com/ Looks interesting. /DM

  127. RAID is overkill and overrated for a media center. by Charcharodon · · Score: 1
    After building and rebuilding my home PC a six seven times and my left-over parts machine (aka the media center) now for the third time, I've come to a realization about my media, 90% of the music I'll never listen to and of movies and TV shows I'll never watch a second time. So I've become much looser in my requirements for redundancy. I gave up on backing things up on optical media a long time ago and triple redundancy with hard drives once my collection scooted on past 1TB. Once you come to terms with this, eventually you'll have too, you'll find your back-up requirements will be much more modest.

    There is a strong desire to have that massive collection to show off to your friends, but much like moving the wall of CD's & DVD's before it, collecting, sorting, and backing up files became quite the pain in the ass and a RAID array will only exasperate the problem. Other than RAID 1, setting up a RAID or a JBOD puts you in a situation where you'll end up with a single drive that is larger than any one drive you may purchase later, unless you have an array made up of a bunch of 120gb drives. Personally I don't wait that long between upgrades. There is also the joy of losing your array when moving it from one motherboard to the next. With a single drive set-up you just take out the old one, and put it into an external kit, and pop in the new and transfer your files. You have an instant back-up till you sell it, just make sure to purge the embaressing stuff first!

    My policy is that some sort of hard drive gets purchased every six months to a year and pushes the smallest one off onto Ebay. This helps me avoid crashes. If you insist on keeping 5+ year old harddrives around you are just asking for trouble, besides you want you collection to grow and for that you need new, bigger drives. The only use I have for a RAID is currently in my main computer as a RAID 0 just so things hum along with the quickness. Anything important gets backed-up on a second drive in the computer as well as a third copy on the media center and a fourth on an external drive that is in a closet and only hooked up to conduct a back-up. For must-never-lose things have I back-ups on several family members' and friends' computers located elsewhere which I update on my semi-annual laps to see everyone and do the same for them in turn. Just in case my house ever burns to the ground.

    Unless you have a house-hold full of roommates that insist on streaming everything to their own computer, RAIDs for performance reasons is overkill. A single drive generally has enough bandwidth to handle a stream/filetransfer or two streams without a noticeable impact on someone trying to watch or listen from the same drive. A LAN party blows this out of the water, but then again those will cause a meltdown even to most RAID set-ups, so set some connection and bandwidth limits and you'll be fine. I sort out my media accordingly to take advantage of most people's habits. If someone is listening to music, they're probably not watching a movie or TV and vice versa.

    So enough rambling, here is my current set-up

    Media Center
    40" Samsung 720p LCD TV hooked up with a DVI-HMDI cable
    Nvidia 7800GT 256mb
    AMD X2 3800
    Windows Vista HP (yeah I jumped the gun a bit, it works fine, but drivers are still lagging and I am missing some of the soundcard functions.)
    Winamp for music, there are many out there, I like this one. Ripit4me/Fixit/DVD decrypter/DVD shrink for ripping DVD's 1 gb RAM
    Creative X-fi plat sound card

    200 gb MAIN drive partitioned into 40gb for Windows and programs and the rest as file storage and temp video storage.

    300 gb MUSIC drive, it has 70gb of music on it, with the rest devoted to back-ups for my main computer. Drives that are more than one year old, but less than three, are your most trustworthy drives since they've survived the initial culling period and aren't too old. Of course you never 100% trust them.

    320GB TV drive, for you guessed it TV shows. Mostly

  128. Re:RAID is overkill and overrated for a media cent by Charcharodon · · Score: 1
    Haha, got lazy at the end there. I ment to say you can't go wrong, but being a human sooner or later you will.

    :D Best of luck to all of you out their setting up Media Centers!

  129. ...what? by SanityInAnarchy · · Score: 1

    What is it about 3 disks that makes it RAID3? Or, in other words, what's stopping it from doing what I understand to be RAID5:

    DDP
    DPD
    PDD
    DDP
    DPD
    PDD

    (D = data, P = parity)

    --
    Don't thank God, thank a doctor!
    1. Re:...what? by Zcar · · Score: 1

      RAID3 (and RAID4) uses a dedicated disk for parity so it would be:
      DDP
      DDP
      DDP

      The difference between RAID3 and RAID4 is in the striping: RAID3 stripes bytes and RAID4 stripes blocks.

    2. Re:...what? by SanityInAnarchy · · Score: 1

      I understand what you mean by RAID3. Tell me again why RAID5 does not work on 3 disks as I've described, especially when (using Linux MD) I've specifically asked it for a RAID5 array, and not RAID3.

      --
      Don't thank God, thank a doctor!
    3. Re:...what? by BigZee · · Score: 1

      RAID5 can work with 3 disks. What was described however was the use of 3 disks, 1 of which was a dedicated parity disk. In other words, 2 disks are data and 1 is partity for the 2 disks. That is a RAID3 configuration. Note that it's not that there are 3 disks that makes it RAID3, it's the configuration (dedicated parity disks) that makes it so. You can use RAID3 for any number of disks above 2 in fact. You could have 5 disks that use RAID3 - 4 data disks and 1 parity disk. Anything above 5 requires more than one parity disk however (in principle you get nothing for using 6 disks). RAID3 does have it's uses but I personally think (and I'm sure do many other people) that it's not the best use of your group of disks because of the potential performance problems. It's not so pronounced with a 3 disk config but if you took a 5 disk config, it would mean that any data write would always require the dedicated parity disk to be writen to as well. In other words, the parity disk is 4 times busier than any other disk in the array. It's probably for this reason that RAID5 was introduced. RAID5 has virtually all the same constraints as RAID3 except that the parity data is deliberately distributed to all disks in the array. The available storage from the array is the same and the raitio of parity to data is the same but the hot parity disk is eliminated. RAID5 is still not optimal for performance but it's a good deal better than RAID3.

  130. My setup by phyrebyrd · · Score: 1

    Ravengbc,

    I had similar questions when I was building my file server for use as my media repository and basically everything else (including workstation backups). I use this at home, on my personal network... and it works beautifully.

    You'll need Gigabit ethernet to make this work... 100Mb is just too slow. And you'll need a GOOD switch, not some cheap off-brand.

    For my media PC, I use BeyondTV. It's basically the same thing as MS's media center, but I like BTV... (Besides, I bought into it long ago!)

    My file server uses a Promise TX4310 (4 port hardware RAID) with a 4 drive enclosure that I purchased at Fry's Electronics. With this, I use 4x500GB drives to give me a full 1.5TB worth of space. The enclosure isn't specifically for this card, but seems to work very well... The lights tell me when something is wrong or when there's drive activity, and seems to be hotswap compatible, but I haven't tested the theory. ;)

    Toss that in with gigabit ethernet and allow your media PC to run locally with a 200GB drive (7200RPM if you're cheap, or preferrably, get a 10k Raptor). Allow your MPC to record locally, but set it up so that when it compresses the shows, it compresses to your file server... If you turn compression off and just use COPY in place of it, it works beautifully.

    Set it up so that it does this during off-peak recording hours.

    I know the detail is sparse on my post, but I'm writing quickly some basic information about my own setup.

    (By the way, using 3 500GB drives won't give you 1.5TB on your array, it'll only give you 1TB. You lose one drive's worth of capacity in a RAID-5 array... Yeah, it sux, but it's necessary)...

    The nice thing about this setup is that if you split your systems this way, you now have a dedicated file server on gigabit ethernet that you can store anything on... not just your movies, tv shows and music. You can now use it as a backup system for your media PC as well as your workstations, programs, etc....

    --
    "When the people fear their government, there is tyranny; when the government fears the people, there is liberty." -Thom
  131. Jeez louise... by lucason · · Score: 1

    Has Slashdot because a self-help group for the tech illiterate now? "For example, say I have 3x500gb drives in RAID 5 and over time replace all of them with 1TB drives. Instead of reading one big 3tb drive, it will still read 1.5tb. Is this true?" NO. You will not read 1.5 TB you will have only 1TB. Now do a search and read up! http://en.wikipedia.org/wiki/Standard_RAID_levels# RAID_5_usable_size

  132. Question Answered by Lazerf4rt · · Score: 1

    Yeah, I think the submitter should go with RAID 5. Redundancy matters: You only need to lose your data once to regret your decision. But he raises an interesting point - the array cannot grow incrementally through hardware upgrades.

    Surely, somebody could invent a system/algorithm with the properties of RAID 5 (or even 6), but with the added capabilities of different-sized disks, and total available space which automatically grows as you gradually swap or add bigger disks.

    But that system doesn't exist today. So he should go with RAID 5, and make as big an array as he can afford. When the day comes that he runs out space, he could build a second RAID 5 array, or, if he's feeling cheap, add additional drives outside the array.

    1. Re:Question Answered by Dare+nMc · · Score: 1

      with the properties of RAID 5 (or even 6), but with the added capabilities of different-sized disks, and total available space which automatically grows as you gradually swap or add bigger disks.

      actually to a limited degree this is their. IE the dell server I (with the company money) over a year ago for ~$5000 came with redhat EL running on a LVM managed volume with RAID 5 all pre-configured (since I am the admin, and wasn't up to the task.) on a CERC 6 channel raid controller.

      I am not sure what parts of the system provides what. but it automatically does things like: rebuild the array if a drive is replaced (blinking red LED lets you know while the full system isn't back up to 100%) grows the array when possible (so if you swap in 3 new 1TB drives from 750GB drives when the last one gets built the array is expanded without interaction. Although not automatic, with a GUI you can use some odd sized drives. IE if you had a 500GB+2*750GB+2*1TB drives, it is capable of making the 2*750GB+500GB drives behave like 2*1TB drives. So you could easily set them up to have a 4x1TB raid 5 (3 TB of storage.) instead of the normal max RAID 5 size of 5*500GB or 2TB of storage from the same drive. Or you can combine arrays with LVM so if you had 250GB+3*500GB+2*1TB drives you can setup a 5x500GB raid 5, and a 3x250GB raid 5, and combine them into a single volume with LVM giving 2.5 TB of RAID storage.
  133. 2 RAID 5's? by Timberwolf0122 · · Score: 1

    Go RAID 5, it's the best performance+reliability/buck (IMHO). As for replacing the drives with 1Tb ones and still ending up with only 1.5Tb why not buy a PCI SATA RAID card and build a second array? that way youd have 4.5Tb over two separate arrays.

    --
    In the not too distant future, next Sunday A.D.
  134. First Question: How active is the data? by Rick.C · · Score: 1

    First Question: How active is the data?

    RAID-1 or RAID-5 is great if the data is constantly updated and losing a day's worth of updates would be a hardship. A media collection is typically not highly active data. That is, files are added occasionally but not often updated.

    For this application, a single large drive would be fine if you can find a single drive that is large enough. A second drive of the same size would be mounted in a external case and newly added files would be periodically copied to the external drive. The external drive would be kept offline except during syncing and would therefore be immune to power hits, accidental finger-checks and perils of that nature.

    When you need to upgrade to larger drives later on, you just buy two of them and copy the files over.

    --
    You were 80% angel, 10% demon. The rest was hard to explain. - Over The Rhine
    "Math in a song is good."-Linford
  135. The RAID of the beast! by maxwell+demon · · Score: 1

    Use RAID 666! There can be up to 26 disk failures without any adverse effect!

    --
    The Tao of math: The numbers you can count are not the real numbers.
  136. Software RAID5 or Manual Redundancy by raw-sewage · · Score: 2, Informative

    First, forget hardware RAID solutions. While their effectiveness is debatable for commercial and enterprise applications, it's definitely overkill for a home solution (particularly a media server). (Unless of course you have more money than sense.) But Linux RAID (md, multi-disk) is mature, stable, and well-tested. It's portable from one machine to another. It's free. With even modest hardware, it will be plenty fast for a home media server. Don't even bother with those pseudo RAID solutions that are built into your motherboard (or implemented via firmware or a proprietary driver): Linux software RAID and true hardware RAID beat these solutions in just about every conceivable way.

    Now, do you really need RAID? Many people equate RAID and backup. They are not equal. RAID is no substitute for a good backup. In the case of a media library, you do own all the media, right? :) There's your backup. Worst case, you lose the time spent ripping the media. So there's an argument to just use JBOD. However, I do use RAID5 for a bit of safety. If two drives fail simultaneously, I fall back on the media. But if only one drive fails, then I can replace the drive, rebuild the array, and lose very little time. It's quasi-backup. It's just too expensive for an individual to maintain multiple live copies of this much data.

    If I were to build a fileserver for someone right now, this is what I'd use:

    • Case: Lian Li PC-A16B, with an additional hard drive module (I actually have one of these on order right now)
    • Motherboard: Biostar TForce TF7025-M2 (on-board gigabit LAN, high-quality solid capacitors, low-power single chip north- and south-bridge, integrated video)
    • Cheapest AM2 processor (single core is fine for a strictly fileserver)
    • 1 GB RAM (even 512 MB would probably be fine, but RAM is cheap right now!)
    • Seasonic S12-400 power supply
    • 4x Western Digital Caviar SE16 WD5000AAKS 500GB hard drives (500 GB is pretty sweet for price/capacity right now; SilentPCReview is currently recommending the Western Digitals for coolest/quietest high-capacity drives)
    • A PATA-to-Compact flash adaptor (such as this one), and a 1 GB or bigger compact flash card to use as your "system" disk (i.e. install the OS here).

    I have another post on this thread where I went into more detail about the choice of case. Quick summary: if you care about noise, don't cram your drives close together, or you'll have to use an obscenely loud high-speed fan to keep them cool. If you allow at least 0.5" between each drive, you can keep your drives cool with a low-speed (quiet) fan. That's why I'm buying the Lian Li case mentioned above: room for up to nine drives, with adequate spacing between each.

    1. Re:Software RAID5 or Manual Redundancy by colin_s_guthrie · · Score: 1

      Rather than install the whole OS on the Flash drive, I just opted for a 32Meg Flash drive in an IDE form factor. Cheap as chips and it stores my /boot (kernel+ramdisk) and GRUB install which means it can boot strap itself to the load the full / filesystem of the RAID/LVM layer no problem.

      As for the OPs question about starting with 500Gb drives and replacing them with 1Tb later, provided your final layer is on LVM you wont have any problem increasing things.

      e.g. If I had three drives in RAID 5 (I'd recommend RAID 1 personally as I've had back experience of RAID 5 in the past - too many times I've had to force start a supposedly failed array). Anyway, create your partitions on the 500Gb drives and RAID them together. Then use your md device and slap an LVM Physical Volume over the top, then create an Logical Volume in that PV and format it as desired.

      If you replace the drives over time then when you are done replacing you'll have another three partions. Just set these up in the same way as your other partitions and create an md1 to compliment your md0. Create a PV of that and then add that PV to your LV to increase it's capacity. All you need do then is resize your filesystem to fill the device. Depending on your FS this can all be done without umounting!!

      File systems are fun! I'm currently breaking a RAID1 MD into two so I can "convert" it to LVM.... risky but fun!

  137. F is the new A... by traindirector · · Score: 1

    Are you sure you failed it? I've heared F is the new A.

    But we're talking about binary. That's only in hex!

  138. yep, sorry didn't realize that by Spirilis · · Score: 1

    Ah, my bad--I hadn't realized mdadm had the -G (grow) option. Durr to me, I should rtfm more closely next time ;) Using mdadm -G would be a much simpler option than hacking together a complex LVM setup.

    --
    the real at&t mix
    1. Re:yep, sorry didn't realize that by Craig+Ringer · · Score: 1

      Your comment was well worthwhile. For one, you usually want to be using LVM on top of Linux software RAID anyway. And second, growing the array only works when ALL disks are replaced, not just some.

      As for not noticing - I'd say very little about Linux software raid deserves a "dur". LVM is seriously nice and simple, but the software RAID layer is less so.

  139. Backup? Consider NAS by Czaries · · Score: 1

    If all you want to have is a backup storage place for all your files, you may want to consider going with a good Network Storage device in addition to a RAID array. That way, if your whole computer ever goes down (say, catches on fire...), you still have the files backed up in a different physical location and immediately accessible from another computer on your network or even remotely from the internet.

  140. KISS means JBOD in this case by Gr8Apes · · Score: 1

    I've successfully done hot swaps without any issues whatsoever, and only minor hit to throughput. Of course, this was between 96 and 2001, running on RAID systems that cost between $4K and $7K per array. I also played with cheap IDE RAID, which is just about worthless. It's much better to go with software RAID vs any cheap hardware solution and put the extra money into a few extra drives. Then implement RAID 10 (a stripe set consisting of mirrored arrays) for the best performance and fault tolerance and fault recovery, for high availability/reliability sites (not what the OP was interested in)

    For the OP's solution, it'd be better to just have JBOD and make a backup copy onto an external set of disks that he then removes. Yes, you still have double the diskspace, but you also have an offline backup. For video/audio files, this is the cheap way of doing it. The proper way would be to have two external drives for each system drive, and rotate backups between them, keeping one set off site (ie - at work) in case of catastrophic issues (fire at home). Odds are, once filled, each drive will remain mostly static and never need backing up again. Change out backup disks about every 2-3 years (rotate backup into prime use rotation) and you should remain drive failure free and be able to upgrade to the then current best buy for disk size.

    --
    The cesspool just got a check and balance.
  141. Re:Is Google broken today? expanding raid volume by ReaperEB-Moo · · Score: 1

    I know there are two or more camps when it comes to raid and all, but there are a few stand alone NAS boxes that WILL allow you to swap out drives (one at a time) for bigger drives and it expands the raid volume size. http://www.smallnetbuilder.com/content/view/29616/ 75/ is one such one.

  142. Software RAID 5 by nephridium · · Score: 1

    I used Tom's hardware's article to create a four disk RAID 5 array on my Windows XP Pro box. It does away with all the hardware limitations that conventional setups have and there's no need to pay for a dedicated controller.

    This means that instead of downloading special drivers for the controller I only need to modify three Windows files in the case of a reinstall. I don't have to stick to one brand/model of RAID controller (or to some of the new mainboard chipsets that support RAID 5 as well). Featurewise it does not support RAID level migration. On the other hand it recognizes disks of a RAID setup automatically no matter how they are connected to the computer (e.g. right now I have two connected through the mainboard's SATA and two through a SATA controller, but I could replace the controller/mainboard, replug them and it would still work); this was the feature that made me decide to go for it. The software overhead is not noticeable (3GHz P-IV). Performance is on par with hardware RAID setups. Only things that's a bit annoying is that when for one reason or another the machine reboots without shutting down (power outage/crash) it will 'rebuild' the array when it boots back into Windows, which takes a few hours. While the system is still usable copying files from/to the array will take quite a while.

    I've already partitioned the array into four partitions. My play for increasing its size is simply swapping it one by one with bigger HDDs and then creating a new partition with the new unused space. I believe that should work with any RAID 1/5/6 array, be it hardware or software. One might even combine the partitions afterwards using Partition Magic, but I 'm not a big fan of huge partitions. Hope that helps. Anyone else with Software RAID experience? I'd love to see Linux support for it, that would most certainly mean indefinite support (right now I'm stuck with Windows XP, don't know whether Vista supports it, but I'm not really willing to find out anyway seeing as Vista doesn't increase performance/usability at all.) ;)

    --


    And when you gaze long enough into the code, the code will also gaze into you.
  143. Forget RAID by Reapman · · Score: 2, Insightful

    I used to run both Mirroring and RAID 5 in the past (not at the same time), but I found it overly complex for simple usage, plus it doesn't allow for what happens if the controller card fails or system goes up in smoke? Plus once you build a RAID you can't just add a drive to it easily or cheaply (I'm over simplifying this I know)

    I find the best is to have another computer or possibly external drives sitting somewhere, and just make weekly/daily/monthly/whatever rsync copies between them. This allows for you to recover from user error like accidental deletions, and if the entire system goes down your covered. Want more space? add a drive and presto, more space. No special configuration required. No expensive controller cards (or cheap and slow controller cards) required.

    And if your like me, you have another set of drives stored offsite... but I'm pretty paranoid about such things. =P

    1. Re:Forget RAID by Kerto · · Score: 1

      I had 3 400GB drives in an LVM partition with a bunch of Media content on them. Things like photos, mp3 rips of our cd collection, mythtv recordings etc. 1 Hard drive died. Now I have 2/3rds of an LVM partition with pretty much inaccessible media. That i lost the video content doesn't bother me. Loosing all those photos sucks and I'm not looking forward to re ripping 500 CDs. Loosing a Terrabyte of media takes a long time to replace if at all. So my advice is to use raid5 and LVM. If you want to expand the size at a later date, create another raid 5 array and grow your LVM. By the time you want to increase your storage again the price of hard drives will have come down so that a handful of the largest drives on the market will replace both your raid5 and LVM's. rinse. repeat.

      There is some good information in this thread and as has been said there isn't a replacement for backups. When bluray burners are available i will be backing everything up to those 50GB discs.

  144. I've tried these plus one.. better? option by theendlessnow · · Score: 1
    1. Software RAID - does well in benchmarks, but it does rely on the CPU. This has gotten better with the advent of multi-core and especially multi-cpu + multi-core, but the other thing to keep in mind is that the OS IS doing other things. What this means is that an errant program does have a chance of affecting your RAID. Could be absolutely disastrous. RAID (true RAID, not RAID0) only works if the RAID manager is doing what it is supposed to do. I wouldn't rely on OS software RAID. There are too many variables. Also, things like hot swapping might not be available. A RAID where you have to bring the system down to do a harddrive replace isn't all that beneficial IMHO.
    2. Hardware RAID card - This works in conjunction with an OS driver. Combined with hotswap capable backplanes, this can be a pretty good solution. The problem with HW RAID is that the processing power of the cards is often times week. Upgrading to a faster processor sometimes isn't possible without compromising the entire RAID set (esp. true if changing vendors). End user machines (until PCIe) were somewhat bandwidth limited. 33Mhz PCI, which is what most (somewhat older) desktop machines have is not enough oompf for a large RAID. Linux driver support can be spotty... and buggy. LSI, for example, has made some interesting RAID products, and while Linux users enjoy using older equipment, LSI pretty much doesn't support some of their older cards anymore. Granted, those older cards (which were top of the line 5 years ago), probably aren't that great today, but the fact that they are losing their driver support is frustrating.
    3. JBOD - Well.... not much to say here... there isn't much benefit. However, realize that if you can separate disk pathways AND you layout your disks to use each drive efficiently (e.g. /usr/bin on one disk, /usr/lib on another, etc.) you can get some pretty dramatic performance gains, even without RAID striping.
    4. RAID subsystem - This is the one not specifically mentioned and it's what I recommend. The benefits of an external RAID subsystem is the flexibility. These units can often times be shared across multiple machines (and NO I'm not talking NAS... I'm talking direct attached SCSI, iSCSI or Fibre channel), can support large amounts of cache and can offer good RAID levels. Since the device manages it's own space, the device itself can notify you of hardware failures and such with relying on coordination with a proprietary driver. Since the computer device just sees a normal drive, there are no driver issues. I can completely saturate (easily) a 2Gbps fibre with one of these (with a relatively small array). There a several manufacturers out there that use inexpensive SATA drives... but there are SCSI and fibre drive based units out there too. I like Nexsan, http://www.nexsan.com/ probably the most. I have also used VERY inexpensive Arena based units, http://www.maxtronic.com./ Both work really well. Pretty easy to get 100MB/s to 200MB/s with these devices and still have almost equally as fast writes while using RAID 5 or RAID 6. If you are looking for a cheap mirroring INTERNAL subsystem, I have used Accordance ARAID systems. I recommend those as well if you just need a two drive mirror. Obviously you get more of performance hit.... but good if you want OS independent HW subsystem RAID that is internal, http://sewelldirect.com/araid-2000-sata-raid-1.asp ?source=froogle&utm_source=Froogle&utm_medium=cse.

    I can pretty much guarantee that once you've switched to a HW RAID subsystem, you'll probably never use anything else. The extra money spent on those is well worth it (IMHO). To keep costs down, ebay is obviously your friend. I've purchased 4 drive Arena units for less than $400. I

  145. drobo by yulek · · Score: 1

    the drobo looks pretty cool. it has data redundancy (though not raid, something "better than raid" according to their site, and therefore proprietary), you can use any size drives, it's fully hot swappable and you really don't have to think about it much. it's very easy to upgrade to bigger disks too. it has some glaring downsides, like it's usb-2 only. i'd like to see NAS for GiGE and a firewire interface. also i've read on their forums about the loud fan, heat issues, etc. so i'm waiting for v2. but it's a cool idea and seems well architected.

    --
    in this age of communication i'm just not getting through
  146. RAID 10 or 0+1 is likely ideal... by moxley · · Score: 1

    Before my current gig as an IT director I used to build computers and servers - especially audio video production workstations and media servers.

    As far as RAID is concerned for a home media server dealing with video recording and other such you are going to want speed.

    You want SATA (Sata2 300 if poss.) drives of at least 7200 rpm in an array that will provide increased performance; I personally have built several media servers for myself (I used to end up selling them to people after using them for 6 months so I could build a new one, but I have quit that after my last one).

    If money is an issue and redundency isn't a key concern, then go with a RAID 0 array; this will give you about twice the speed of a single drive, but if there is a drive failure you will lose all of the data on the array. 2 drives in a RAID 0 array will give you the total capacity of both drives added together.

    If you can afford it, what I really recommend is a RAID 10 (1+0) or 0+1 array (go for the 10 if your controller supports it, it's the better option IMHO). Both RAID 10 (which is really 1+0) or RAID 0+1 require at least 4 drives and will pretty much give you the speed of a RAID 0 array with the redundency of a mirrored (RAID 1) array. In either of these configurations you'll end up with half of the total capacity of all drives but the performance will be spectacular as will the redundency.

    The difference between RAID 10 and RAID 0+1? RAID 01 is a mirrored configuration of two striped sets; RAID 10 is a stripe across a number of mirrored sets. Both of these can sustain multiple simoultaneous drive failures without losing data; however, the 1+0 (RAID 10) is slightly better in this area.

    Hope you find this information helpful.

  147. Buy 1 USB drive for every HDD in the system, by Anonymous Coward · · Score: 0

    Do backups to the USB drives.

    Don't use RAID, don't put your redundancy in a box that's going to be plugged into the wall during a thunderstorm.

    Don't use RAID that renders data on individual disks pretty much useless.

  148. Use a NAS or hold off for ZFS by fak3r · · Score: 1

    I use FreeNAS [http://www.freenas.org/] I have a mirrored 120G RAID setup going, and it has all the bells and whistles to let you sync in many ways; highly recommended if you need a backup server of any type, but if you really want a solution that doesn't hem you in like the RAID size can't be bigger than the smallest drive in the array, go for ZFS. Check out the demos here to get an idea of what it can do: http://www.opensolaris.org/os/community/zfs/demos/ ;jsessionid=7E22552C4800B7688DFD8FD771896B4B Granted it's new, but drop OpenSolaris on a box and get it configured and running...that's an option you can grow with. Also, FreeBSD has experiemental support for ZFS, and it should (?) be available on the upcoming 7.0 release. I'm sure someone will provide a web GUI to configure it, heck, that'd be a coup for the FreeNAS team, and then you'd really be all set.

  149. Whatever you choose WRT RAID by Anonymous Coward · · Score: 0

    If you choose a RAID solution, 0,1,2,3,4,5,10, whatever, make sure you can recover from a failure BEFORE you start storing something on the RAID that you care about. Or, make sure you have a camera to take your own picture when you're standing there with a dumb look after whatever your solution is has a real failure.

    From experience, once, and I didn't have a camera at the time.

    Corrollary: practice restoring your backups. You make backups and don't depend upon RAID, right? Because you know what faults a fault-tolerant mechanism like RAID is meant to tolerate, right? Like you know what faults backups are meant to tolerate, right?

    Let me tell you about the time I backed up all my dissertation research data stored on RK0 by copying RK1 to RK0 with formatting. I saw what I'd done about a second after my finger raised from the return key. Took me 5 months to recover the data.

  150. Solaris by fm6 · · Score: 1

    I don't think it's fair to suggest that resistance to Solaris is just a matter of prejudice. It's more a matter of not being able to find the tools you need. Linux folk often try Solaris, but quickly give up on it because the administrative tools they're familiar with aren't there, and they don't feel like starting over from scratch.

    You might call that laziness, but it's deeper than that. As an example let me cite my own experience with implementing a TWiki for my group. I was given an old Sun V20z to run it on, which already had Solaris 10 installed. I tried very hard to get the TWiki running under Solaris. The TWiki itself wasn't that hard (and there's a lot of helpful Solaris info on twiki.org) but I was utterly defeated when I tried to install all the various TWiki plugins I needed.

    The problem is that TWiki plugins are written in Perl, and mostly require that you install additional Perl modules. Now Perl itself runs very nicely on Solaris, but it's pretty obvious that few Perl module developers bother to test their work on Solaris. That seems to include the CPAN module (which provides a shell that most Perl developers use to download and install new modules), so you end up downloading the modules by hand. Fortunately, Perl modules always have neat little install scripts...

    Oops! A lot of install scripts don't work on Solaris either. OK, installation is not rocket science, you just have to make sure the module files are in the include path. Easy enough, though the results are disturbingly messy. Oh well, as long as it work. Just need to Make a few more modules...

    Oops! Here's a module that uses a library written in C. And the library has to compile on a particular C compiler. Solaris has that compiler, but the Solaris version doesn't have all the features the library needs to compile! That's where I gave up.

    So I wiped the Solaris partition (feeling a bit like a murderer) and installed Fedora 6. Now, I'm not happy about the rough edges I saw (unforgivable in a distro that's been under development for 13 years!) but I can't complain about the sheer simplicity of installing Perl modules and TWiki plugins on that platform. You give the CPAN shell a list of Perl modules you need, give it permission to also download and install dependencies, and sit back. Then you download the TWiki plugins and run their installers -- some of which use the CPAN shell to install the Perl modules you forgot. Simple and easy.

    So, until ZFS is available "in the box" for Linux, it's just not an option for a lot of Linux people. That's not prejudice, that's practically.

  151. Use, like, RAID 5 with 10 disks by wsanders · · Score: 1

    That is like da bomb! If a disk fails you will have 10 minutes to rebuild the array before another disk fails. It's exciting!

    --
    Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
  152. Forget about RAID, look into ZFS by ChrisA90278 · · Score: 1

    First off if this is this a home system that you are building as a hobby, just use a simple mirror. It doesn't matter that much what you do. But if this is to hold a lot of important data that people care a lot about then seriously look at ZFS. Sun as raised the bar very high. It's the best thing in storage to come along this century. Read more here. http://en.wikipedia.org/wiki/ZFS

  153. Good raid level explanation by psychosystem · · Score: 1

    For those not entirely sure of what all of the various raid levels mean, this sums it up quite nicely: http://www.epidauros.be/raid.jpg

    --
    This is my Sig.
  154. bla by Anonymous Coward · · Score: 0

    Linux MD RAID5 can be reshaped (grown). Though, doing RAID5 in software is about the worst idea ever. So you are stuck, unless you find a suitable hardware raid that can do reshaping.

  155. Someone mashup... by koali · · Score: 1

    * Drobo
      * ZFS
      * Starfish Distributed Filesystem
      * NSLU or one of those fancy small boxes with USB ports
      * Openfiler

    What do we want.

    A small appliance that you plug into your network. You can add plug in USB drives (or your preferred interface). The box automatically detects the new drive and expands the flexible RAID arrays (see Drobo), giving you redundancy with the minimal overhead hit. Add a nice OS that lets you create block devices SAN-style, create shares, etc. Use ZFS for all its nice features. Use a Distributed FS so that you can have several of those devices in your network for added security.

  156. Raid 6 by Anonymous Coward · · Score: 0

    With drive sizes of today, and failure rates... For my money its only RAID 6.

    Pros:
    You can used mismatched drive sizes as long as the largest drive is your parity(s).
    You can add drives up to your raid group size.
    Using RAID 6 you have diagonal/horizontal parity and can recover from a double disk failure.

    Cons:
    Without a fancy controller speed can be an issue.

    Here is some more info...

    http://www.tomshardware.com/2006/01/02/safer_6_for _raid_controllers/
    http://www.netapp.com/ftp/netapp-raid-dp.pdf

    (I just like the chart in the netapp info.)

  157. Similar Situation by NastyGnat · · Score: 1

    I'm using a Linux solution myself. I originally went with an adaptec hardware raid controller and ran three drives in raid 5. In the several years of use I never had a drive fail.

    Instead I ran into the capacity issues that you too see to be concerned about. After much thought and consideration I decided to take what I believe to be the least expensive and most manageable solution I could come up with. I tossed the raid card and stuffed two reasonably priced drives in that were roughly double what my raid 5 held.

    However, instead of mirroring the drives I am doing a nightly rsync. Why? What if I accidentally delete a set of photos by accident, you know, the favorite porn? In a mirror or striped array you may have redundancy but it's just that, redundant with no backup. Unless you have the funds to put together a nice array and have a backup that is sufficient to archive the entire contents of the server then you are better off just saving your money and doing the rsync method. If you are uber-paranoid you could even get an older machine and rsync to it so that a catastrophic event (mice eating cables and frying the drives, etc) on one box doesn't affect the other.

    My bet would be this; Budget for either a software or hardware raid method, then, go buy two big hard drives that each match the same capacity as the previous solution and put the rest of the money "under your mattress." If you think a hardware solution is in line, budget for two cards so that you have a failover card. From the management standpoint remember that you'll need to keep the firmware up to date on both cards (or neither, but I found with my adaptec it wouldn't support 400GB drives without a firmware update) A year or two later when your media center fills up, get the money out from under the mattress, buy two drives that double your current capacity and install them. You'll probably have enough leftover money for pizza, beer, and a hooker and you'll be a lot less stressed with the simple upgrade path and less worry about whether you should have bought that hot spare. Now, to be reasonable, you can't expect that scenario to work if you are tying to have terabytes of storage. Three 500GB drives and a raid card right now are cheaper than two 1TB drives, but TB drives are teh new hotness and come at that premium.

    Also be prepared for the idea that with media, you may NEVER have enough storage. Between anime, digital photos, Linux ISOs, and ripping my cd collection to my "media center" (just a samba share) I've first filled 157GB (3x80GB raid 5), and now 300GB (2x300 rsync) of hard disk space. Eventually you will have to decide between keeping the last six seasons of Stargate and all of Battlestar Gallactica on your server, or would you be better off using your box sets that you legally own and just use the server for recent stuff. I finally had to draw the line and say I'd be better off to make backup copies of my DVDs and store them somewhere else rather than depend on my server as the backup and the convenient method watching stuff. As far as fair use goes you're probably better off to just have backup copies of media anyway, since you never know when you'll get accused of file sharing and have to prove you are innocent.

    For reference and to validate most of my point lets make a real example since you are obviously here asking and not researching too much on your own. I'll use drives that have come down to reasonable market prices rather than the newer overpriced drives.

    Semi-Paranoid config
    4x250 GB HDD (3xraid 5 + 1 hot spare) ($50.00 each/pricewatch) $200.00
    2 x 3Ware SATA II Hardware RAID 9550SX-4LPKIT ($329 each pricewatch) $660.00
    Total Cost minus shipping/taxes for 1/2 TB raid5+spare storage =~ $860.00

    Poor-man's "I hope it doesn't die" config
    3x250 GB HDD (no hot spare) $150
    1 x Sata Raid $329
    Total Cost** $480

    Simple Mirror with backup.
    3x 500GB WD WD5000AAKS 500GB 3.5 HDD 7200RPM ($120 Each)(one live, one mirror, one for nightly backups) $360

    --
    -- this space for rent --
  158. Re:Linux, raid5, LVM on top, can use extra capacit by Anonymous Coward · · Score: 0

    I partition every drive with a root, boot, and swap (just in case I ever need to use it as the boot drive in the future) and then the rest of the disk gets chopped into 64G chunks.

    These 64G chunks can become physical volumes in LVM, or can be assembled into RAID1 (mirrors) or RAID5 (checksum) which are PVs in LVM. If you replace a disk with a larger disk, all you have to do is fail over the 64G chunks. Extra 64G chunks are available for new RAID creations.

    I have already performed a couple of hard drive upgrades and RAID migrations with this scheme (although I can't remember if any HDs I use in this scheme have failed in service yet). Most recently I replaced a 160G drive with a 400G drive. pvmove is your friend.

    I also tend to create all my RAID1s with 3 partitions, and only fill in 2 of the slots. That way if I decide to relocate one of the mirrors, I can add the new one, let the mirror complete, and then fail the old one.

    With 750G drives having reached a good price point recently, the 64G partition size looks silly, so I would create them with 128G chunks if I were starting today.

  159. UnionFS by palmem · · Score: 1

    First of all, my goal was to be able to be able to lose a drive or delete a file and still be able to have a backup somewhere. I also wanted to be able to use my old drives after I upgraded. I also don't yet trust growing a filesystem or RAID array (though I've had great luck with growing XFS). This ruled out any of the RAID levels because I wouldn't be able to recover a file and expansion can be a pain.

    Here's what I came up with:

    2 computers: Desktop and Server
    The desktop has a root drive and a media drive. The root drive can be anything you want (just has to have enough space for your programs, if it's a HTPC, anything should be fine). The media drive is always the largest drive (ie, the newest). The media drive is rsynced to the server nightly.

    The server has many drives, one of the the root drive (again, doesn't really matter). The others are put into a union using UnionFS (or AUFS, whichever you can get to compile). This is where my backups go. It's kind of like having a filesystem-level JBOD, but it can withstand the loss of drives with only a partial loss of data.

    This gives me the advantage of easy expandability (all I do is copy to a new media drive and add the old drive to the union). I also don't have to waste old drives. It also allows me to lose either the newest drive or ALL of the old drives and still not lose any data. It also means that, even if I lose my media drive and a backup drive I will still have many of my files. This makes recovering from a drive failure trivial (assuming I still have enough space), I can just reboot the server and backup again. It also makes recovering from a loss of the server easier because I can just mount each drive by itself and still access the files.

    The only disadvantages of this system are that it could waste space (if you have a drive marked as read-only and you modify a file that was on it, it will be copied to a writable drive, but this shouldn't cause a problem for media files because they should rarely change). Also, you have to monitor the union because if you add a drive when the union is not full, you will waste whatever space is in there now (UnionFS will only write to the top drive in a union). When you get a lot of drives in the union, performance will degrade because it will take longer to find which drive the file is on, but that shouldn't be too much of a problem with media files and it will only occur on the backup drive.

    For example:
    Desktop -- 60GB root, 250GB media
    Server -- 40GB root, 320GB backup

    I ran out of space in my 250GB, so upgraded to a 500GB. All I had to do was copy the data from the 250GB to the 500GB, reformat the 250GB, and put it into the server. When the 320GB drive got full (I saw the errors while backuping) I told the server that it had another drive in the union and backup again.

    Desktop -- 60GB root, 500GB media
    Server -- 40GB root, 320GB+250GB backup

    Soon I plan add a 750GB or 1TB (depending on price) as media, and will repeat the process.

    -palmer

  160. RAID1 and RAID0 by tedgyz · · Score: 1

    I just built a media server. I used RAID1 and RAID0:

    C: RAID1
    D: RAID1
    M: RAID0

    C: is the system drive. D: is where I keep important files that I don't want to lose. M: is where I put my DVR files (BeyondTV). I figure they are recoverable and hence can risk RAID0.

    These are on 4 physical drives:
    2x 250GB split 50/50 for C: and D:, giving 125GB for each (mirrored)
    2x 500GB for M: to give 1TB (striped)

    I used the Intel RAID manager, which is surprisingly easy to use.

    For TV recording, I have the Hauppauge HVR 1600 - I saw this on sale for $50 at one of the big chains (Circuit City I think).

    --
    "No matter where you go, there you are." -- Buckaroo Banzai
    1. Re:RAID1 and RAID0 by tedgyz · · Score: 1

      I forgot to mention a few more things...

      1. RAID5 / RAID6 suxx0rs - flame on
      2. RAID10 (a.k.a. RAID1+0 or RAID0+1) is best, but with a 4 disk entry requirement, you don't see that much in home servers.
      3. Keep all RAID partners on same hardware. I prefer to buy matched sets of drives, so they "dance" in harmony. You are kidding yourself if you want to upgrade your RAID system piecemeal.

      Now I would love to hear which is better RAID1+0 or RAID0+1? No, really.

      --
      "No matter where you go, there you are." -- Buckaroo Banzai
  161. Different opinions on best setup? by lpq · · Score: 1

    Why does stupid shit like this keep getting posted to the front page?

    Cuz there are different opinions about what might be best.

    You have your 4-disk, Raid5 array, whereas I'd recommend buying 2x400 for a RAID0 and 1 750GB drive for daily backups (not mirror, see "xfsdump" or "dump"). You shouldn't fill your "fast" drives more than ~80%, so with 2x400 you would get approx 800GdB, raw, giving you ~600GB usable space after formatting and round-down (decimal disk GB's) to binary. When you buy a 1TB, cycle it in for the backup and use the 750GB as slower "data" storage. Maybe next the 1.2TB's will be out, so save up for another 750GB (if you really like the RAID0 idea), to RAID with the previous 750GB and use the 1.2TB for backup. By then your 400's will likely be ready to retire (~2-3 years before alt-sector mappings slow down your RAID enough to be noticeable)....and so on and so forth.

    Another option -- use a separate system for the backup disks. Who backs up to tape these days? Tapes are too slow, too low capacity and low benefit/cost ratio unless you need to store long term backups and not overwrite your backup media. I usually find I can keep 3-4 months of system & data backups before I have to recycle space, but that's usually quite acceptable for a home server.

    Oh, yeah -- invest in "smart" (one's that condition power, like APC SmartUPS 1000's: you can add longer runtime to the 1000's, but not the 1500's) UPS's -- _at least_ enough for slow, graceful shutdowns or better -- until you setup the Honda, "suitable for electronics" (EU2000i is reasonable, portable, and partly mirror-able with a 2nd generator) generator(s). With enough generator power you can keep your media center up and running during a multi-hour power outage and still have enough to keep the fridge cold.

    It's a good thing to be prepared...

  162. Mixed disk sizes uniform partition sizes in raid 5 by Eldred · · Score: 1

    I have a bunch of mismatched disks, configured in raid 5. The trick is to split the disk into uniform partitions and create the raid on those partitions. As long as no two partition from the same disk are in the same array, then you still have redundancy. I created the arrays initially with 6 disks, 2 120G (hda,b), 2 160G (hdc,d), a 200 (hde) and a 250 (hdf). So I picked 40G as the partition size and got:
    3 200G raid 5 arrays (6-1 x 40G) md0, 1 and 2 from partitions 1, 2 and 3 from all drives
    1 120G raid 5 array (4-1 x 40G) md3 from partition 4 of drives c-f
    1 40G raid 1 array (2/2 x 40G) md4 from partition 5 of drives e and f
    1 40G spare partition 6 of drive f
    10G leftover (used for boot partition and swap space)

    I added the 4 raid 5 arrays together using LVM to get a 720G volume group.

    When I replace a disk, with a larger disk, I can swap around partitions between the raid arrays and create new space. For example, say a 120G drive (hda) dies and I replace it with a 300G.

    300G = 7 partitions

    hda1, 2 and 3 go into md0, 1 and 2 to replace the failed partitions from the old 120.
    I now have enough partitions on separate drives to create a 5 partition raid to replace md3.
    So, I create a new 5 partition (160G) raid array (md5) using the 4 remaining partitions in my new hda 4, 5, 6, 7 with the 6th partition from hdf (not redundant yet, that part comes later).
    Now, I add md5 into the logical volume, and use pvmove to clear any used space in md3 (md5 has more than enough room to hold it).
    Next, I extract md3 from the logical volume and stop it.
    Now, I can start replacing the partitons in md5 with the ones that used to be in md3.
    Similarly, I can create a new 3 drive array from hda, e and f, by replacing hde5 in md4 with hda5.

    End Result:

    hda 300, hdb 120, hdc 160, hdd 160, hde 200, hdf 250
    3 200G raid 5 arrays (6-1) x 40G md0, 1 and 2 from partitions 1, 2 and 3 from all drives
    1 160G raid 5 array (5-1) x 40G md5 from partition 4 of hda, c, d, e and partition 6 of hdf
    1 80G raid 5 array (3-1) x 40G md6 from partitions hda6, hde5 and hdf4
    1 40G raid 1 array (2/2 x 40G) md4 from partition 5 of drives a and f
    1 40G spare partition hda7
    10G leftover (used for boot partition and swap space)

    It's a little work to add a new drive, but I don't have to waste the extra space on a drive, just because of my smallest drive.

  163. about your post by EdelFactor19 · · Score: 1

    for starters you are incredibly wrong about your initial beliefs about the raid5 capacity. At RAID5 with 3x500GB drives your capacity IS NOT 1.5TB in fact it probably wont even be 1TB. RAID redundancy is achieved by (at this level) striping of the data across the drives. When you expand to 3 1TB drives you will again NOT have 3TB of storage. RAID = Redundant Array Intelligent/Inexpensive Disks. (depends who you ask) The operative word here is REDUNDANT. At any level other than RAID0 (which is RAID only technically by name) redundancy and math and the laws of physics state that you can't possibly achieve the max storage resulting from their initial summation without redundancy.

    I can't tell you what the best answer is. I'm still looking myself. I do think however that instead of starting out by trying to say "here are some various options and different ways to configure them with these resulting tradeoff's" we take a slightly more directed approach.

    What is it that you want, what features do you want, what is important, what isn't. What backup stuff do you require, what kind of filesystems do you want to run. what network accessibility do you need, remote access? how critical is speed. (the one note that i would insert here is that you can always keep a seperate additional drive through a different connection to achieve the high speed that you might need.

    I'm also buillding a system right now as my desktop that put me through the end of high school and all of college is finally next to dead. This is what I am looking for / needs I want to address: storage of lots of media that I'd like to be able to access from both windows and linux.. yes I'm sorry but I am still migrating off of it, there are a couple of things I need it for but thats what my old barely alive pc is relegated to. That said I have a windows laptop (this one is planned to become linux as soon as i can transfer everything off of it) I keep in my living room for quick access to whatever while I watch tv. I do have a spare T30 laptop that is running gentoo /ubuntoo on it that I am going to turn into a mythTV /dvr box if i can find something to plug into a pcmcia slot for capture(good luck i know..) otherwise its already to go as a mythtv.

    the biggest thing is that I don't always want to have my desktop running if possible just to access the files on its hard drives. maybe thats dumb, but if I'm just browsing some stuff from my laptop on the couch after a night of work id like to be able to access my files. Yes linux is stable and I could leave it perpetually running all the time, but try as I might the little green guy on my shoulder says that doing so would be wasting a lot of power running a big fancy computer all day long so that i dont have to go upstairs to turn it on when i want to access a couple of files... something tells me that since wakeonlan never really seemed to get off the ground for consumers i'm going to probably end up putting all storage into that machine and making it both a file server and "fun box"

    --
    "Jazz isn't dead, it just smells funny" ~Frank Zappa
    EdelFactor
  164. Need to modify the thinking process by dbbd · · Score: 0

    From the question it sound to me like you're looking at it the wrong way. You need to consider your goals first, and then decide on alternative methods to achieve them. And then, weigh the pros and cons on the alternatives for your situation. It sounds like you are looking for redundancy in order to achieve data reliability. Recent studies by google and another research, found out that a. MTBF numbers are all wrong (not to say lies) b. the theory of being able to sustain data access through a single failure is flaky To that I add the observation that not all data is worth the same. Google employ some redundancy of data by keeping multiple (3?) copies of important data. I wish there was some network file system that would allow me to give redundancy attribute to a file and the FS would automatically maintain N copies of different hardware. Other requirements you need to consider - how easy it is to recover from a failure. RAID5 failure is not that simple to recover from. It takes time to rebuild the array. RAID1 is much simpler to maintain. RAID0 is not a redundancy mechanism, but a performance mechanism. It is similar to a JBOD, but can be also much worse than JBOD since with JBOD you access each disk as a disk. A disk dies, only the data on that disk dies. WIth RAID0 the data is striped. A disk dies, all the data part of which is striped on that disk, is lost. I'd also suggest you take a look at ZFS (BSD has it I hear). It may provide you what you need. Good luck Dan

  165. RAID and storage by maurert · · Score: 1

    This is a complicated set of questions the you've boiled down to should I use RAID 5 array. Yes a small array of three disks set up at RAID 5 can only present two times the space of the smallest drive in the configuration. So have 3 * 250GB today you have 500GB of usable space. Tomorrow replace two of those drives with 750 GB drives and you still will only have 500GB of usable space. While I haven't studied it, I can also image low end arrays that if you now replace the last 250 GB drive with a 750 GB drive you might still only have 500Gb of usable space until you do something.

    If you're talking significantly larger arrays, then the hot topic in storage is virtualized RAID. You throw several dozen to several hundred drives at a virtualized array, you tell the array how much RAID 0, RAID 1, and RAID5 storage you want and the array builds that across the drives available. You can even define some drives as hot spares. Somehow from you comments this sounds much larger than you're talking.

    Also RAID 5 doesn't have to be a set of three disks. It can be any number of disks with parity space. The smallest RAID5 set is three, but there are arrays that build four, five, six, and seven disk RAID 5 sets. If with three disk (all the same size) sets one third of the space is lost to parity information. With seven disk sets only one seventh. Three is the common number for low end arrays because, well they are low end arrays and disk slots consume space and money. At the high end the number of disks in a RAID 5 set is set based on space savings vs. performance needs. The more disk in a RAID 5 set, the worse performance random writes will get.

    Lastly while RAID 1 and/or 5 is a good way to protect you from the hardware failure of one disk, it is not the end all be all of data protection.

    Whole arrays aren't as likely to go bad, but it has been known to happen. That's where host based RAID 1 between two arrays comes in for the highest availability.

    In many configurations user error is the most likely concern. Wild card deletes, programatic corruptions, overwriting old valid files with new files are as likely to cause you grief in a given year, and RAID 5 (nor 1) won't give you the least bit of protection against that. Backups do better. And with todays cost of storage, and disk to disk backup is a practical way to give yourself another level of protection. Arguably for low update rates a nightly backup is better than RAID 1 as the likelihood of overwriting a file or deleting it is higher on a given day than a hard disk failure.

    If your data is more valuable then you need to consider offsite backups. Again this doesn't necessarily mean investment in an expensive tape drive and expensive tape cartridges. External USB, Firewire or SATA drives even the NET can be a cost effective way to move data offsite.

    Todd

  166. P2P Raid by sanjed · · Score: 1

    Just get 3 or 4 friends who all like the same stuff as you, all get kitted out with large hard disks, and share everything with each other. The internet's getting faster these days, just make sure you all download the same torrents. Why not even have a shared torrent folder so you can all see what's up to date.

    I guess when your mate gets 20mbit and starts using newsgroups it might cause a few issues, but hey, that's his problem.

    And on a more serious note, you could actually do this with hamachi www.hamachi.cc easily, and if you wanted secure storage, you could keep your personal files in encrypted archives on your friends computers.

  167. Bah by aybiss · · Score: 1

    Everyone knows the only reason you need a hardware RAID card is because all the mobo manufacturers dicked us for IDE headers. 8 SATA connectors is no good to someone with over a TB of IDE drives.

    --
    It's OK Bender, there's no such thing as 2.
  168. Raid.. by PermanentMarker · · Score: 1

    I'm not sure how much you got to spend
    But the storage calculation for raid 5 is simple N-1 So if you put in nine disks then you have 9-1 = 8 disks of storage.
    If you have only 3 disks you 3-1 =2 disks for storage. So as you see it gets more intresting, lets overhead when you use more disks.

    If you do got a lot money to spend there exists expandable Raid 5 like solutions (different vendors give it different names, for example raid 10 or raid 20 or other names).

    I'm wondering dough, you say you use it for media storage if it is only photo's perhaps just googling you can buy a pack of 200 writeable blanc DVD for about 139 euro that's close to a terabyte.. and damn cheaply for such amount of storage.
    The backdraw is that you have to manage 200 DVD (perhaps there exist software for that)

    Also think of lifetime these days digital hardware will break be it a HD or DVD you have to think of backing up a terrabyte too...(oops)

    --
    I know you're out there. I can feel you now. I know that you're afraid. You're afraid of us. You're afraid of change.
  169. Solutions: lvm, raid linear, 0, 1, 5, 6,10, 50,... by Anonymous Coward · · Score: 0

    Hi,

    you have a few possible solutions. First lets talk hardware since that will cost you:

    (sorted cheapest first)
    - Internal controler with internal disks
    - Internal raid controler with internal disks
    - external JBOD box
    - external raid box
    - multiple external boxes with multi paths (yeah, we are this insane :)

    I don't recommend an external box unless you want to go really big for the simple reason of price. You can easily fit 8-16 disks internaly with a good case at a fraction of the cost.

    So internal it is. But do we need hardware raid? Hardware raid controler save you the cpu cost for software raid (less than 5% usualy) but tend to be slower than software raid due to the main CPU being so much faster than the controler. Hardware raid also costs a bundle and means you have to buy the same card again if it fails.

    So again I recommend saving money. With (linux) software raid you can get any controler card, any number of cards and build your raid any way you like. (or not raid them at all if you prefer).

    Once you have the hardware now you have to decide how to use it:

    - JBOD
    You can format and mount each disk on its own. That makes them totaly independent but your space will be fragmented. Once a disk is full you have to put the next file on another disk. That can become somewhat chaotic and you will run out of space on the wrong disk all the time and have to move stuff around.

    - raid linear, raid 0, lvm
    You can combine multiple disks into a larger device using any of the three. Lvm can do linear and striping and is a lot more flexible than the raids. So if you want one of the three then use lvm. Striping will give you extra speed but increase the risk of data loss since a failure of one disk in a stripe means the stripe is gone. With 10 disks certainly not a good idea.

    - raid 1, raid 10
    Mirroring will give you redundancy but at a high cost in both space and bandwith (in software raid). I only recommend it for / (since you can boot of software raid1) and systems where cpu loss for software raid is unacceptable.

    - raid 5, raid 6
    Now here comes the ultimate solution. The perfect combination of space, redundancy and speed. Raid 5 allows one disk failure without data loss, raid6 allows 2 disks to fail. I recommend raid 6 if you have more than 8 disks. You can calculate the MTBF for raid5/6 with X disks and you probably want it to be more than a single disk has. So a 100 disk raid6 might not be smart but 8-16 disks is probably fine. Someone else do the exact math.

    Linux software raid allows you to grow the size of the raid after you replaced disks to the new size of the smallest disk. You can also grow the raid set by a disk to get more space.

    Note that raid5/6 will give you one big disk again. You can partition it (partionable raid support in linux) or run lvm on top of it. I recommend lvm over partitioning since it allows online operation while partitionable raids need umounting.

    You can also combine multiple raid5/6 with raid linear, raid 0 or lvm with or without striping. Instead of raid 5l/50/6l/60 I always recommend lvm. It is just more flexible. For example you could get 16 drives and build 2 raid5 sets a 8 disks.

    Sidenote: What to do with unequal size disks?

    A raid 1/5/6 will always use the size of the smallest disk in the set. But the extra space on bigger disks need not be wasted. Software raid can perfectly run on partitions. So you can create partitions the size of the smallest disk on all drives and create a raid there. Then repeat with the remaining free space for a second raid and a third and so on. That way most space can be used.

    Example: 4 disks a 200G, 150G, 150G, 100G

    |0 |50 |100 |150 |200G
    200G |xxxxx|xxxxx|xxxxx|xxxxx|
    150G |xxxxx|xxxxx|xxxxx|.....|
    150G |xxxxx|xxxxx|xxxxx|.....|
    100G |xxxxx|xxxxx|.....|.....|
    |...set 1...|set 2|set 3|

    Set 1: 30