TrueNAS

General


We have a NAS unit running TrueNAS at vault.synshop.net which is only accessible on the shop LAN and not accessible on the internet. Any member who requires some storage space for project related storage can request an account to be created for them.

  • There is also a folder called "stash" that is a public, general temporary space that is mounted as a shared storage by all shop computers to quickly and easily move files between devices.
  • The Vault pool has a folder called "members" under which each user with an active account on the NAS has a personal folder.
  • The stash folder is at the same level.
  • Additional folders can be created as needed.
  • There are two user groups: Members and Admins. Folders can be given Members, Admin, or selected individual permissions as needed. More groups can be created if required but is not advised.

Administration


To add a new user to the system, you need to log into the web interface as root user. Credentials for root in the administrative keepass in Google Drive under TrueNAS. To add a user:

  1. Go to Accounts>User in the left hand menu
  2. Click "Add User"
  3. Fill in the actual members name, and their chosen username (default to their Discord/known-as identity when possible)
  4. The email address is optional, but preferred. Use the member's normal contact email for future compatibility.
  5. Set a password for the member, or let them set one themselves. Note that they can only change it by SSHing into the NAS.
  6. Leave the userID to the programatically assigned one.
  7. Uncheck "new primary group" and set their group to the existing "members" group.
  8. select /mnt/vault/members from the menu as their default home directory location. (the system will auto create a folder for them with their username)
  9. Submit!

The unit is a Rackable Systems with 4x2TB SATA drives, with a SAS cable to a 16 drive unit.

  • Drive 0 (far left) in the control unit is the OS drive at 2TB
  • Drives 2-4 are in a RAIDz pool called "Plex" for media storage.
  • Drives 5-7 are currently unused 2TB drives but will slowly be used to phase in larger capacity drives.
  • Drives 8-20 are 3Tb drives in a RAIDz3 pool called "Vault". This is the main NAS storage.

There are two network devices. LAN 1 is static assigned to 10.0.40.30. TrueNAS takes a hardline stance on never having 2 NICs on the same subnet, and has designed many elements of the OS to prevent this, so LAN 2 is not used at this time.

Future to do:

  • Setup second nic on the local network on an appropriately different subnet
  • Bind both nics into one for higher throughput and reliability
  • Eventually replace user management with centralized system for the whole shop