Home Network Data Storage Device 649
It happened again- a machine on my home network died. Taking with it tons of data. It's mostly backed up. No huge loss. But I finally think it's time to get some sort of network raid disk. A unified place to safely store data accessible to the numerous machines on my home lan. So now I pose to Slashdot readers- what are your recommendations? I'm looking for something with RAID and SMB sharing. At least a quarter TB, probably a half, but with some room to grow. What have you used? What works? What fails?
Re:Simple answer. (Score:3, Insightful)
I just convinced my boss to buy 2 of these for backups
Re:Wow! Research! (Score:3, Insightful)
What's wrong with somebody looking for user testimonials and advice about actual installation and use from a tech site?
Xbox does the trick (Score:2, Insightful)
Add 1 Xbox ($130)
Add 1 mod chip ($30)
Add 2 250 GB HDDs ($250) -- you can either disconnect the CD-ROM or follow instructions on adding a second hard drive, but disconnecting allows everything to be internal
Add 1 Linux for Xbox ($0)
Stir in Raid 5 set-up and samba
And you've got yourself a headless quarter terabyte raid 5 network server for a low-budget of $410.
RAID != backup (Score:5, Insightful)
RAID could help with downtime, but is not a substitute for backup, really. Tape backup is still very expensive (high inital cost), and DVD's are limited in both quality and storage capacity. Well, I use both, but then my storage needs are slight since I burn my most important data to a DVD-RAM disc every night.
What OpenBSD thinks about RAID: [openbsd.org]
Re:The Poor Man's RAID Array (Score:5, Insightful)
Whatever you do, you MUST be protected from accidental deletion and corruption. That means you need a backup, which RAID is not. Now assuming you maintain a separate backup, why waste disk space on a separate "hot" backup, which RAID (not 0) provides? If this is home use, you don't care about the downtime required to restore from background in event of a disk failure.
If you're like me, you don't want to buy a bunch of identical disks at once for home use. Instead, you have a range of larger newer disks, and smaller older disks. . This means the disks you want to use are NOT all the same size, as required by RAID (AFAIK). Instead, you can use LVM [tldp.org] with linear mapping to combine smaller drives into one larger one, even if the physical drives are mismatched sizes. Create one logical volume for live, and one for backup, and do nightly updates of the backup. You probably don't want/need to compress the backup if the bulk of your files are already compressed media files.
Re:It's Time my Son (Score:3, Insightful)
I'll skip the whole you forgot about the inventors of nfs [sun.com] whining and just point out that better is highly subjective. First of all you can do password authentication with samba. With NFS its by uid only. While thats convient if your exporting home directories where all the machines can trust each other and are running UNIX, if you want users to be able to mount or browse shares themselves then samba is the way to go. Also samba allows you to share printers and do domain based authentication. Perhaps NFSv4 can do that and you can prove me wrong, but you should have specified that as I'm sure the average NFS user is as unaware of the features of NFS4 as I am.
Re:Simple answer. (Score:3, Insightful)
Re:Avoid the Netgear SC101 (Score:2, Insightful)
This was funny as hell!
In Soviet Russia standards open YOU!
Re:RAID-5? BAARF! (Score:4, Insightful)
Multi-disk failure: Well, you can still lose your RAID-10 if two disks from the same linear array fail, so you're spending a lot of money and not really gaining a whole lot - the 33.3% figure only applies to a 4-disk RAID-10.
If you've got 4 disks and are concerned about 2 failing, go RAID-6. You get the same capacity as the RAID-10 would get you (capacity * (n-2)), and you also have a 0% chance that 2 failed disks will take the array down. To increase capacity, you just need to add one disk at a time, too (after the initial 3), as opposed to the RAID-10, where you have to add in [at least] pairs.
Re:It's Time my Son (Score:3, Insightful)
Re:The Poor Man's RAID Array (Score:3, Insightful)
Problem: Disks Die
Problem 2: They aren't free
Problem 3: I can't lose any data at all ever even the stuff from the last 24 hrs.
Oh wait, home users and 99% of business don't have problem 3 even if they think they do.
So you get your self a nice cheap low power box with a big disk(s). Since its on 24x7 maybe even consider some some of the 2.5 inch disks or if you need speed (which you don't) get the 10k 2.5inch disks.
So you get a few external cases with firewire and/or UBS2. Set up cron job based on the speed of the machine and how much data your willing to sacrifice to rsync the external disk to the internal one. Then every so often you can pull the external disk off and swap it with one you keep at the office.
This protects you from any single disk failure and some cases of two disk failure (i.e. lighting strike at the wrong time). You also get an offsite backup and you have a backup of a few days or weeks ago.
Another thing to keep in mind is keep the formatting simple. It means less issues when things break and things will break.
Solution (Score:4, Insightful)
Here's my brew:
1. Old PC. Any one would do, probbably even a good'ol P1. 128MB RAM is more than enough. I consider this FREE. I run a dual-PIII-450MHz that I have lying around.
2. 4x[BIG-SATA-DRIVE]. How big? When I built mine, highest bang-for-buck was 250GB. So I went with 4 of those.
3. 1x PCI SATA controller.
4. 1x PCI GbE NIC.
[3] and [4] are peanuts. [2] is worth, what, 500$?
The entire rig will easily give you ~10-25MB/sec, which is, for any home use I can consider including pumping 10GB files over the network, plain enough.
Plug any crap old 2GB or greater IDE harddrive in for sport (or two and do yourself a RAID1 configuration).
Install Linux.
Install SAMBA.
Configure RAID.
Set up healthchecks that email you if something in
[OPTIONAL]
1. Grab several old IDE drives. Not neccesarily same sizes.
2. Stick them in some other box (I did it on my windoze box cuz that's where I had case space).
3. Configure a RAID0, or better yet, a spanned volume. Use windoze dynamic disks, use LVM, whatever makes your boat float. Set up a compressed filesystem if you think that would help any. Usually, with the kind of things people store on huge arrays at home, it won't.
4. Do a daily dump of everything from your RAID to your backup array.
DONE. Forget about it and go do something better with your time.