How-To Geek
How to Turn an Old PC Into a Home File Server

Do you have an old desktop PC sitting in a closet somewhere? Put it to use by installing FreeNAS. FreeNAS is a free, open-source operating system that will convert old PCs into network-attached storage devices.
Use your NAS as a central file storage or backup location for every PC on your network. FreeNAS also supports plug-ins, so you could even run a BitTorrent client or media server on it.
What You’ll Need
We’re focusing on using older hardware here, but FreeNAS would prefer a reasonably modern computer. You won’t be using an ancient PC for this. FreeNAS is based on FreeBSD, so it should support any hardware FreeBSD supports. Bear in mind that an old PC won’t be as power efficient as something lightweight like a Raspberry Pi, so you’ll be spending more money on power than you would with more lightweight NAS devices.
FreeNAS runs on both 32-bit and 64-bit CPUs, but a 64-bit CPU is ideal. The official documentation says FreeNAS would prefer at least 8 GB of RAM to provide good stability with the ZFS file system — if you have less RAM, you should use the UFS file system instead. You’ll still want at least 2 GB of RAM, even when using UFS.
FreeNAS runs better when you install it on a USB drive or compact flash card that stays inserted in your computer. FreeNAS will then run from that external media, leaving your computer’s physical disks available for storage.
Download FreeNAS from here. Burn it to a disc and boot the disc on your computer. The page also has a USB image you can use, if you prefer.
Install FreeNAS
Boot the FreeNAS installer on the computer you want to install it on and go through the wizard. If you want to install FreeNAS on a USB flash drive or compact flash card — this is recommended — insert the removable device into your computer.
Select Install/Upgrade when the installation wizard appears and select the drive you want to install FreeNAS on. Any attached USB drives will appear in this list.
The installer will write the FreeNAS operating system files to the drive you choose. The installation process is now finished — remove the CD (or USB drive, if you installed from USB) and reboot your computer.
Set Up FreeNAS
You’ll see the Console setup screen after your computer boots. You can tweak settings from here, but you don’t have to. Locate the URL at the bottom of the screen and plug it into a web browser on another computer to access FreeNAS’s graphical web interface.
(You can now unplug your monitor from your FreeNAS box, if you prefer. It should no longer be necessary.)
FreeNAS will immediately ask you to set a root password, which you’ll need to log into the web interface in the future. Set a password you’ll remember.

You can now use the web interface to set things up. This is the same sort of interface you’d see if you purchased a dedicated NAS device.

Basic NAS Setup
You’ll probably want to set up some storage first. Click the Storage icon on the toolbar to open the storage pane. Use the ZFS Volume Manager to create a ZFS partition or use the UFS Volume Manager to create a UFS partition (Remember, you’ll want at least 8 GB of RAM if you’re using ZFS or 2 GB if you’re using UFS, so choose UFS if you’re using an older PC with less RAM).

You’ll now want to visit the Sharing pane so you can make your new storage volume accessible over the network. Different operating systems support different protocols, so FreeNAS allows you to set up Windows (CIFS), Unix/Linux (NFS), or Apple (AFP) shares.
Of course, some operating systems support multiple protocols — Linux and Mac OS X include some support for accessing Windows CIFS shares, for example.
Whatever protocol you use, your shared folder will be accessible just like any other shared folder. For example, it should automatically show up under Network in Windows Explorer or File Explorer if you created a CIFS share.

More Features
FreeNAS is packed with options, and we can’t cover them all. You could use the integrated user tools to set up different permission schemes for access to different folders or make them available to everyone. You could set up FTP, Rsync, SSH, or dynamic DNS services.
The Plugins screen is particularly interesting, holding a variety of third-party packages. You could install the Transmission BitTorrent client or Plex Media Server from here, turning your old PC into a BitTorrent downloader and network media server as well as a NAS.
Check out FreeNAS’s official documentation for more in-depth details on everything you can do.

FreeNAS is an excellent way to put an old PC to use. If your old PC can’t even run FreeNAS well, you may want to try reviving it as a desktop PC with a lightweight Linux distribution.
Image Credit: Rob DiCaterino on Flickr
To be honest....I'd rather run a nice twin bay QNAP or Synology NAS rather than some old junker running and humming at 200W+ all day on an old SATA1 setup with a 100Mb Ethernet connection.
By all means try it to get some experience/fun but only really use it if you need the horsepower using a more modern and robust machine for business.You can pick up Dell Quad core Xeon workstations (T5400 type) with 8GB of ECC ram for not a lot these days. But by the time you've finished a Prosumer NAS will probably work better and cheaper in the long run.
Or get a proper server from a corporate clear out reseller.
I'm already running Windows Home Server 2011 and Windows Server 2012 R2 Essentials and have a retired WHS v1 I was interested in NAS and was considering it before I decided to get my first server but now it just seems to be redundant. I had wanted to go to one server but WS2012R2E has an issue with my MediaSonic ProBox enclosures so I was forced to go back to WHS2011 for all my file storage. Now I have a server with a 4th generation Core i7 and 16 GB of RAM doing backups and nothing else.
Um... most PCs with 2 GB RAM or more can have Windows 7 installed with no problems, and can function as awesome everyday PCs...
Yes, a NAS is entirely redundant. There's basically nothing in a NAS box that can't also be found on a proper PC.
I think the attraction is the simplicity and the size: a NAS box needn't be much larger than the hard drives it encloses, and you can usually just turn it on and let it run; there's little to no system maintenance to worry about.
Personally, I've gone both ways - setting up dedicated servers and running standalone NAS boxes. I prefer to use a system built for the task. Repurposing an old PC seems like an attractive option, but if all your'e going to use it for is file sharing, you may as well just get a USB drive enclosure and leave your primary desktop running.
I'm guessing some of you don't pay the power bills.
I set up a NAS running Ubuntu 12.04. It serves as a file server and a media server (Plex).
I agree that power bills are a concern, but so is the cost of a good quality NAS. Wouldn't it still be cheaper and more flexible to use an old case with new components - focused fully on low power consumption and no more power than is needed - to power this "NAS"?
Not worth installing some shit like that.
Be warned that since FreeNAS is (specialized) FreeBSD, it doesn't support other file systems than its own ones. Well, if you don't count high probability to corrupt entire file system in the case of ext* and less so with FAT or NTFS as not supported.
That depends on whether you're in the habit of keeping one PC around the house on all the time anyway. If you do typically leave one computer on, the least expensive way to go is just to add more hard drives to that computer, either internally or via USB.
If you have mixed network of Windows and Apple PC's does FreeNAS handle both file types and allow you to backup all the PC's to it? Can you use Apple's backup with FreeNAS? If not, can anyone suggest an inexpensive operating system that will handle both types of PC's?
If you have both tpes of computers at home, you already know that your Mac can talk to your Windows boxes. Windows uses a protocol known as SMB, and Apple has supported this protocol for years, so anything that can natively serve Windows PC's can serve a Mac.
Ok, but can I back up the Mac to the same NAS as the Windows machines using the Mac's Time Machine software?
That I'm not 100% sure about. Time Machine can back up to USB drives, so I can't see why it wouldn't back up to SMB-shared drives. The way to know is to try backing up to a shared folder on a PC. If you can back up to Windows, there's no reason you can't back up to any NAS system that uses SMB sharing.
Having said that... I don't really see dedicating a PC to FreeNAS as a practical or desirable thing. Your existing PC's can do anything FreeNAS can do, so there doesn't seem to be much of a point. If you just want backup and file sharing, just hang the drives off your Mac and share them to the network.
OK, not really relevant but, can you turn the old pc with FreeNAS to a Web Server?Is this possible
You can use Time Machine to back up both your PC and Mac devices. You just have to partition part of the drive to FAT. I had the same concerns when I was chatting with a Mac representative the other day.
Do any of you utilize a system like this?If so how do you keep an off-site copy, will Carbonite or another similar option work?
I have a Windows 8.1 tower with 8 TB thinking of using this as the homeserver and then backing up with Carbonite...suggestions?
Don't use Carbonite.
Carbonite is the devil. It skips files, as the makers of Carbonite see fit, and it's virtually impossible to actually get Carbonite to do what they advertise, which is to actually back up all your files.
So, moving on: let's assume you're using an actual PC to host your files, not a NAS box. (NAS boxes don't have a keyboard or monitor, and they usually run a proprietary operating system.)
For straight-up backup, my favorite service is Crashplan. From what I'm reading, there is a FreeNAS plugin and a Linux version. It runs in Windows, too, so no matter what OS you're running on your server, you're set.
Just a note on that topic: uploading many gigabytes of data takes a long time, especially since cloud services tend to throttle your upload speed. It usually takes me several weeks to get my backup service completely populated with my current "important" files set, which is around 250GB.
Here is something for you to read and learn from. Your knowledge as regards FreeNAs and probably NAS4free is out dated as to the current state of the art.
FreeNAS feature set:
http://www.freenas.org/about/features.html
NAS4free
http://www.nas4free.org/index.php?id=3
I highly recommend trying an install of either. The learning done through a hands on approach far outweighs any Youtube video walk through. As to being difficult, meh, no,it is less than running any other Linux or BSD box due to the web interface. The option, highly recommended by BOTH distros, to install onto either USB flash or CF, makes the thing highly portable and can be easily run from any PC in the past 10 years. Adding in more drives for more storage is easy and with a bit of practice, almost fool proof. Running a media server, sharing drives or folders, running a bit torrent client or just plain old back ups becomes less a burden and more like an easy task. Once automated, and properly configured the OSes are quite stable and reliable. My current uptime on my home box is approximately 45 days, since the last update and new release (prior to that it was 10 months again same reason).
I use a somewhat old laptop as one of my servers. I've been running it 24/7 for nearly 5 years now, and it has performed perfectly every single time. Not a single hardware issue to date. Plus it has the added benefit of being very power efficient. I'd guess around 20-30W with the screen off.
It has been pretty much the perfect NAS for me, though recently I turned it into a router using ClearOS.