Configure SMB Share

From Notes_Wiki

Home > Storage server > TrueNAS > Configure SMB Share

Create Data Pool

  • Navigate to Storage on the left
  • Select Create Pool
  • Give the name of the storage pool and click Next
  • Select RAIDZ2 in Layout
  • Check all the disks in which OS is not installed
  • Click Save and Go To Review
  • Review the configuration and click Create Pool
  • Confirm to create the pool

SMB share

  • Navigate to Datasets on the left menu
  • Click Add Dataset on the right
  • Give the name, leave the default option for Dataset Present
  • Navigate to Shares
  • Click on three dots for Windows (SMB) Shares and turn on the service
  • Navigate to Credentials > Users
  • Click on Add on the right
  • Allow SMB Access
  • Give the password and Save
  • After creating the User, the SMB icon should be appear for the created user
  • Navigate to Shares
  • Click on Add on the Windows (SMB) Shares
  • Select the Path and click Save
  • Navigate to Datasets select the smb dataset, on the righ side, scroll down to find the permissions section
  • Update the permissions to the user assigned to the SMB share (owner and group)
  • On any Windows machine, go to Network and Click on the Turenas, Give the SMB credentials, access the SMB share
  • On any Ubuntu machine, go to Other locations, at the bottom give smb://IP/, enter the credentials and access the SMB share