FreeNAS

Setting up FreeNAS, a popular open-source network attached storage (NAS) solution, is not a difficult task. Here's how to get started and configure a working home server.

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

  5. Click the disk image next to Create a bootable disk using.
  6. Navigate to the downloaded FreeNAS .iso file.
  7. Select the .iso file.
  8. 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

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

    FreeNAS

  10. Enter a username and select Create User.
  11. Enter a password.
  12. Create a new group and select Create Group.
  13. Alter permission boxes to reflect what we have.
  14. Hit Return.
  15. Hit Add.
  16. Click Confirm.

    FreeNAS

  17. Click Next.
  18. Only configure this window if you wish to set up email on the server.
  19. 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

  5. Hit Browse.
  6. Browse to the network location.
  7. Click Ok.
  8. 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.