Eight steps to correct sharing under TrueNAS - Starline Computer: Storage und Server Lösungen von erfahrenen Experten

Manage shares with TrueNAS

Correctly share folders in the network under TrueNAS

If you want to quickly share a folder in the internal network under TrueNAS, you will quickly find the menu item [Sharing > Windows Shares SMB] in the TrueNAS GUI.

The downside: Shares created in this way only offer limited configuration options. For example, quota settings and the creation of snapshots for the created share are missing.

But that doesn't have to be the case. If you carry out the following eight steps, you can fully configure your shares.


The right way to create a share under TrueNAS:

1. 

To gain control over a folder, you must create it as a dataset in the pool.
To do this, navigate to [Storage > Pools] and click on [Add Dataset] in the pool options.

SMB Share - Dataset erstellen 1

2. 

Enter the name of the dataset here and enter SMB as the "Share Type" for SMB shares. This setting of the "Share Type" to SMB helps to manage these configurations and settings correctly to ensure efficient and secure SMB sharing. 

SMB Share - Dataset erstellen 2

3.

After clicking on Submit, you have now created a new folder. You must then adjust the permissions to enable access in the network. To do this, navigate to "Edit Permissions" in the dataset created.

SMB Share - Dataset Permissions 1

4.

Under "Select a preset ACL" (Access Control List), set the rights to "Restricted".

SMB Share - Dataset Permissions 2

5.

The system then creates a new ACL item with a click.

SMB Share - Dataset Permissions 3

6.

Assign the following information to the new ACL item:

  1. Do the rights apply to a group or to individual users?
  2. Specify which group or which users are granted access.
  3. Determine the rights level. Modify and Full Control can be used to edit files, for example.
SMB Share - Dataset Permissions 4

7.

Now release the dataset created for the desired service/protocol. SMB is usually used for this in Windows networks.

SMB Share - Freigabe 1

8.

Select the dataset set up in the sharing window and assign a name with which the share is to be displayed in the network.

SMB Share - Freigabe 2

Finally, authorised users or group members can connect to this share.

Any questions?

starline_logo_kontur_300
Open Source Team
Technik

Our experts for Linux, Ceph and ZFS.