Creating a NAS Box Using OpenFiler

In a recent walkthru we outlined the steps for taking an existing server and converting it into a NAS box. That article assumed that you already installed Linux on the server and you will maintain that installation (i.e. updates, security, etc.). This article takes examines an alternative: a dedicated NAS distribution called OpenFiler that allows you to very simply create a stand-alone NAS box that can be administered over the web.

In a recent article we saw how easy it is to take an existing server and enable NFS, effectively turning it into a NAS box (See Creating a NAS Box with an Existing System). The steps are fairly simple and nearly all Linux distributions come with NFS (excluding some of the embedded or specialized distributions). However, implicit in this approach is that you have to maintain the server distribution by keeping it up to date, making sure it is patched, and implementing your own security on the system. This can include many packages installed on the server that have nothing to do with NFS or NAS.

An alternative approach is to use a dedicated NAS appliance distribution that uses only the packages necessary for a NAS box. This would reduce the number of packages that you need to keep up to date or even monitor for security problems. This article examines one popular NAS distribution, OpenFiler.

Introduction to OpenFiler

OpenFiler is a NAS distribution that is created using rPath and is licensed under GPLv2 by Xinit Systems. While an open-source project, Xinit provides fee-based support as well as specialized versions and an administrators manual which you have to purchase.

OpenFiler started as a simple NFS distribution with simple administrative tools but it has grown to become much more than that. Currently it supports the following network protocols:

  • NFS (currently NFSv3)
  • FTP
  • iSCSI (both initiator and target).

In addition, it has a number of features that are briefly summarized below (see this article for a comprehensive list).

  • Support for hardware RAID devices (if Linux supports them)
  • Support for software RAID (md devices)
  • Support for Fibre Channel (FC) drives if Linux supports the hardware
  • Logical Volume Manager (LVM)
  • Point-in-time snapshots (presumably using LVM)
  • On-line volume/filesystem expansion
  • Support for ext3, reiserfs, and xfs as of version 2.3 and the writing of this article
  • Synchronous/asynchronous replication of data
  • Flexible quotas for various situations:
    • Per-volume group-quota management for space and files
    • Per-volume user-quota management for space and files
    • Per-volume guest-quota management for space and files
    • User and group templates support for quota allocation
  • SMC/CIFS support (presumably via Samba) with several significant features:
    • Shadow copy for snapshot volumes
    • Support for auto-created SMB home directories
  • Web based GUI (actually quite a good one as we’ll discover)
  • Authentication via Kerberos 5

It also supports several network directory services for user accounts.

The system requirements for OpenFiler are pretty modest. At a minimum it requires:

  • 500 MHz CPU
  • 256 MB of RAM
  • 1.2 GB hard disk space
  • An optical drive (for local installation)
  • Ethernet like network interface

Even the recommended system requirements aren’t too demanding.

  • 64 bit processor at 1.6 GHz or faster
  • 1GB of RAM
  • 2GB of hard disk space
  • Hardware RAID disk array controller
  • Ethernet interface

This is a fairly modest list of requirements and pretty much any reasonably modern server can meet them. On the other hand, Linux users sometimes like to drag out some really old hardware and re-use it. So be sure to check your hardware against these requirements.

To further investigate OpenFiler, a simple test system was used to represent a stand alone NAS box.

Test System

The following details summarize the basic configuration of the test system.

  • OpenFiler 2.3
  • AMD Phenom X3 8400 CPU (2.1 GHz)
  • 3GB of memory
  • Single Seagate ST3500418AS (500GB, 16 MB cache, SATA 3.0)
  • GigE Ethernet port (uses Nvidia chipset)

Next: Using OpenFiler (A Visual Guide)

Comments on "Creating a NAS Box Using OpenFiler"


Don\’t feel bad about having written possibly the longest article in Linux Mag history LOL!

It was well written, and even though you\’re prolly still going to get some guff about only focusing on NFS, NFS is really what most installations use (when you really get to the nitty gritty of where all those Samba shares are located).

This article builds upon the previous, in a logical sequence of expanded capabilities while diminishing the technical details down to a GUI for administrators incapable of setting up NFS (or any other service on a NAS).

A fine article. I think you\’ve done well and have produced an article worth bookmarking :)

Kindest regards,

Bradley D. Thornton


Just wanted to say I\’ve been running Openfiler 2.3 for over a year now, with 4 x 1TB drives mirrored to create 2TB of storage. It provides a secure store for my documents, photos and music via SMB and filestore (via iSCSI) for my ESXi server & has run 24/7 without skipping a beat. I love it.


I have been using UnRaid for the last year and a half, very stable, does what it advertises.
I like the idea of having a parity drive without the striping, so that if two or more drives fail simultaneously, I only potentially lose the data on those drives or not, and the ability to remove the drive from the array and put in any linux desktop and be able to read and write to the drive as they user reiserfs. It is like raid 5 without the striping. Best speed I get is 70-80MB/s over a gige to the cache drive. So in a 16-21 Drive configuration, that is alot of data to lose in a software raid, while in unraid you would still have access to the remaining data. It also has the feature to power down whatever drives are not in use and power them up on request (ie you need to read a file). Very good power savings. Can openfiler do the same thing? Seriously asking, not trying to provoke a war. It also has a nice gui, that is simple to use. I found upgrading a 400GB drive and putting in a 1.5TB drive was very easy. It automatically copied back the data onto the 1.5TB drive, and I still had the data available on the 400GB drive if something went wrong (but it did not).


I’m a bit of a Linux newb…but I’ve been running FreeNAS on an old box in the corner for about a year and I’ve been thrilled with its performance and stability.

I would like to have seen a comparison of Openfiler against some other options.


I tried to like Openfiler but I couldn’t take the package manager. Conary. Why didn’t they use rpm or debian?


Thanks for your article.I got some useful informations.


Definitely would love to start a website like yours. Wish I had the time. My site is so amateurish compared to yours, feel free to check it out: Alex :)


Creating a NAS Box Using OpenFiler | Linux Magazine


Hello Web Admin, I noticed that your On-Page SEO is is missing a few factors, for one you do not use all three H tags in your post, also I notice that you are not using bold or italics properly in your SEO optimization. On-Page SEO means more now than ever since the new Google update: Panda. No longer are backlinks and simply pinging or sending out a RSS feed the key to getting Google PageRank or Alexa Rankings, You now NEED On-Page SEO. So what is good On-Page SEO?First your keyword must appear in the title.Then it must appear in the URL.You have to optimize your keyword and make sure that it has a nice keyword density of 3-5% in your article with relevant LSI (Latent Semantic Indexing). Then you should spread all H1,H2,H3 tags in your article.Your Keyword should appear in your first paragraph and in the last sentence of the page. You should have relevant usage of Bold and italics of your keyword.There should be one internal link to a page on your blog and you should have one image with an alt tag that has your keyword….wait there’s even more Now what if i told you there was a simple WordPress plugin that does all the On-Page SEO, and automatically for you? That’s right AUTOMATICALLY, just watch this 4minute video for more information at. Seo Plugin


Hi there all, here every p?rson is sharing these kinds of knowledge,
therefo?e it’s plea?ant to read thi? w?bpage,
and I used t? pay a quick visit this webpage everyday.|

Here is my site; pit 2014 program


If yo? are go?ng for finest contents like me, simply v?sit this web site
daily because it gives quality contents, thanks|

Here iis myy web psge :: pity 2014 program


Feel free to visit my web blog :: program pit 2014


I loved as much as you will receive carried out right
here. The sketch is attractive, your authored material stylish.

nonetheless, you command get bought an impatience over that you wish be delivering the following.
unwell unquestionably come further formerly again as
exactly the same nearly a lot often inside case you shield
this increase.


When someone writes an paragraph he/she retains the image of a
user in his/her mind that how a user can be aware of it.
So that’s why this article is amazing. Thanks!


Hello there! Quick question that’s completely off topic.
Do you know how to make your site mobile friendly?
My website looks weird when browsing from my apple iphone.
I’m trying to find a template or plugin that might
be able to fix this issue. If you have any suggestions, please
share. Many thanks!


Hi there, just turned into alert to your weblog thru Google, and found that it’s really informative.

I’m gonna be careful for brussels. I will appreciate for those who
proceed this in future. A lot of other people
shall be benefited from your writing. Cheers!|

Also visit my homepage web page (Corey)


Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>