A C60M1-I motherboard (containing an integrated AMD Dual-Core Processor C-60 with AMD Radeon™ HD 6290 Graphics, and six on-board SATA connectors), from Umart for AUD$95.00.  .
a stick of Kingston 4GB DDR3 1600Mhz PC3-12800 DIMM, which I purchased off ebay for AUD$24.90 inc P&P
4 Western Digital 3TB Green 64MB SATA III WD30EZRX drives, also from umart, for AUD$532.00. When cabling these up, rememeber to keep the drives in some sane order (e.g. the top drive connects to SATA slot 0, the second drive down connects to SATA slot 1 etc), which will help when replacing the things.
a spare 8GB USB stick I had lying about, running a FreeNAS installation created from the FreeNAS installer ISO on the freenas.org website. The FreeNAS guys recommend that you run the OS from USB, and keep all the HDDs attached to the unit for storage purposes only, so I’ve done that .
So not a huge chunk of change left from a cool grand, all in all.
So you boot it up, tell it what it’s name is, what timezone it’s in, what type of keyboard won’t actually be attached to it for most of the time, what it’s purpose in life is, and how little it’s prospects are for ever playing a game of DOOM.
Then I set up a RAIDz2 volume (a.k.a. pool) ( mounted at /mnt/raidvolume ) spanning all four drives ( ada0, ada1, ada2 and ada3 ), since this allows any two drives to fail independently without affecting any of the data. (This is better than RAID1 or mirroring, which can lose data if the two drives in the mirror fail at the same time). This configuration reduces the effective capacity of the array to (number of drives) – 2 … since I’ve got 4 drives, down to 50%, or 6TB of the capacity of the system compared to a 12TB JBOD, but this is compensated for by enabling compression on the resulting array.
This is probably a good time to set the admin password, update the network settings, create a non-admin user and add it to the wheel group, run visudo if you need to, and enable ssh and cifs services.
Within the RAIDz2 volume, I set up three top-level datasets with different levels of compression (none, lzjb and gzip/maximum), as well as SMB (cifs) shares on each to make them easier to access from Windows machines.
Don’t use gzip compression
I was intending to compare the speed and storage performance of these folders, but it turns out that I started getting I/O errors on the gzip folder when running cp on a remote machine via a samba share set up using cifs. Interestingly enough, it wasn’t even possible to kill -9 the cp process; I needed to umount -l and remount to recover. An strace on the running process shows nothing happening.
Since I’m mainly using this storage unit as a backup facility, I’m not terribly concerned about random access read/write times; I imagine that compression would cause random writes within a file to suffer, but I haven’t done any tests. These people have though.
Most of my storage tasks on this machine involve dumping complete files from other machines, so it’s fast enough for me, and lzjb gets me a reasonable level of compression.
Well, yes. When I first installed this thing (on FreeNAS 8.3.1), the network driver for the integrated LAN chipset on the motherboard used to seize up occasionally, spouting messages on the console about re0 Watchdog Timeout Errors. Seems to be fine so far on whatever the hell I’m running at the moment though FreeNAS-9.1.1-RELEASE-x64.
Also, haven’t actually had a HDD go foom yet, so looking forward to that. Probably should have tested that before I loaded it up with data. Next time.
And dying in your bed many years from now, would you be willing to trade all the days from this day to that for one chance, just one chance, to come back here as young men and tell our enemies that they may take our drives but they will never take our freenas !
 The E-ITX website didn’t handle international orders terribly well, so I ended up with an email exchange that lasted about a week in order to order the thing. You can probably get them cheaper on ebay these days.  I actually purchased a uATX motherboard instead of a Mini-ITX motherboard initially, which was too big for the case, but I guess I’ve got a spare lying around here for one of my other PCs now if I need one  The enclosure fits five drives (four hot-swappable and one boot drive), but keeping the OS an a USB stick makes upgrades and backups easier, apparently.  Well, no, synergy is a software KVM application , but if I wanted to use the actual deity-assigned meanings of words then I wouldn’t be working in IT, would I  and I can probably back up a VM in less time than it takes for the NBN to be rolled out to my location 1500m from the Brisbane CBD, which by my estimates, will be some time in 3017. Thanks Tony !