Building a NAS
January 21st, 2009I have some fairly specific needs for data storage on my computers. I use 3 different computers at home on a regular basis, depending on what I am doing. I also run a couple of fairly large websites that need backups done on a regular basis. I have decided that I will be putting together a Network Attached Storage device for my local network.
For parts, I have decided to go with a Mini-ITX platform, as it is compact, quiet, and easily stashed away to run undisturbed in a closet. At this point, the on-board 100mbps LAN is quick enough, as I haven’t fully converted my home network over to gigabit yet. I will be putting 3x 500gb hard drives in a RAID-5 array on this, using a PCI scsi controller. The OS will be held on a 1gb compact flash card, with a backup made and ready to swap out should something go wrong.
What do I need it to do? Well, I currently run both windows and linux at home, so I will need to run CIFS so that the windows computers can access the network drive. For the Linux computers, I will be using NFS. I will also be running a FTP server to allow me to grab files from remote locations. SSH access will also be required for management and large file operations. It would be nice to also run a print server, and SVN repository on this machine, but those will come at a later date (once I have some more Linux experience).
After trying out a couple, I have decided to run FreeNAS as the operating system. It is easy to configure and maintain, and appears to be stable so far. I did have some issues with CIFS and Ubuntu, but that was easily worked around by using the quicker NFS protocol. Another feature of FreeNAS that I will make great use of is a built in Torrent Client.
I was able to source the parts for this Mini-ITX computer from ebay for less than $100 including shipping (not including hard drives, I already have those kicking around). That said, I neglected to order any RAM, so I might just pick that up locally, though it will be the most expensive component of the computer if I do that. I also plan on building my own case for this computer, as I was not able to find a Mini-ITX case for less than $75, which is more than I was willing to pay. My current case plan is to hollow out a vancouver phone book, and coat it in resin. The hard drives for the NAS would be housed in a different case.





