SMB Service Screen

The System > Services screen includes three icons on the SMB service row:

  • Audit Logs opens the Audit screen.
  • SMB Sessions opens the SMB Status screen.
  • Configure opens the SMB Service screen showing the Basic Settings by default.

SMB Service Screen

The SMB service screen displays setting options to configure TrueNAS SMB service settings to fit your use case.

Read full post gdoc_arrow_right_alt

SMB Share MacOS Client Limitations When Using Decomposed Unicode Characters

There are normalize forms for a unicode character with diacritical marks: decomposed (NFD) and pre-composed (NFC).

Take for example the character ä (a + umlaut) and the encoding differences between NFC (b’\xc3\xa4’) and NFD (b’a\xcc\x88’).

The MacOS SMB client historically and at present forces normalization of unicode strings to NFC prior to generating network traffic to the remote SMB server.

The practical impact of this is that a file that contains NFD diacritics on a remote SMB server (TrueNAS, Windows, etc.) might be visible in the directory listing in the MacOS SMB client and thereby Finder, but any operations on the file (edits, deletions, etc.) have undefined behaviors since a file with NFC diacritics does not exist on the remote server.

Read full post gdoc_arrow_right_alt

Windows Shares (SMB)

When creating a share, do not attempt to set up the root or pool-level dataset for the share. Instead, create a new dataset under the pool-level dataset for the share. Setting up a share using the root dataset leads to storage configuration issues.

About Windows (SMB) Shares

SMB (also known as CIFS) is the native file-sharing system in Windows. SMB shares can connect to most operating systems, including Windows, MacOS, and Linux. TrueNAS can use SMB to share files among single or multiple users or devices.

Read full post gdoc_arrow_right_alt

Setting Up SMB Multichannel

When creating a share, do not attempt to set up the root or pool-level dataset for the share. Instead, create a new dataset under the pool-level dataset for the share. Setting up a share using the root dataset leads to storage configuration issues.

SMB multichannel allows servers to use multiple network connections simultaneously by combining the bandwidth of several network interface cards (NICs) for better performance.

Read full post gdoc_arrow_right_alt

Audit Logs

TrueNAS auditing and logs provide a trail of all actions performed by a session, user, or service (SMB, middleware).

The audit function backends are the syslog and Samba debug libraries. Syslog sends audit messages via an explicit syslog call with configurable priority (WARNING is the default) and facility (for example, USER). The default is syslog-sent audit messages. Debug sends audit messages from the Samba debug library. Messages have a configurable severity (WARNING, NOTICE, or INFO).

Read full post gdoc_arrow_right_alt

Audit Screen

TrueNAS auditing logs record all operations performed by a session, user, or service (SMB, middleware).

Audit Screen

The Audit screen lists all session or user events, facilitating comprehensive monitoring.

Read full post gdoc_arrow_right_alt