Modify TrueNAS CORE dataset after creation from ‘Generic’ to ‘SMB’

Using the TrueNAS GUI, you are able to choose between “Generic” and “SMB” for the share type at the time of creation. However, after the dataset is created, you are unable to modify this option using the GUI.

Dataset creation screen in TrueNAS Core

The difference between Generic and SMB is as follows:

Generic – These shares are Case Sensitive and ACL is Not Restricted. This share type is recommended for Linux and Unix systems.

SMB – These shares are NOT Case Sensitive and ACL is Restricted. This share type is recommended for Windows systems.

To modify a Generic share to SMB use the following commands at the CLI and replace “<dataset>” with the dataset name you wish to modify.

zfs set aclmode=restricted <dataset>
zfs set casesensitivity=mixed <dataset>

Leave a comment

Your email address will not be published.