FreeNAS is perhaps one of the best solutions to set up a Network Attached Storage (NAS) on your home or office to share files and media with Windows 10, macOS, and Linux users.
If you have already installed the FreeNAS on a PC or server hardware, there are a few steps that you need to follow before you can share a folder to network users, including creating a new user account, storage pool, and dataset.
In this guide, you’ll learn the basic steps to successfully share your first folder with Windows 10 devices using FreeNAS (version 11.2 and higher).
- How to create new user using FreeNAS
- How to create storage pool using FreeNAS
- How to create dataset using FreeNAS
- How to create share folder using FreeNAS
- How to map FreeNAS shared folder on Windows 10
How to create new user using FreeNAS
The first step to share a folder using FreeNAS is to create a user account to access the storage.
Use these steps to create a new user on FreeNAS:
-
Open FreeNAS in your web browser.
-
Sign into your root account.
-
Click on Accounts from the left pane.
-
Click on Users.
-
Under the “Users” section, click the Add button.
-
Fill out the name, username, and password fields.
-
Click the Save button.
Once you complete the steps, the user will be created on the server, and you can proceed to create a new pool.
Usually, you would want to create an account per user, but if you won’t be saving important files, or it’s not a concern, you can always create the single account to connect all users.
How to create storage pool using FreeNAS
When setting up FreeNAS, you must create a pool, which is a logical group of physical drives that you can then use to create volumes (vdevs) using the ZFS file system advanced features.
Use these steps to create a pool on FreeNAS:
-
Open FreeNAS in your web browser.
-
Sign into your root account.
-
Click on Storage from the left pane.
-
Click on Pools.
-
Under the “Pools” section, click the Add button.
-
Select the Create new pool option.
-
Click the Create Pool button.
-
Type a name for the new storage pool — for example, StorageCollection1.
-
(Optional) Check the Encryption option.
Quick note: Encryption is not required, but it’s recommended, so you don’t have to worry about your data when you need to send faulty drive to repair or recovery. -
Check the Confirm option.
-
Click the I Understand button.
-
Under the “Available Disks” section, select the drives that will participate in the storage pool.
-
Click the Right arrow button to add the drives to the “Data VDevs” section.
-
Under the “Data VDevs” column, use the drop-down menu and select the Raid-Z option to create a storage pool with redundancy and performance.
These are all the available layout options when setting up a pool with FreeNAS:
- Raid-Z — single drive parity similar to RAID5.
- Raid-Z2 — double drive parity similar to RAID6.
- Raid-Z3 — which uses triple drive parity.
- Stripe — data is shared on two drives (similar to RAID0).
- Mirror — copies data on two drives (similar to RAID1, but not limited to 2 disks).
-
Click the Create button.
-
Click the Confirm option.
-
Click the Create Pool button.
-
Click the Download Recovery Key button if you selected the “Encryption” option, and then the Done button once you saved the file key.
After you complete the steps, the FreeNAS pool will be created, and you can now proceed to create a dataset that will host folders that you want to share in the network.
How to create dataset using FreeNAS
Usually a dataset is confused as a shared folder, but it’s not. Instead, it’s a unit in the ZFS filesystem that allows you to apply different settings, and it’s the section that will contain the network share.
Use these steps to create a dataset using FreeNAS:
-
Open FreeNAS in your web browser.
-
Sign into your root account.
-
Click on Storage from the left pane.
-
Click on Pools.
-
Click the settings (three-dotted) button next to the pool and select the Add Dataset option.
-
Type a name for the dataset — for example, DataSetOne.
-
Under the “Share Type” section, select the Windows option.
-
Click the Save button.
-
Click the settings (three-dotted) button next to the dataset and select the Edit Permissions option.
-
Under the “User” section, use the drop-down menu and select the user that you created earlier.
-
Click the Save button.
Once you complete the steps, the dataset will be created inside the pool, and you can now continue setting up a folder that will be accessible by all Windows 10 computers.
How to create share folder using FreeNAS
Use these steps create a Windows 10 share folder on FreeNAS:
-
Open FreeNAS in your web browser.
-
Sign into your root account.
-
Click on Sharing from the left pane.
-
Click on Windows (SMB) Shares.
-
Under the “Samba” section, click the Add button.
-
Click the folder, navigate, and select the dataset you created earlier.
-
Under the “Name” field, type a name for the folder you’re sharing.
-
Click the Save button.
-
Click the Enable Service button (if applicable).
After you complete the steps, the shared folder will be created, and it can be accessed by any Windows machine.
How to map FreeNAS shared folder on Windows 10
Use these steps to map a FreeNAS shared folder as a network drive using File Explorer on Windows 10:
-
Open File Explorer on Windows 10.
-
Click on This PC from the left pane.
-
On the “Computer” tab, click the Map network drive button.
-
Select a drive letter, but you can leave the default.
-
In the Folder field, type the path of network share on FreeNAS — for example,
\\10.1.2.158\Data
. -
Check the Reconnect at sign-in option if you want to permanently connect to the FreeNAS location.
-
Check the Connect using different credentials option in the case you need another account credentials to access the files.
-
Click the Finish button.
-
Sign-in with the FreeNAS user account credentials you created earlier.
Once you complete the steps, you can go to “This PC” to access the newly FreeNAS mapped drive.
Alternatively, if you don’t want to map the folder in File Explorer, you can simply browse to the shared folder typing the path in the address bar, and signing in with the FreeNAS credentials.