Posted 22 July 2014 - 06:52 AM
I'm using old pcs I found in dumpsters. Amd 64 3800 @ 2.4, 512mb ram.
Some old atx case with a bunch of bays.
450watt juice box.
Enclosures are $21 each.
Uses 3 5.25 to 4x3.5 bays, 120mm fan
Pci express cards were $35 each, using 2, 4 sata2 ports.
Hdds are 3tb cudas. I scored them @ $99.
$3 USB 4gb pen drive.
I have a 128gb ssd I use for swap space and other fast stuff. Backup when growing arrays, external bitmap, etc. . Also wear leveling murders pen drives, ontop of the fact they're slow.
Running basic Debian, with a few configuring tuning. No gui, no desktop environment. Some of the essential packages, all free and available via apt-get.
I started with 2 hdds in degraded raid5. Then every month added 2 more hdds. Mdadm supports growing of arrays. And ext4 supports growing of the file system, that is on the array. It's slick. After 12tb of raid5, I added one more hdd, then converted to raid6, and called it done. It's almost a week to do array checks.
So Then I started building a 2nd array in the same box with the same method. Filling up with data right away, and slowly growing/resizing as needed. Everything can be done online and resize2fs supports online operations (mounted) with ext4.
Cron job every 1st Sunday of month does parity checks of array, and I used tune2fs to change ext4 options for mounting options. Every other mount, or every 30 days, it gets checked.
I've had a few drunk oops and tripped over power cords, zero errors, no array problems, no fsck errors. Flawless. We lost power doing a rsysnc of a 2tb transfer. No issues. Resumed correctly at the last file where it left off.
I have 512mb bitmaps for the arrays too, helps array checks into seconds instead of days, since it logs where it works at as it goes changing data.
All shared via samba for M$, and NFS for my other Linux clients, and a plex for media content (it's super slick), for the roku and ps3, and running owncloud software for my own cloud encryptioned server. Ultra handy when on vacation and gadget stuff is all full.
Best part is I have a clone of the pen drive, when it pukes, kill power, swap the $3 stick, boot, resume. Basically same setup on a slower 2nd box, but just important stuff on a mirror 2 arrays, 2x2tb. Mirrored mirrors. No intensive parity calculations. I Didn't want to have another machine running, but I ran out of case on the big bitch for 4 more hdd spots. Plus I'd have to buy another card for 4 more ports, and this other box I also found in a dumpster, and it has 4 on board sata2. So I used it. Ask anymore questions, I'll answer as I check my account.
Sent from my rooted HTC Supersonic using Tapatalk 2 Pro