Turnkey Linux RAID Solutions?
Total-Gig-Age asks: "I want to buy an expandable RAID system for home storage of large media files (music, film, and photo). I'm absolutely unwilling to rely on optical discs (bit rot, not always online) and un-RAID-ed hard drives (unsafe: if it fails, you're screwed). The thing is, I don't have time to shop for and configure a RAID system myself, and I want a turnkey solution that will just work out of the box. I'm aware of Apple's XServe, but $6000 for 1 TB is just too expensive. What are my best options if I want to buy an open source system that I can maintain and upgrade if need be? Any recommendations on a full set of components, so that I don't have to spend a week shopping? Trustworthy online companies? Can I trust a local store to do it for me? Is it better to keep the server as a separate machine? Finally, how much should I expect to spend if I want something that doesn't suck (for 1TB say)? I can find plenty of info on how to set up RAID on the Internet, but I just want to be told what to buy so I can get on with other things, even though I could probably handle setting the whole thing up myself if I had to."
Cheapest option is probably to build it yourself. There are plenty of resources to help you and lots of people too answer your questions. Besides then you have bragging rights for building it yourself!
piss off
I have never been happier with an online retailer than I have been with NewEgg.com.
Pretty Pictures!
nevermind the "if it's important, then $$ shouldn't matter" argument
is $6k just too much, or is 1TB just not enough disk space for $6k? in other words, if you could get 4TB for $6k, would would consider it?
vodka, straight up, thank you!
You want good quality, but you don't want to pay for it. Ummm, right.
Quality comes at a price. Everybody learns this eventually. With a DIY solution, the price is your time. You can make something really great if you're willing to burn a weekend or two on it.
If you're buying something, you can have "moderately expensive, stable, and really limited", "really cheap, but likely to fall apart or catch fire", or "really expensive and really flexible".
The other thing that you run into with a sommercial system is the difference between home and business requirements. For a business with a machine room, dust, humidity, and temperature are easy to control. A noisy unit is fine. Under your desk, temperature and dust build-up will be a problem, and the thing'll sound like a jet engine.
--
I got a couple of Promise UltraTrak SX4000 4 Channel External RAID Enclosures at $WORK to evaluate and while they aren't fast enough for me to move a production Oracle server to, they are plenty fast for a home media server and are quite affordable.
Each enclosure presents itself as a SCSI drive. You can chain enclosures together and use LVM to make them available to one (or more) filesystem(s). Hardware RAID takes place within each enclosure, but not across them.
Mine were set up with four 300GB drives which, after RAID5 overhead, gave me 900GB of usable space per enclosure (I had two enclosures). You could easily use 400GB drives and have 1.2TB per enclosure if you wanted. I would think that total cost for the enclosure with 400GB disks would be around $2500 US.
I'm thinking it'll be unlikely that you'll get an answer here - as 15 other people have said - if you want easy, you pay for it, if you want cheap, you work for it.
Sure, RAID helps - go grab a 3Ware card for your machine and mirror your data. But things like RAID and dual power-supplies are really in their element when system-availability is important. Ths system keeps running and you can hot-swap the drive or schedule off-hours down-time.
For keeping your data safe, however, RAID is mostly useless - something you will come to realize when the house containing your RAID burns down or when the RAID is stolen by burglars or a human/software glitch manages to "dd if=/dev/zero of=/dev/yourdisk" your RAID. Power-surge, tornado, flood...the list of things against which RAID fails to protect is long.
If you really care about your data you _must_ perform regular backups and take them off site. I rsync my photos to my work machine and use a VXA tape drive for regular backups.
And I don't bother with RAID except on servers at work.
~~~~~~~
"You are not remembered for doing what is expected of you." - Atul Chitnis
I use software RAID for most installations. Hardware RAID comes with a high price tag and is a pain to manage (not to mention that the on-disk formats vary not only between vendors but also models, so replacing a dead RAID card can be troublesome at best). Avoid those cheap hardware IDE RAID things; they're cheap because they're slow and not very reliable--software RAID in Linux is quite reliable and fast. Depending on your budget and storage requirements, you could go with IDE or SATA drives (you'll probably need to buy external controllers). I'm not generally keen on RAID5, but if you can afford a hot spare, it's probably your best option.
I usually just make one large MD device and then use LVM to split it up as necessary and grow the logical volumes as necessary. If you just want media storage, you'd probably be fine skipping the LVM and using one large filesystem.
Wil
wiki
The thing is, I don't have time to shop for and configure a RAID system myself, and I want a turnkey solution that will just work out of the box
You're paying $6,000 because Apple does the work for you.
I suppose you could get a tower PC, and fill it with hard drives and setup RAID. Cheaper? Yea. Reliable? Yea. But there's more to it than that.
I googled for 'building 1TB server'
http://www.martinandalex.com/blog/archives/2005/0
Home 1TB RAID Server
CPU Athlon 3200+ $199 Frys 11x multiplier, should over clock to 2.6GHz easily
Memory 1GB Corsair 4400C25 $275 Very fast at DDR466
Motherboard ASUS K8N-E Deluxe $149.99 Frys, 6 SATA RAID chips on Motherboard, 3GB memory
Case SUPERMICRO Beige 4U Rackmount Chassis, Model "SC742T-550 Beige" $307.50 New Egg. Has 7 SATA backplane built in
CD drive NEC 3500A $67 newegg or zipzoomfly
system drive WD740GD $185 10000 rpm system drive
Data drive Maxtor DiamondMax 10 250GB $149.99 ($.59/gig vs $.68/gig for 300GB) 5 of these bad boyz
total: $1933.48 or less than $2 per gig for RAID. Half the cost of white boxes and 1/3 the cost of anything from the channel.
Here's another article, more information
http://www.ethics-gradient.net/myth/storage.html
How about the Buffalo Terastation? Only $1k.
There's two popular RAID cards for the PC. I'm most interested in Raid-5 because the obvious cost-per-gig savings vs. mirror (raid-1) solutions.
1. httP;//www.3Ware.com
2. http://adaptec.com/
The 3ware is quite popular, but the adaptec wins in my book because it will do several things the 3ware one will not:
a. On-line expansion: the ability to expand your array without backing up the data to another location, reconfiguring the array, and reloading the data.
b. Differently sized disks: if I have 2 disks of different sizes, the 3ware one will only do RAID1 with a total size of the smaller of them; likewise with raid-5.
Just some ideas for you...
-- Kevin
Unitarian Church: Freethinkers Congregate!
sommercial - adj - The business of psychoactive drugs.
sommercial - n - An advertisement for soma.
Source: A Brave New World, by Aldous Huxley
tasks(723) drafts(105) languages(484) examples(29106)
Don't even look at the Adaptec ATA-RAID cards, they are mostly based on the crappy Highpoint chipsets that do pseudo-RAID. What you want is a 3Ware card.
Look to eBay for deals, I managed to get a 3Ware 7820 (I think, it is 8 Channel PATA) for a hundred bucks. Currently I have 2 120G drives attached to it for my main system drives, and I plan on getting 6 more 250-300G drives to build a second array on the device.
The 3Ware cards (mostly, they have one cheap RAID 1 or 0, 2 channel card) support RAID 0, 1, 5, 1+0, JBOD, hot spares, multiple arrays per card, and other enterprise level features. It really does work well.
What you really want is a NAS box. Your foolishness about dropping the R-bomb proves your mental inadequacy.
Look for "Snapserver" or, my fave, the Iomega p410u. In a pinch you can netboot it with bigger hard drives, but by default you get >300GB of raid-5 with hot-swap IDE. and with gigabit ethernet, who cares.
Anyway, for mass storage, get to eBay
(note: yeah, yeah, eBay eats babies)
Maybe it's just me... but I'd be a lot more interested in buying an X-Serve RAID if I could just put it next my PowerMac. I need that sort of storage for my photography files but I don't have a rack system and I don't want one. Just another PowerMac box only with the RAID array inside would be great.
Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.
and other nonsense excuses for not answering the question.
I'm guessing people have spent a LOT of money on reliable storage solutions and tend to be irrationally dismissive of the possibility of inexpensive redundant storage.
The fact is, if you know Linux well, maintaining a Linux based RAID array for home use is perfectly reasonable and generally quite painless. I build an inexpensive 4 drive 480GB RAID array a few years ago that I've been delighted with since. I have survived a disk failure with minimal downtime and no data loss.
"And when the house burns down?"
I'm so tired of this stupid argument. Data loss due to fire will happen with or without RAID. The fact is, losing a disk is much more likely than having your house burn down by a very large margin (I'd take a rough guess that disk loss in a 8 disk system is about 10,000 times more likely than disk loss from fire). But even if they happened with the same frequency you'd still be reducing your exposure by 50% by eliminating data loss from disk failure with RAID.
I have yet to find an online company selling properly configured systems for a reasonable price.
I thought about building a standalone storage server recently and saved my design in a newegg wishlist
For rack mount RAID systems I like the design cases they have at www.rackmountpro.com but I've never dealt with them personally so I can't say how well they work.
set softtabstop=4 shiftwidth=4 expandtab nocp worlddomination
LaCie recently announced their F800 desktop RAID solution. 1.0, 1.6 and 2.0 terabyte models are available. The array connects to a host computer via IEEE1394 (Firewire) or USB 2.0. The array can be configured as RAID levels 0, 0+1, 5, and RAID 5+hot spare. PriceGrabber lists the 1.0TB version for just under US$1500 and the 1.6TB for US$2700.
You haven't really made it clear whether you want 1TB worth of raw disk, or 1TB of mirrored (or mirrored and striped) RAID volume. 1TB of raw disk shouldn't cost $6000 (in fact, you can get a single-CPU Xserve G5 with 3x400GB disks for under $5000, and that's got actual processing capability, not just storage) but unless you just do RAID 0 striping (which gives you speed, but not redundancy) you may wind up with less than 1TB. RAID 1 mirroring will give you redundancy, but you'll lose lots of disk space. Something that does striping with parity, like RAID 5, would be better, but you're probably looking at a special drive controller then.
Village idiot in some extremely smart villages.
You didn't say:
1. How much money you want to spend, just that $6k is too much.
2. How fast you want it.
3. Whether or not it needs to be quiet or has to run in an unairconditioned garage.
4. Whether or not you want a "headless" server or a Linux box with vga and keyboard 5. Why you're willing to maintain and upgrade it but not build it.
In short, you're probably not a geek else you'd be digging into this and figuring it out yourself. Or at least asking better questions.
"Eve of Destruction", it's not just for old hippies anymore...
I actually think that the XServe returns quite a bit for what you pay them. You can DIY for perhaps 1/4 of the price & a lot of time & some cursing. If you want a cheaper solution, I have been fairly happy with a recent purchase from eRacks. If you want something a little more end, get a SNAP serve or something similar. Or, get a couple of those 1 TB external disks & use software RAID 1.
mmmmm turkey *drool*.. oh you didn't say turkey? :(
The thing is, I don't have time to shop for and configure a RAID system myself, and I want a turnkey solution that will just work out of the box. I'm aware of Apple's XServe, but $6000 for 1 TB is just too expensive. What are my best options if I want to buy an open source system that I can maintain and upgrade if need be?
Well, clearly what you should have done was to pay me < $1,000 for the sweet sweet dot-bomb (sort of) leftover that I donated to charity last week. Too late, so sorry--RedHat installed & configured, dual PIIIs, 1GB ECC RAM, dual SCSI 160 busses, mirrored boot drive, 6-bay hot-swap hardware RAID-5 with Cheetah drives, CD-RW, DVD-RAM, extra hot-swap bay for toting around big files...
Seriously though, take a careful look on eBay. I listed the above machine with a reasonable starting bid (<$500 IIRC) and got 0 bids. The secondhand market is still pretty saturated with high-quality stuff from companies that went broke during the tech "retrenchment". Yeah, there's a lot of junk on eBay too, but you might be able to find what you want.
Promise UltraTrak SX4000 - $1150
4x Hitachi 7K500 500GB drives (should be out RSN) - $1200-1500
A good U160 SCSI card for one of your computers - $200.
For about $2500-3000 (half the price of an Xserve RAID), you can have 1TB of RAID0+1.
Rather than buy a turnkey RAID solution, buy a cheap machine and a nice tape drive. Use the cheap machine as your media server (no RAID), and use the nice, big tape drive to make the necessary backups. As other people have mentioned, there are a lot of bad things that RAID doesn't protect against, but off-site backups do.
LSI megaraid is another really decent options. Cards are between $100-$350 bucks, and get it with sata or scsi support, option for PCI-X, hardware raid-5 whole shebang. Excellent drivers.
THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
I want something similar. I'm probably going with a firewire raid tower.
I only want to use the disk on one machine so NAS is overkill.
I only need moderate speed so SCSI is out.
I need >1gb of logical drive space.
I want hot swap.
I don't need to run another OS, just a dvice to manage the array and connect to my desktop.
Cost is likel to be around $2k. I might get lucky on ebay but it's unlikely.
I'm looking for a roughly similar "solution" - adequate performance with redundancy and lots of storage space. A "SAN" ("Storage Area Network" - one of the current buzzwords going around these days) might be useful.
Either iSCSI (if you want economical and standards-based) or Fiber-Channel (if you're wealthy and the speed of writes to the hard drive array is critical) based boxes of hard drives seems to be an option, and from the point of view of the server (or whatever computer is using them) they are just another hard drive. Or so the materials I've read say. (Think of them as an external RAID box...)
iSCSI seems to be limited to 1Gb speeds (unless you can get your hands on 10Gb ethernet cards and switch, which I gather are now available), which to me seems perfectly adequate for most file-server type uses. It looks to my still-new-to-the-area eye that you can also do a lot of potentially useful tricks because of the standard IP-based nature of the data transfer (such as being able to mount a "hard drive" directly over the internet or a LAN, if you have some reason to need to do so). Fiber-channel is faster (2Gb seems to be typical, 4Gb is apparently getting fairly established, and 8Gb is available if you're made of money) but requires specialized and fairly expensive hardware ($500+ for each fiber-channel interface card at the LOW end, as I recall, plus several thousand for the fiber-channel equivalent of a "switch".)
On the subject of iSCSI, there seem to be active projects with both "target" (iSCSI device server) drivers and "client" (iSCSI device mounting) drivers for Linux on Sourceforge...
Corrections welcome, of course...
Incidentally, that's not to be confused with "NAS" ("Network Attached Storage") which as far as I can tell is a buzzword used by people due to the fact that "file server" doesn't sound "cool" any more...your "NAS" might be using a "SAN" to store the drives that it is serving...
In any case, this may be me trying to "hijack" this Ask Slashdot, but what do people here think of the "SAN" concept and its implementations?
Hacker Public Radio is our Friend
Ive said it before and ill say it again! RAIDCORE!!!
Everyone seem to think that raidcore is not in the game, but i am telling you that it ROCKS.
The standard line is that it is software raid. This is not the case. You can boot and run dos off of a raidcore with no drivers. The only reason i say this is to underscore that there is no REQUIREMENT to do software raid with this board.
They DO have a driver which allows a software ASSIST to increase speed of the XOR calculation if you have the spare cycles.
The reason you want to go wtih radicore is that you can expand the array LIVE and without backing up your data. They do things that 3Ware WISHES they could do. Like live raid level migration, live expansion, card spanning, etc..
I have a system with one raidcore and 8 250 gig sata drives. It is in a Raid-5 level config, and runs GREAT! I had a bad drive and the controller did exactly what it was suposed to. Namely, it marked the drive bad, sent me an email, and kept on running fine. I pulled the bad drive (live i might add), put in a good one (still live), and it rebuilt all in the background with NO issues.
Say what you want about 3Ware, Adaptec, Promise and all the others, but NONE of them has the level of features that this card does.
Raidcore
(stolen from DaBum) I am dyslexia of borg - your ass will be laminated.
You could try installing a Coraid box, which has a 10 disk chassis for $2500. You can load any disk you want, and attach it over the network.
Western Digital drives in a RAID config.
Against my spidey-sense I made a few arrays out of the 100 and 120 gb ide offerings from WD- Some did not like being on the controllers (promise and 3ware), some needed a huge ammount of extra power to boot and not recaliberate/reset or spin down(!).
In the end, all 20 are now dead after 2 years of use, the first 15 failed in the first 6 months (and yes all were oem).
Firefox &
Congratulations! Your application to PHB candidate school has been accepted. A rewarding career awaits you.
Just kidding, of course. This kind of SAN device should be as ubiquitous as a TV. Unfortunately the general consumer doesn't know (s)he needs one, and the market isn't scrambling to provide them. Yet, hopefully.
$0.02,
ptd
I'm an animal lover -- they're delicious!
As far as building the actual arrays goes, that's easier because there are fewer choices. The cheapest (at first blush) approach is to use something like external USB or Firewire disks and software RAID. You don't need an expensive controller card, hot-swap backplane, power supply, or case: the intiial cost of investment is low. The downside is that USB and Firewire disks are much more expensive per GB than regular internal SATA or IDE disks. And while the interface is capable of being faster than SATA/IDE, I suspect those external disk boxes are going to be a good bit slower than regular disks. Still, if you are building an array piecemeal, buying one or two disks at a time, this is the approach I would recommend.
If you have resigned yourself to spending Big Money in one lump purchase, then you will want to do it "right." Buy a hardware RAID card, a hefty power supply, and a case with lots of room. Since cost is a factor, you will want to use SATA or IDE. I recommend SATA simply because cable management is so much easier than with IDE, and the drives are only 5% or so more expensive now; but YMMV, it doesn't really matter which you choose. As for the RAID card to use, decide on what OSes you might be using with the server. If you want FreeBSD, you are pretty much limited to 3ware. If you want Linux, then 3ware and Adaptec should both be fine. Windows is naturally supported by everyone. You'll note that I haven't mentioned the "buy a lot of cheap 2-port PCI controllers and do software RAID" option. Well, not only do those cheap controllers suck ass, many of them only support one or two controllers per machine. You can do it, but it's such a headache I'd rather just drop an extra $200 or so on a many-port RAID card.
For the case to get, the simplest approach is to buy a regular desktop case with a good number of 5.25" bays. You can then buy a "5-to-3 hot-swap backplane," which is a box that fits in three adjacent 5.25" bays and has five hot-swap trays for hard disks. My reason for recommending this isn't really cost, it's that it's tough to find cases which come with hot-swap IDE/SATA bays. SuperMicro sells some, which you can find on Newegg. I have one and it's great. But remember that many of those cases "support dual Xeon processors," which means they come with special 24-pin power supplies and won't work with your P4/Athlon motherboard without an adapter (which is impossible to find). As a final caution, if you are putting in lots of hard disks, make sure you get a case with (a) lots of fans; and (b) a hefty (450W or greater) power supply. I'm using a 450W P/S in my case, because of the above-noted Xeon P/S issue, and it's not sufficient to power four 7200rpm SATA disks: under heavy load one
I did this - see So I'm buildin a fileserver.
My only complaints with my 3ware card:
1) no live expansion
2) haven't had much luck running 3dm/2 with Fedora Core 3 and my 8500-8 card.
Other then that, it's been great. The entire family uses the server for various needs. And knowing that all of our digital pictures are that much safer is nice.
http://slashdot.org/~tf23/journal
a good recipe for a 1.2TB Linux-based RAID for under US$1600.
I've been playing around with various RAID devices here. I have SCSI RAID which expensive but very reliable. ATA parallel RAID but limited to two disk. SATA which very good, expanable and inexpensive. I used LSI-Logic 6-port SATA RAID card with three 160-GB SATA drives running RAID 5. The total cost was under $1000. I have all of these running in my current case with space for two more drives for expansion.
Remember you need enough space in you system to fit these drives inside your system and have enough power to plug all of these drives. If you don't then the cost of an extenal enclosure and power will drive up the cost.
Also you should have an battery for the RAID so you don't lose any data if you lose power and remember the setting of the RAID.
Most of the SAN implemtations I've seen have used 2Gb FC_AL (Fibre Channel Arbitrated Loop).
As long as all of the FC devices you use have fabric support, all you need a SAN filesystem and perhaps a metadata server and you're good to go.
One sample setup would be this:
Brocade FC switch
Xserve RAID (just the RAID box, not a server)
Mac w/ FC card
PC w/ FC card
The Mac, PC, and RAID box are each plugged into the FC switch. Now either machine can access the RAID directly through this FC SAN. There is no need for a file server / NAS.
However, you could (or might even be required to) add a server into this SAN. The server would be a "metadata server" to keep tabs on this big shared filesystem. It could also be used as a traffic cop / permissions manager / etc. But each PC or Mac connected to this SAN would still be able to access the RAID directly over fibrechannel. The server could be used as a generic file server (a "NAS") so that machines on the same LAN, but not on this FC SAN, could access the RAID indirectly.
Does this make any sense? It's hard to describe without drawing a picture.
I'd also like to add that most SANs serve one or two purposes:
1) SPEED! No need to access the data through a server. You can connect directly over fibrechannel.
2) Server redundancy. You might want to keep your data on a hardware RAID-5 box, such as the Apple Xserve RAID. You could then have two servers connected to the RAID. One server would be doing all of the work while the other would be a hot backup. In the event that the primary server dies, the secondary server could mount the RAID and take over. (This has been done for years with oldschool "high voltage" differential SCSI)
I know next to nothing about iSCSI and how it relates to all of this. I have only worked with oldschool differential SCSI and with FC.
Rebyte is a Compact Flash card based device (w/ Linux) you attach to the ATA interface on the motherboard on one side and the HDDs on the other. It costs only $149 and it offers what you need (NAS, RAID 1,5).
we have a winner.
Repeat after me...
RAID IS NOT A BACKUP.
Here's how I do my backup....
1. I have a computer with 2x200 GB drives mirrored.
2. I do an incremental backup of the data on these drives every other day to DVD-R discs. (I do not keep the discs for more than 6 months)
3. Every other month I do a full backup and take it off site. (Safety deposit box)
4. I rsync my critical data every four hours to an offsite server which is backed up to tape every night.
Most of the data that I back up is not critical. Much of it is music, movies, etc. that could be replaced but would take time. I do not want to rip all of my cds and dvds again.
I classify critical data as something that can not be replaced or replicated without a huge amount of effort. This includes family photos, documents, etc.
The only reason I use RAID at home is that the drives will eventually fail. When they do fail, hopefully not at the same time, I will only need to pop a new drive in. It is all about convenience and saving time. That is it.
I just ran out of space on my old raid array (two 200GB drives in a gentoo linux machine with software raid 1 mirroring.) I also was inspired by the slashdot story about someone who did a iPod shuffle raid using a usb hub... and since I just ordered a mac mini, I wanted to do something similar, but with actual hard drives. The screenshots of the OS X raid configuration in the disk tool sold me on the idea.
I checked out Tom's hardware for hard drive enclosures that could power and connect some cheap 200GB Maxtor drives. link and decided on the Nexstar NST-350UF. Each enclosure is small, fanless, and has two firewire ports, so I can chain lots of drives as my raid array grows.
Newegg sells enclosures for about $45 and 200GB drives for about $105, so I'm starting off with 400GB raid5 (three drives) for about $350, and will be able to upgrade to 600GB for another $150 when I need to.
I'm anticipating a few problems... 7200rpm drives in fanless enclosures might not last very long... I ran them for 24 hours and they were pretty warm to the touch. Firewire adds a little latency on each access, and raid5 tends to access the drives as a set, so I might be creating a fast-as-oatmeal volume.
Wish me luck.
-Jim
Celebrate Excellence!
...Buffalo's Terastation. Check this.