One last entry from me in this thread. I got the basic mounts working nicely, but I could not write to the drives. I did some looking up on a couple of Linux forums, and got it working. So for anyone in the future who is having trouble like I had, here is the final result with instructions on how to do it:
Code:
# TrueNAS mounts
//<<IP to your TrueNAS>>/<<TrueNAS share name>> /media/<<directory on your machine>> cifs rw,uid=1000,gid=1000,credentials=/etc/samba/.smbcredentials,users,noauto,x-systemd.automount,x-systemd.mount-timeout=30,_netdev 0 0
Notes for fstab
~~ ~ ~~ ~ ~~ ~ ~~ ~
Bear in mind that I've changed names above to more generic names. Look for things enclosed in chevrons, thusly: <<your username>>. Copying this verbatim will not work.
Using admin privs, copy the fstab file in the /home/<<your username>>/notes-to-do directory into the /etc directory. (My notes-to-do directory holds all the stuff I add onto Linux after install it. Again.)
Using admin privs, go into /media and create however many directories you need, each called different names that you'll want to use. Make sure they have the same ownership and priviliges as the /media/<<directory on your machine>> directory does.
Using admin privs, create a .smbcredentials (again, use your own naming conventions) and put it someplace safe. I put mine in /etc/samba. That credentials file needs to contain:
Code:
username=<<your username>>
password=<<your password>>
domain=<<your domain name>>
Make sure that the TrueNAS machine is up and running.
Reboot your Linux box.