TrueNAS

From Bitpost wiki
Revision as of 17:14, 13 February 2021 by M (talk | contribs) (Created page with "Installed to HIVE VM on melange proxmox. * Set up pools I didn't want to lose storage on the shitty pile of drives I started with, so I set up three drives as standalone stri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installed to HIVE VM on melange proxmox.

  • Set up pools

I didn't want to lose storage on the shitty pile of drives I started with, so I set up three drives as standalone striped pools, and 2 sets of pairs as striped pools. That means no loss of storage and no safety AT ALL except that striping will tell me AFTER they've started going bad, bahahaha. I need to spend $3k on 10 ssd NAS drives to get to a better place. Not now.

  • Set up datastores

It seems I had to set up datastores under my pool root datastores, just so I could add ACL settings to give complete control to the m Samba user. I used the root name with a -ds suffix. I set sharing to SMB. I set the ACL to @owner m:m.

  • Set up user

I set up m user (1000) and m group (1000)

  • Set up shares

I set up shares for each of the ACL datastores.

Seems good for now! I can access them from elsewhere with this /etc/fstab goo:

# MDM FreeNAS has arrived
//hive/sassy /spiceflow/sassy cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto   0 0
//hive/mack /spiceflow/mack cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto   0 0
//hive/sans /spiceflow/sans cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto   0 0
//hive/splat /spiceflow/splat cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto   0 0
//hive/reservoir /spiceflow/reservoir cifs credentials=/root/samba_credentials,uid=1000,gid=1000,file_mode=0774,dir_mode=0775,auto   0 0