File Server Builder's Guide
by Zach Throckmorton on September 4, 2011 3:30 PM ESTWhile the focus of this guide is hardware, it's worth first briefly discussing home file server operating system options.
Windows Home Server 2011
Microsoft launched its latest version of WHS earlier this year. It can regularly be found for $50 or less when it's on sale. Of all the file server operating systems available, WHS2011 is the easiest to both set up and administer for users familiar with the Windows series of desktop operating systems and less familiar with Unix or Linux. If you've installed and configured Windows XP, Vista, or 7, you can install and configure WHS2011 with a minimal (or even no) extra research. The downside to this ease of use for the home file server novice is, of course, cost - WHS2011 is not free.

FreeBSD and FreeNAS
FreeBSD is, of course, free. Because it is a Unix operating system, it requires time and effort to learn how to use. While its installation uses an old text-based system and its interface is command line-based, you can administer it from a Windows PC using a terminal like PuTTY. I generally do not recommend FreeBSD to users unfamiliar with Unix. However, if you are intrigued by the world of Unix and are interested in making your first foray into a non-Windows OS, setting up a file server is a relatively easy learning experience compared to other Unix projects.
FreeNAS is based on FreeBSD but is built specifically to run as a file server. It features an intuitive, easy to use web interface as well as a command line interface. Both FreeBSD and FreeNAS support ZFS, a file system like NTFS and FAT32. ZFS offers many benefits to NTFS such as functionally (for the home user) limitless file and partition size caps, autorepair, and RAID-Z. Though it is aimed more at enterprise and commercial users than consumers, Matt wrote an article that has lots of useful information about ZFS last year.
Ubuntu and Samba
Ubuntu is arguably the easiest Linux distribution for Windows users to learn how to use. Unsurprisingly, then, it has the largest install base of any Linux distro at over 12 million. While there is an Ubuntu Server Edition, one of the easiest ways to turn Ubuntu into a home file server is to install and use Samba. (Samba can be used on not only Ubuntu, but also FreeBSD.) Samba is especially useful if you'll have mixed clients (i.e. Windows, OS X, and Unix/Linux) using your home file server. Though FreeNAS certainly works with Windows clients, Samba sets the standard for seamless integration with Windows and interoperability is one of its foci.

Succinctly, WHS2011 is very easy to use, but costs money. Installing Ubuntu and Samba is not particularly difficult, and even if you've never used any type of Linux before, you can likely have a Samba home file server up and running in a morning or afternoon. FreeNAS is arguably a bit more challenging than Ubuntu with Samba but still within a few hours' grasp of the beginner. FreeBSD is potentially far more capable than WHS, Ubuntu/Samba, and FreeNAS, but many of its features are mostly irrelevant to a home file server and its learning curve is fairly steep. When properly configured, all of the above solutions are sufficiently secure for a typical home user. Most importantly, all of these options just plain work for a home file server. An extensive comparison of each OS's pros and cons in the context of a home file server is beyond the scope of this article, but now that we've covered a few OS options worth your consideration, let's get to the hardware!



150 Comments
View All Comments
HMTK - Monday, September 05, 2011 - link
We don't even use encryption for our enterprise customers. There's just no point. How easy do you think it is recovering useful data from a RAID member? Not talking about a mirror here but RAID 5/6/10 Replyqoonik - Sunday, September 04, 2011 - link
Hardware:motherboard: supermicro X7SPA-H-D525 (
- Intel® Atom™ D525 (Passive cooling)
- Intel® ICH9R Express Chipset
- 6x SATA (3.0Gbps)
ram: 2 x 4GB DDR3 SO-DIMM Kingston
case: CFI A7879 Mini-ITX NAS/Server Case - 4 Hot Swap Bays
psu: FSP120-50GNF (FANLESS)
fan: BeQuiet SilentWings 120 mm PWM
hd: 1 x WD green 1.5 TB (completing ... )
OS:
Amahi Home Server (Fedora) http://www.amahi.org Reply
Rick83 - Sunday, September 04, 2011 - link
Gonna chime in here ;)motherboard is a gigabyte P55-UD5
i5 650
10xSATA + 2x eSATA + 1xIDE + 2xIDE from PCI card
2x1 GB some-DDR3
CM Stacker STC-1 (yes, the original goodness!) with 3 4in3 modules
psu: seasonic 430W with plenty of power adapters
fan: stock fans all around (120mm per 4in3, one 120mm exhaust, one 80mm top exhaust, no CPU fan), CPU cooler is a scythe Yasya
hd: 1x 8GB transcend IDE flash module (SLC), 1x 2.5" transcend IDE ssd (SLC), 1x 40GB seagate IDE, 1x 80 gb WD IDE, 1x 80GB seagate SATA, 3x 400GB Seagate SATA, 5x WD 1TB EARS SATA, 1x Samsung 1TB SATA (12 spinning disks, 2 SSDs)
an optical drive
a TV-card (though apparently broken...stream coming out of it is corrupted)
an IEEE1394 CF Card reader
Setup is 2x RAID1 (second level back up, and dynamic system files, consisting of the small disks) ad 2x RAID 5 (main and back-up array)
graphics: nVidia 6200 - looking to replace this with something that idles at lower energy - can't stand the card being as hot as it is, with no screens attached.
Now having lived with that machine for a few years (previously it was running only 7 disks and a sempron single core on it, before that there was a pre-cursor server that was running on different celerons and as little as 32MB of RAM) I am currently looking at options to make the disks more accessible. Something this article doesn't touch on, is with many disks come many deaths. Which is where a hot-plug cage really comes into its own. So I'm on the look-out for affordable backplanes with 120mm fans which I can replace 1:1 with two of the 4-in-3s (my IDE disks will have less use in a hot swap cage ;) ) Reply
Communism - Sunday, September 04, 2011 - link
The easiest way to get extra performance out of your file server is to use 10gbE cards on the file server, set up a 10gbE switch, and use 10gbE cards on all your comps.This will alleviate the approx 100 mBps limit on gigabit ethernet, which will allow you to easily accommodate raid 0, 1+0, 5 array's full speed of 300 mBps+.
This would also help with concurrent hard drive use, for when you are transferring from more than one HD at a time, since HDs nowadays easily get 135mBps+ sustained transfer speed. Reply
DanNeely - Sunday, September 04, 2011 - link
With the cheapest 10GB nic's on newegg being almost $500 each it's still far too expensive for the typical home network. You'd also probably want a significantly more powerul system than what was described in the article. Feeding a 10GB NIC generally eats an entire core of a XEON chip. ReplyJohanAnandtech - Monday, September 05, 2011 - link
Our measurement show that a 10GB NIC needs even more than one core. 14% of 12 2 GHz Xeon cores, that is about 3.4 GHz of Xeon power.http://www.anandtech.com/show/4014/10g-more-than-a...
Described in desktop terms, that means that you need at least one of Core I5 2400 system just to power your 10G cards. And you probably need more. Reply
DanNeely - Monday, September 05, 2011 - link
Ooops. Guess i skimmed that article too fast; didn't realize it was a hex-core chip. ReplyHMTK - Monday, September 05, 2011 - link
Who's going to have a 10 Gb switch at home? Please get real. Most SMB's don't even have that. Why not go full 8 Gb fiber while you're at it :-) Replyalpha754293 - Tuesday, September 06, 2011 - link
@HMTK12x IB EDR FTW!!!!
(what's up? long time no talk.) Reply
Death666Angel - Sunday, September 04, 2011 - link
That's a nice coincidence. I just ordered my file server stuff this week and it got here on Friday. So far I just put it together, haven't turned it on, yet (exam stress).I haven't read this article, hope my stuff isn't too useless. ;-)
Just a fyi, here is the system I have:
- Sharkoon T9, 9 x 5.25"!!
- AMD Phenom II X4 840 (fake Phenom btw)
- Asus M4A88TD-V EVO/USB3, which supports ECC memory
- 2x4GB Kingston DDR3-ECC 1333MHz RAM
- 2 x IcyDock 5 in 3 Backplane (MB455SPF-B)
- Intel Gigabit CT Desktop Adapter for PCI-E x1
- A300 Couger PSU (staggered spin-up ftw! I just hope it works out ;-))
- Highpoint Rocketraid 2680SGL + 2 MiniSAS to 4xSATA cables
I'll use 8 2TB HDDs for a RAID5 with Linux Ubuntu, at least that's the plan. I'll also get a UPS soon. I have enough space to upgrade to a second raid adapter (the motherboard has 2 PCI-E slots and I hope the graphics slot will be accepted) and have 15 HDDs in the 9 5.25" trays and I can cram one additional one in there for sure ;-). Reply