How to set up a home file server using FreeNAS

FreeNAS offers a stable platform for home and office use. From a simple file server to a connected media hub, it's possible to configure FreeNAS to perform a variety of tasks on behalf of other PCs on the same network. Thankfully, to install the OS, it doesn't require much time or knowledge.

What is FreeNAS and why should you use it?

What you need to get up and running with FreeNAS

FreeNAS

Before you begin, you need to ensure that you have everything you need. This includes the following:

  • A device that meets minimum requirements (see the link above).
  • 8GB USB drive (for OS).
  • 1GB USB drive or DVD (for OS install).
  • FreeNAS .iso file.

In order to install FreeNAS on a free PC, you need to make sure the USB drive is bootable and has all the necessary files. Because disks are fading out in favor of removable media, here's how you can get a USB drive ready to go:

  1. Download FreeNAS.
  2. Insert your USB drive.
  3. Download Rufus (a program to create bootable USB drives).
  4. Run Rufus, and select the USB.

Rufus

  1. Click the disk image next to Create a bootable disk using.
  2. Navigate to the downloaded FreeNAS .iso file.
  3. Select the .iso file.
  4. Click Start.

The USB drive is now ready to be inserted into the FreeNAS PC to install the OS.

Installing FreeNAS OS

FreeNAS

When firing up your FreeNAS PC, you should see a boot screen that displays FreeNAS as an option. You'll want to select this to continue. If nothing appears, you may need to hit the boot menu shortcut for your motherboard (ours is F11) during startup or make sure the USB drive has been successfully set up. Then do the following:

  1. Select Install/Upgrade.
  2. Select the spare USB drive (FreeNAS will not install on the one containing the OS so fear not if you select the wrong one) with the spacebar.
  3. Hit Ok.
  4. Enter a root password.
  5. Hit Ok.
  6. Wait for the OS to install.
  7. Reboot the PC.

Once FreeNAS has loaded, it's possible to select from various entries on the main menu, or detach the PC from a monitor and log in to the web interface from another PC on the same network. The FreeNAS machine should provide a URL, which is essentially the IP that has been assigned to that particular machine by the network. For example, we access our FreeNAS test machine using 192.168.0.13 in the web browser.

Initial FreeNAS setup

FreeNAS

After successfully connecting to the machine from another PC, the web interface will walk you through configuring various settings, including language, keyboard layout, and more. It's possible to exit this wizard and do everything manually. We'll run through the Wizard in our setup process to keep everything simple.

  1. Enter a pool name (can be unique or simply "storage").

FreeNAS

  1. Click Next.
  2. Choose RAID setup (can be left on "automatic").
  3. Click Next.
  4. Select desired Directory Service (can be left on Active).
  5. Click Next.
  6. Enter share name.
  7. Select Windows (SMB).
  8. Hit Ownership.

FreeNAS

  1. Enter a username and select Create User.
  2. Enter a password.
  3. Create a new group and select Create Group.
  4. Alter permission boxes to reflect what we have.
  5. Hit Return.
  6. Hit Add.
  7. Click Confirm.

FreeNAS

  1. Click Next.
  2. Only configure this window if you wish to set up email on the server.
  3. Click Next.

The web interface will now run through the configuration and apply all changes you made. This may take some time.

Setting up volumes

FreeNAS

Here's how to set up a new volume:

  1. Go to Storage > Volumes > Volume Manager.
  2. Enter a name for the volume.
  3. Add an available disk.
  4. Configure the volume layout.
  5. Click Add volume.

Now you'll need to configure services for sharing and access.

  1. Click on Services at the top.
  2. Enable SMB.

FreeNAS

That's it. This is a basic setup using FreeNAS that will now allow for connections to be made via OS file viewer programs (Explorer on Windows and Finder on macOS, for example). Simply connect through the respective GUI options or directly by using the same IP address that is used for the web interface. A credentials window will pop up asking for login information. Enter the same user account and password you created back in the wizard.

Mapping Windows

In Windows, you can map the FreeNAS location to a specific drive letter so it appears in Windows Explorer as an internal hard drive. Here's how:

  1. Open Explorer.
  2. Right-click on This PC.
  3. Click on Map network drive....
  4. Choose a drive letter.

FreeNAS

  1. Hit Browse.
  2. Browse to the network location.
  3. Click Ok.
  4. Click Finish.

Now a virtual drive will appear in Explorer, allowing for more convenient access.

Your turn to play around

Now's the time to play around with FreeNAS, exploring different aspects of the OS through the web admin interface. You can activate various services that you may desire to use, remembering that this is quite the capable platform that can be deployed as a media center with full support for popular media services, such as Plex. The best part about learning through trial and error is that it doesn't take long to reinstall the OS if you happen to really mess everything up.

Got FreeNAS up and running? Let us know in the comments what you're using it for.

Updated August 15, 2018: We updated this guide to include the latest info on installing FreeNAS.

Rich Edmonds
Senior Editor, PC Build

Rich Edmonds was formerly a Senior Editor of PC hardware at Windows Central, covering everything related to PC components and NAS. He's been involved in technology for more than a decade and knows a thing or two about the magic inside a PC chassis. You can follow him on Twitter at @RichEdmonds.