Download the authoritative guide: Enterprise Data Storage 2018: Optimizing Your Storage Infrastructure
It's hard for many IT managers to even consider using open source software to handle anything remotely critical to running the business. That especially applies to storing company files in a reliable and manageable fashion.
But choosing open source as a platform does offer some help in solving both budget and user needs. In the case of NAS solutions, you get to pick what hardware to use, and you have lots of options when it comes to customization.
The two options under consideration in this article are FreeNAS and OpenFiler. Both have been around for a while and have many of the features you would expect in a business-class storage system. While FreeNAS is completely open source, OpenFiler has taken the approach of offering a base system for free but charging a fee for some additional features. You can still put together a usable system with the free version, but you might want to consider some of the paid options for the improvements they offer.
There are a number of other open source NAS solutions out there, but these two seemed to have the most active development and most enthusiastic user base.
To test the two distributions, we used a system based on an AMD Phenom II X6 1090T processor and an ASUS M4A89GTD PRO/USB3 motherboard, which has support for up to four 6 Gb/s SATA disks. For the system disk, we were provided with two of the new Seagate 500 GB SSHD hybrid drives and used one for each installation. We used Seagate Barracuda 2 TB drives for the data disks. For the benchmarks, we used a single data drive for testing both distributions in order to compare the same hardware.
FreeNAS is definitely the easier of the two to get up and running. After downloading the latest distribution (8.3.0) and burning the .iso file to a CD, it takes only another ten to fifteen minutes from start to finish to have a working system up and running. Most of the default options are reasonable and get you started quickly using the system. The documentation does recommend doing things like changing the default administrator password before you do anything else.
OpenFiler (version 2.99) was a bit more of a challenge to get to the same usable state as FreeNAS. One tip here is to make sure you start with clean disks as OpenFiler doesn't take too well to existing file systems. The documentation on the OpenFiler website is a bit sparse, but we found several good tutorials available on the Web. A quick search for installing OpenFiler on Youtube brings up a number of videos.
To configure OpenFiler, you must have some type of user authentication enabled. This can be a local instance of LDAP, which is provided but not enabled or configured. You must complete this step and then establish a group prior to creating your first user. Once you have a group created, you will be able to create users to put into that group. Creating a shared volume requires about the same number of steps. In the final step, you must create a shared folder and then enable it, as it is set to disabled by default. You must also enable CIFS before you'll be able to share files over a Windows network.
Both FreeNAS and OpenFiler use a Web-based management interface to control all aspects of the file server. FreeNas comes much more ready-to-run, so you might not have a need to walk through as much of the interface as you would with OpenFiler. From a user interaction perspective, it seems easier to accomplish the different tasks in the FreeNAS Web interface. It also seems much snappier than the OpenFiler interface. FreeNAS has a nice graphical system status screen (Figure 1) showing everything from disk performance and percentage usage to network bandwidth.
Figure 1. FreeNAS System Status Screen
There is an argument from a security perspective of "default nothing" for any setting that might open up an insecure path to your storage system. In this light, OpenFiler shines bright as it takes this approach to the extreme. Figure 2 shows the Network host access screen where everything is initially set to No for access. You have to manually change these settings on any new share to allow access. The Web management interface does make it possible to do everything necessary to keep the NAS running, including opening up an SSH terminal to the system.
Figure 2. OpenFiler Network Host Access Screen