TrueNAS Scale Setup Guide on Proxmox
Minimum Hardware Specs
- 2-Core processor
- 8 GB Memory
- 16 GB SSD boot device
- Two+ identical-sized devices for a single storage pool
Prerequisites
- If you are installing TrueNAS scale on proxmox you must first passthrough each disk, or the entire storage controller: Disk Passthrough on Proxmox
Step-by-Step Guide
Install/Upgrade
- Select the boot device (should be at least 16 GB).
- Select YES to erase all partitions.
- Select admin. (root is depricated and not recommended)
- Set the admin password.
- Select YES for boot via UEFI.
- Complete the installation.
- Reboot, or shutdown to remove installation media.
Basic Pool Setup
-
Navigate to the Web UI
- Access the web UI using the on-screen IP address.
-
Create a Storage Pool
- Click Storage in the sidebar.
- Click Create Pool.
- Specify a name for the pool.
- Click Next.
-
Configure Pool Layout
- For Layout, select Mirror.
- If the disks are identical, Automated Disk Selection should select the correct disks.
- Otherwise, select Manual Disk Selection:
- Click Add in the top right.
- Drag and drop your disks from the left pane into the MIRROR area.
- Click Save Selection.
-
Review and Save
- Click Save And Go To Review, unless you want a more advanced setup (not covered here).
- Click Create Pool.
Create Datasets
-
Click Datasets in the sidebar.
-
Click Add Dataset on the right side.
To create a dataset at the root of the storage pool, ensure you select the pool before creating a dataset.
-
Specify a name.
-
Select SMB for Dataset Preset.
-
Under Advanced Options:
- Set sync to Disabled and Click OK when prompted. Faster performance, at the cost of losing the last 5 sec of data upon crash/power loss.
- Leave the rest default.
Optional:
- Quota: Limits the maximum capacity of the Dataset.
- Record Size: For larger files, choose a larger record size (1M is most efficient).
-
Click Save.
Create Local Users and Groups
-
Click Credentials in the sidebar.
-
Click Local Groups.
-
Click Add on the right of the screen.
- Specify a name for the group, e.g., HomeUsers.
- Select Samba Authentication.
- Click Save.
-
Click the Credentials tab again and click Local Users.
-
Click Add on the right of the screen.
- Give the user a name, email (optional), and set a password.
- Untick Create New Primary Group.
- Set the Primary Group field to the previously created group, e.g., HomeUsers.
- Click Save.
Home Directory Setup
- For Home Directory, navigate to the HomeShare dataset. Home Directory is covered here later on in the documentation.
- Check Create Home Directory.
- Ensure Samba Authentication is selected.
- Click Save.
SMB and Share Configuration
If Samba is not already running
-
Click on System Settings in the sidebar.
-
Click Services.
-
Tick Running and select Start Automatically for the SMB service.
Optional:
- On the right side of the screen, click the pen icon for SMB.
- Provide/Change the NetBIOS Name to your liking.
- Provide/Change the Description.
-
Click Save.
If Samba is already running
NOTE: If you set up the Dataset with the SMB preset, you will not have to create an SMB share.
-
Click Shares in the sidebar.
-
Click Add in the Windows (SMB) Shares section.
-
Select a dataset to share.
-
Provide a share name. It is recommended to keep it the same as the dataset name.
For Home Share use
- For Purpose, select Private SMB Dataset and Shares. Under Advanced
Options:
- Uncheck Browsable to Network Clients.
- Check Use as Home Share.
- For Purpose, select Private SMB Dataset and Shares. Under Advanced
Options:
-
Click Save to create the share.
Configure Filesystem ACL
- Still inside Shares and the Windows (SMB) Shares section, click the shield icon.
- Inside the ACL editor, remove Group - builtin_users and Group - builtin_administrators.
- Click Add Item:
- On the right side under Who, select Group.
- For Group, select the group that you created earlier, e.g., HomeUsers.
- On the left side, check Apply permissions recursively.
- Check Confirm and Continue in the dialog.
- Click Save Access Control List.
Enable the SMB service if prompted.
Conclusion
Congratulations! You have now successfully set up TrueNAS Scale on Proxmox. You can now start using your new NAS for storage, backups, and more.
Happy virtualizing!