Skip to content

Instantly share code, notes, and snippets.

@vladak
Last active November 20, 2020 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vladak/0d22889e2089c01145dc89f97b063e5c to your computer and use it in GitHub Desktop.
Save vladak/0d22889e2089c01145dc89f97b063e5c to your computer and use it in GitHub Desktop.
TrueNAS notes

LSI card and 2 GiB limitation

The LSI card does not support disks larger than 2 GiB.

GigE link

em0 in PCI express slot seems to be getting the GbE link reliably, the on-board igb0 not.

SMB shares

The data set needs to be created with SMB sharing option. It seems that it deals with case sensitivity and other data set options.

https://www.youtube.com/watch?v=mCfX4sqDmzs is a how to for setting up SMB shares on FreeNAS.

https://www.ixsystems.com/blog/users-permissions-acls-on-freenas/ also mentions SMB shares.

Discovery

For the NAS to be visible under 'Network' for macOS 10.13.6 it is necessary to enable the NetBIOS advertisement in the Sharing.

AFP and Time machine

Time machine shares should have a quota - it eventually governs the number of "snapshots" created by Time machine. Multiple machines using single Time machine data set is bad idea - it would eventually lead to

macOS catalina does not seem to be supporting Time machine over SMB. Thus AFP has to be used.

To set up the Time machine AFP share, create a data set and edit its properties, change its quota and ownership to the user who will be using it.

On macOS catalina it is necessary to add cnid scheme = tdb to the Auxiliary parameters in the AFP share settings.

ref: https://www.ixsystems.com/community/threads/time-machine-over-afp-problem-permission-denied.85359/

Alerting via system speaker

https://github.com/vladak/truenas_beep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment