FreeNAS: Quick, Easy Fileserver
August 26th, 2008FreeNAS (Network Attached Storage) is a BSD-based file server. It features a web GUI for easy configuration, a small footprint, and a whole bunch of features. Plus, it has quite reasonable community documentation. It’s easy and quick to install and boot. If you have a spare computer sitting around somewhere gathering dust, and that computer happens to have at least 96 MB of ram and a 300 MHz processor, you might just have the makings of a full-featured file server in your basement.
Why Have a File Server?
There are a myriad of reasons to maintain a file server, although this all depends on who you are and what you want to do with it. Myself, I enjoy having one for the sake of having one, although the backups sure are nice.
Backups
This is the primary reason for having a fileserver, and with this in mind FreeNAS comes with built-in support for rsync and unison, two popular backup tools. Both will mirror your files, and have the noteworthy advantage of only copying changes to your files, meaning that while your first sync will be slow while you copy everything over, subsequent ones will be really fast, as only files you’ve edited or created will be uploaded. I only have experience with rsync, but it definitely seems to do everything I ever dreamed of in a backup server. You can even set it up to back itself up!
Linux users are obviously at an advantage with rsync, but Windows users have access to a number of rsync implementations too, I’m told. Unison apparently works perfectly well on both.
Sharing Network Files
If you have more than one computer in your home, even if it’s just a desktop and a laptop, you will enjoy the benefits of having a single place for (at least some of) your files. Multimedia, music and movies and the like, strike me as something user-agnostic enough to benefit from being shared throughout your house. This will provide a centralized place to store all your really big files that would otherwise be taking up space on your laptop.
Remote Access
FreeNAS also boasts an SSH and an FTP server, which means you can share your files no matter where you are, as long as you have internet. SSHFS, a way to mount ssh connections as drives in linux, provides a particularly appealing way of doing this. You can also backup files over the network
If you have cable internet, you’ll probably need a DNS service like dynDNS to keep your ip up to date and provide a domain. However, FreeNAS will even do that for you!
How-To
I just installed the thing yesterday, I’m not nearly qualified to help you with that. Fortunately, a pretty decent setup and user guide exists already, which certainly saves me some time.