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.
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
To add a user:
- Go to Accounts>User in the left hand menu
- Click "Add User"
- Fill in the actual members name, and their chosen username (default to their Discord/known-as identity when possible)
- The email address is optional, but preferred. Use the member's normal contact email for future compatibility.
- Set a password for the member, or let them set one themselves. Note that they can only change it by SSHing into the NAS.
- Leave the userID to the programatically assigned one.
- Uncheck "new primary group" and set their group to the existing "members" group.
- 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)
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