Nutshell:
I am putting together an ~20 TB RAID-Z3 FreeBSD box to replace an existing 4 TB RAID-Z2 FreeNAS appliance. I intend the system to function primarily as a ZFS NAS platform with NFS/Samba, but will also be installing Postgres and Apache on it. I'm new to FreeBSD, and my intent on using ECC memory plus the need for supporting a large number of SATA devices has moved me into hardware realms that I am not very comfortable in, and I'd appreciate any advice or sanity checks.
Details:
I have been very happy with FreeNAS, my 5 x 1.5 TB zpool has run more-or-less flawlessly for about three years. However, it's close (400 GB) to capacity and one drive is coughing up checksum errors at a distressing rate. I'd also like to upgrade the NAS to function as a modest-weight server (Apache, Postgres, and eventually would like to get my HDHomeRun working on it as well).
My general mindset / guiding principles, in rough order of priority
I generally shop at NewEgg, and have found (probably unsurprisingly) that they're not really geared toward hard-core server components. If it's kosher for the forum, I would be interested if people have recommendations for other vendors that are focused on more appropriate hardware. I am providing NewEgg links below because they're what I have in my notes, and they provide full details on each part. At the moment, I am considering:
If you've read this far thank you. Any guidance is most appreciated. I both work and play in Linux, but am looking forward to picking up experience in FreeBSD!
I am putting together an ~20 TB RAID-Z3 FreeBSD box to replace an existing 4 TB RAID-Z2 FreeNAS appliance. I intend the system to function primarily as a ZFS NAS platform with NFS/Samba, but will also be installing Postgres and Apache on it. I'm new to FreeBSD, and my intent on using ECC memory plus the need for supporting a large number of SATA devices has moved me into hardware realms that I am not very comfortable in, and I'd appreciate any advice or sanity checks.
Details:
I have been very happy with FreeNAS, my 5 x 1.5 TB zpool has run more-or-less flawlessly for about three years. However, it's close (400 GB) to capacity and one drive is coughing up checksum errors at a distressing rate. I'd also like to upgrade the NAS to function as a modest-weight server (Apache, Postgres, and eventually would like to get my HDHomeRun working on it as well).
My general mindset / guiding principles, in rough order of priority
- Data integrity: I'm very comfortable that ZFS will keep the sanctity of my data once it's in the pool. However, I fret over in-RAM errors; hence, I've decided to go with ECC memory on this system
- Low cost: I'm going for the "I" in RAID. I've come to recognize that an ECC system is a relatively big step up in price, but am accepting that. The bulk of the cost is going to be in the drives, and I don't want to go wild there.
- Out-of-the-box functionality: From looking over the supported hardware, I don't think I'm straying into esoteric components, but would really appreciate warnings if I am heading towards devices that require heroic efforts to install.
- Reliability: I'm willing to accept moderately frequent failure rates with the drives, given the redundancy and ease of purchase. For the other components, I'd rather not be swapping them out every year. I tend to value warranties not so much because I expect to use them, but because I see them as a measure of confidence the vendor has for their own products.
- Low power: As much as possible I'm looking for low power consumption. It is not neccessary that the machine be a high-performance compute farm.
- Let it sit: I'm intentionally building far beyond my current needs. I don't mind building systems, but I'd rather use them and just "let them be" for as long as possible. 20 TB is chosen to put off a rebuild for as long as possible.
I generally shop at NewEgg, and have found (probably unsurprisingly) that they're not really geared toward hard-core server components. If it's kosher for the forum, I would be interested if people have recommendations for other vendors that are focused on more appropriate hardware. I am providing NewEgg links below because they're what I have in my notes, and they provide full details on each part. At the moment, I am considering:
- CPU: Xeon E5-2603 Quad 1.8 Ghz (LGA2011 $220 80W) or Xeon E3-1230 V2 Ivy Bridge Quad 3.3 GHz (LGA1155 $240 69W), AFAICT the cheapest ECC-supporting chips on their site.
- Motherboard: handwringing over Intel S1200BTLR ($230 LGA1155) or Intel S2600CP4 ($550 dual LGA2011). The latter seems overkill, but might make it easier to hook up the required number of drives. I have focused on Intel boards because they seem to have the best warranty.
- Disks: I calculate I need 11 x 2 TB drives to get "20 TB", and RAID-Z3 + a hot swap takes me to 15 total drives. Historically I've used WD Green drives and have been reasonably happy, but am open to other suggestions. I'm intrigued by the Red line, and would be willing to pay the extra for the extra two years warranty (with over a dozen drives I expect to be sending a few back), and the apparent lower power consumption. I'm also a little worried that they may not be appropriate for ZFS; I have read anecdotes on the web of apparently satisfied ZFS users, but a call to WD support asking about ZFS suitability was met with the telephone equivalent of a blank stare.
- Host Bus Adapters: I think this is the way to go? If I understand SAS right, I can attach 4 SATA drives to each port with special cabling (e.g. this?). That means I'd need 4 SAS ports. I have the vague-but-possibly-misguided sense that I'd be better off with 2 cards x 2 ports, rather than 1 card with 4 ports. LSI appears to have the best support for open operating systems, so I was leaning toward two 3081E-R (3Gb/s $215) or 9211-8i (6Gb/s $260).
- Expander: Or is this the way to go? The RES2SV240 ($280) lists 6 SAS ports with 6 Gb/s. Comparing an HBA to the expander, I don't have a sense how I/O is moved (or bottlenecked) through one or the other, or if there are other considerations I'm oblivious to.
- RAM: No real research yet until I've settled on the CPU and board. I will aim for 16-32 GB because even with ECC RAM is cheap (and I'm spoiled at work with 500 GB systems). I would like some thoughts on Registered/Buffered; what are the advantages of having either/both? I recognize I need to match the RAM to the motherboard, but don't know if I should be seeking out, say, boards that use registered memory.
- Case: Cheap. I found a 4U / 15x3.5" rack mount for $100.
- Power supply: I have a spare SeaSonic X650. I've used it on two other systems, including the FreeNAS box, and was impressed with the low power consumption. However, I've read suggestions that it can provide unstable power, and would be willing to consider alternatives.
- NIC: Planning to use the on-board interface(s).
- SSD: I'll use an SSD for boot and system; I think I have a spare M4. I'll probably have a non-zpooled HDD for scratch/swap.
If you've read this far thank you. Any guidance is most appreciated. I both work and play in Linux, but am looking forward to picking up experience in FreeBSD!