Lots of storage
Aug. 4th, 2007 05:37 pmIf I buy one of these:
and five of these: 
and stick it all together using Linux software RAID, will that work as a relatively cheap (£370) 2TB RAID-5 storage array?
Will it be very noisy, and if so, should I be looking at getting one of these too so I can stick it in another room?

As you might imagine, I'm giving the whole question of backups a lot of thought at the moment...
and five of these: 
and stick it all together using Linux software RAID, will that work as a relatively cheap (£370) 2TB RAID-5 storage array?
Will it be very noisy, and if so, should I be looking at getting one of these too so I can stick it in another room?
As you might imagine, I'm giving the whole question of backups a lot of thought at the moment...
no subject
Date: 2007-08-04 05:05 pm (UTC)(md0 = RAID0 on disks 1+2, md1 = RAID0 on disks 3+4, disk 5 as a hot spare.)
In terms of noise I'd assume noisy, just because more than one disk in the same place always seems to be noisy - but I guess it depends what they're plugged into. I've got a couple of desktop machines here and the noise they produce easily masks/exceeds the noise from the external USB drives attached to them.
Having an NSLU2 would be a neat thing to have - but I've not yet used one. I think probably the idea of backups is good but you might want to think about where you're going to place the drives. If they're sat upon the top of a PC in an obvious location then there's nothing stopping them from getting lifted along with the main box ...
no subject
Date: 2007-08-04 05:06 pm (UTC)D'oh.
no subject
Date: 2007-08-04 05:11 pm (UTC)Yes, the danger the drive array will be stolen is one thing that makes me think it might be worth placing it elsewhere. However, another option might simply be to bolt it firmly to a sizeable piece of furniture..
no subject
Date: 2007-08-04 05:13 pm (UTC)no subject
Date: 2007-08-04 05:16 pm (UTC)If you keep an eye upon the status, via mdadm, then RAID-5 should be just fine. I'm always a little paranoid when it comes to my data!
no subject
Date: 2007-08-04 05:20 pm (UTC)For example vibration, heat, flood damage(!), etc, are both going to be shared across neighbour drives - even if those at the "far side" of the enclosure are OK.
To compensate for that I'd arranage the drives (physically) in a pattern like this:
[md0-1][md1-1][spare][md0-2][md0-3]
(The idea is that adjacent pairs of disks come from different RAID sets - and with this arrangement any two contiguous drives can die without a problem.)
For RAID-5 if you have two drives die at the same time you're toast, regardless of location.
no subject
Date: 2007-08-04 05:20 pm (UTC)Why do you need RAID? As I'm sure you know well, RAID is not a backup technology; all it buys you is uptime. Do you need the uptime that badly at home? Out of curiosity, what will you use all 2TB for?
no subject
Date: 2007-08-04 05:40 pm (UTC)I don't see what the NSLU2 buys you since the array doesn't appear to have a USB connection, just SATA. If you stick something between them, I'd go with a mini-ATX system with gigabit. I couldn't find smaller form-factor that had enough ports, but I also didn't look very hard.
I'd love to recommend Nexenta+ZFS but I've heard of problems with over 1TB of data (scrub/checksum-checking process hanging), even though that was a year ago it still makes me fret.
no subject
Date: 2007-08-04 05:46 pm (UTC)At home, I've always tried to have enough slots to have completely empty ones between drives.
no subject
Date: 2007-08-04 06:17 pm (UTC)no subject
Date: 2007-08-04 06:29 pm (UTC)Although people say "it's not for backup", that's really a big part of what I use it for. I'm more worried about losing data to drive failure than my own mistakes, and having it mirrored across the two drives means I lose almost nothing (instead of "back to the last backup") when a drive fails. So far I've lost one, and was up and running again just a few hours later with no real data loss. I couldn't really make backups at that frequency.
no subject
Date: 2007-08-04 06:42 pm (UTC)Because it's mostly about web-scripts being edited, I've also got a cron job running 'rsnapshot' (for rsync diffs).
no subject
Date: 2007-08-04 07:12 pm (UTC)I've got a server sitting on my floor which takes complete backups of a couple of remote machines and it has saved me more than once.
(Too often I've had backups which exluded too much, so I lost files, nowadays I remotely backup "/" ignoring only /proc, /sys, and /dev. I haven't lost a file I cared about for a couple of years now :)
no subject
Date: 2007-08-04 07:27 pm (UTC)I've been using Backup Manager for a while, it's got nice integration with a number of upload programs for automatic offsite storage.
no subject
Date: 2007-08-04 07:28 pm (UTC)* Noise: I'm now thinking the easiest fix is to move it into the spare room. I have most of a PC built and this could complete it.
Having done that, of course, I'd feel bad for having two PCs on 24/7, so I would I think move all the 24/7 functions onto the file server (DNS/DHCP and such, recording TV), buy one of these for about £60 more, then re-purpose Trent as a dual boot desktop and games machine.
* RAID: Hard drives fail often enough that it's worth having a measure in place especially for that.
* 2TB: well, 0.5TB drives are the sweet spot at the moment, and 5 is the minimum for RAID to be economical, plus if I've exhausted the 400GB of storage I have at the moment and I'm planning on doing a lot more backing up, then a small improvement will just be a pain - I want *lots* more storage. Plus I'd like to be able to rip DVDs.
no subject
Date: 2007-08-04 07:31 pm (UTC)no subject
Date: 2007-08-04 07:38 pm (UTC)no subject
Date: 2007-08-04 08:32 pm (UTC)no subject
Date: 2007-08-04 10:05 pm (UTC)no subject
Date: 2007-08-04 10:33 pm (UTC)no subject
Date: 2007-08-04 10:44 pm (UTC)no subject
Date: 2007-08-04 10:48 pm (UTC)no subject
Date: 2007-08-04 11:05 pm (UTC)no subject
Date: 2007-08-05 03:39 pm (UTC)OTOH, I've seen resync trigger drive failures when a drive is marginal.
In your place I'd configure md0 [sda sdb sdc sdd] spare:sde. Which will give you 3xHd disk size.
Since SATA hotswap support seems limited on most of the SATA controllers I've seen . I've tried hotswapping SATA devices before now , and the experience was overall less than satisfactory. It sort of worked but a rebooted tended to be needed anyway.
I suspect this has better reliability than a dual raid1 setup. But I'm too hot to check my gut feeling with hard reasoning.
no subject
Date: 2007-08-05 10:14 pm (UTC)no subject
Date: 2007-08-06 09:18 am (UTC)I'd certainly recommend either RAID5 + hotspare or mirror-RAID over stripe-RAID, because even if it is only backup, sod's law says...
no subject
Date: 2007-08-06 09:21 am (UTC)Other option for backup: Bacula (which is what I use at work; not entirely sure that it's worth it for a v small home setup, *but* it is very easily expandable if/when you get more machines).
no subject
Date: 2007-08-06 11:51 am (UTC)no subject
Date: 2007-08-06 11:53 am (UTC)no subject
Date: 2007-08-06 12:44 pm (UTC)If I were you I'd get three big discs and enclosures for same with the money and arrange for at least one to be offsite at any given time.
no subject
Date: 2007-08-09 11:48 am (UTC)I am likely to be disposing of two 8-port SATA Adaptec 2810SA cards soon, since I have bought a 16-port 3ware 9550SX to replace it. Also, you pretty much have to run raid6 not raid5 on disks that size - the rebuild stresses the disk, and if you have had something cause one disk to fail, the likelihood of a second disk failing caused by the stress of the rebuild is even higher. I'm reconfiguring to 16 disks, 14 in a raid6 plus two hot-spares. I used to run 7-disk raid5 plus one hot spare, and it wasn't enough under the circumstances I describe (which was mostly domestic use).
Linux software raid does win, I've been using it for years, but it is not (as I have recently discovered) a substitute for backup. I recommend LTO drives, they're very practical and realistic. Alternatively, the latest generation of DLT is also quite realistic.
The throughput of cards varies dramatically. The best is the 3ware card, but they cost around 500 quid. They do transfer 300Mb/sec off 7 disks, I have yet to try off the full 14, and I wrote a kernel patch to use the card's buffering to the fullest (assuming you have no other controllers in the system).
Um. Feel free to ask if I can help more.