Creating Large, Safe, and Cheap Network Attached Servers?
davco9200 asks: "I am looking to create a large data server for all my digital media files. The usage is the 'pro-user' category, to use the media from multiple stations in my house and at work. I value space (150+ gb would be nice), accessible from multiple platforms (Win, Mac), but perhaps most of all, some security (e.g. RAID 0 doesn't cut it). Total write or read access isn't that high of a priority. I have looked at things like the Snap 4100 that offer 160 gb or 300 gb and good raid options but the price seems high ($2,700 and $4,500 respectively). Has anyone had any experience making their own low-end NAS? Has anyone looked at the Adaptec IDE RAID Controller? This seems like a reasonable way of getting data parity so if one drive goes down your entire collection isn't lost. I figured Slashdot readers would have some good solutions. Information on specific cases, drives, and other pertinent facts would be helpful."
Well, if you don't care too much about performance, don't even bother with a 'real' IDE RAID card, just do software RAID. The reason why people use the hardware RAID cards like the higher end IDE RAID cards and the SCSI RAID cards is because it's faster.
So you can cut the cost of a good IDE raid card and just put an extra IDE controller card in your psuedo-NAS box so you can have 8 drives. Or you can put that off until later.
You should also consider getting a DAT drive and a bunch of DAT tapes, to back things up, just in case something massively bad happens to your system. RAID 5 is not perfect, and if your system catches on fire because of too much dust in the power supply, it'll be helpful.
Gentoo Sucks
I am working on a similar project but in the >1TB range same thing applys to http://staff.sdsc.edu/its/terafile/ On that page they have a link to another page with stuff about ide-raid. >http://www.research.att.com/~gjm/linux/ide-rai d.html The 3ware cards are the way to go as they do raid 0,1,5 in hardware, and support things like hot swap and hot spare. I priced out a system that was just over 1TB of raid 5 for around $5,000 while the prebuilt stuff is $20,000.
One day people will learn the folly of Winbloze, Linux Rules!
One great place to look for an old tower is your local Computer Goodwill or used bulletin board. Get an old box with a 300W power supply, take out the motherboard, start stacking SCSI drives in a daisy chain, and then bring it back to a SCSI controller on your main box.
Obviously SCSI is more expensive than IDE, but you get a little bit more. Just food for thought.
Troll Like a Champion Today
Tom's Hardware has an article on their main page about software RAID under Windows 2000. Apparently it supports striping and spanning, and unlimited drives as long as you have enough controllers for them. The boot HDD has to be standalone but the others can be RAID-linked. The best thing is that it supports multiple interfaces. You can have 3 IDE drives and a SCSI drive and they'll all RAID together.
I don't know if an MS product is what you'd want to use, but it's out there.
J.W. Koebel
I've build a box just for that requirement a few months ago using a 3ware IDE controller, 4x100gb drives in raid 5 mode and linux :) gives a nice 300 gb of space.
..
..)
I think the overall costs were around 2000 Euro
(controller, drive bays, BIG case, etc
One way to go might be an inexpensive, but not underpowered PC, with a PCI Firewir-- er, IEEE-1394 card.
Buy a bunch of cheap, identical IDE HDs, and put them in IEEE-1394 cases (~$150/ea.). Compile yourself some bleeding-edge Linux-1394 support, plug in your HDs, run XFS as the filesystem, and use software RAID. Because you said this is just for storage and media access, you probably don't need the currently limited FireWire hot-plug support and possibly still currently limited RAID hot-swap support.
For more on software RAID, IBM has a nice two-part article (1, 2) on it.
This is my receipe for an "homebrew" Snap4100
1) Get:
- 1U 4bays rack mountable chassis from Sliger Designs
- 3WARE 6410 Escalade IDE controller (Choice of 0/1/0+1/5 Raid) on a 90 PCI riser card
- 4 x 75/100GB ATA100 drives (maybe DiamondMax)
- MicroATX mainboard with NIC and Video integrated on board (invest in RAM not in processing power - 750/850MHZ should be more than sufficient)
- Minimum Linux/*BSD OS booting from a read-only 16 to 64MB flash IDE device, loading kernel and a customised Ramdisk root filesystem, mounting Raid devices in R/W mode, starting SAMBA (and/or Netatalk).
A good starting point is Linux Bootdisk HOWTO
2) Choose 0+1 Raid and you get quick and completely redundant 150/200GB storage that can survive the full failure of one disk.
3) Want remote grafical managment from a standard web browser? Go for Webmin or SWAT.
Don't be too cheap here. Power supplies do go out (or catch fire because of dust or pet hair that blew into them) and even a "good" unit might have problem maintaining its rated capacity after a number of years.
Keep the chassis, but replace the power supply. Besides, since this is a server this sounds like a good place to use one of those units with a built-in UPS, even if box is hooked up to an external UPS. (I've had them fail because I unwittingly overloaded them, because of poor designs that allowed me to accidently turn off the UPS protection but not the power, etc.)
For every complex problem there is an answer that is clear, simple, and wrong. -- H L Mencken
Yeah, probably about half the people on Slashdot. ;-)
There's really nothing to it. Get a x86 PeeCee, 4 cheapo 80GB ATA drives, and Linux or xBSD. Put a bootable+usablesystem partition on each drive (since you never know which drive is going to fail first) and use the rest of each drive as a slice for a RAID5. You'll have a about 220-240 Gig of storage that can survive media failure. You can do it for somewhere in the $1500-$2000 range.
For larger non-media failures, you're still screwed, though. Backup technology just hasn't kept up. :( Unless you have Big Money to spend on this (and maybe even then), you will end up using many tapes for a single backup. That fact will tend to influence you toward not backing up at all, unless you are unusually disciplined.
For the exporting to the other machines, the stuff you need should come with just about any Linux distro. I use NFS (for Unix and Amiga) and Appletalk (for Mac). I suppose Samba would work for wintel boxes.
As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
--I assume full responsibility for my actions, except the ones that are someone else's fault.