Hi, I’ve been using Truenas core 13.0 for about 8 months. I’ve setup a 2TB drive with 2 data sets, 1 for me and 1 for my son. I recently fixed a broken 4TB ssd and added it to the network. I can’t for the life of me work out how to make the whole drive a share for the both of us (1 folder that we can both access and share). Can someone please tell me how to achieve this before I end up in a mental institution. Ps I’ve no intention of updating this.
Make a new single disk pool, create a dataset on the new pool. Add yourself and your son to the datasets acl list and create a new smb share. Then map the same share on your and your sons pc
Right. This is the way. Sometimes people think sharing the whole drive means literally making a share pointing to “/mnt/tank”. We don’t support that or encourage it.
You can create a dataset tank/SHARE then point the SMB share at /mnt/tank/SHARE. You both will see the same share and be able to write to it. There is no real storage cost for doing things this way. It allows you future flexibility to create tank/mytaxes if you, for example, have some data you don’t want your son to have immediate access to.
Yes I understand what you are both saying. I don’t have any problem setting up the disk, the pool and the data-set, I just can’t get us both to share the same thing. I’ve wipped the disk and started again and it’s still the same. Can someone please screen shot an example of the ACl that I need to achieve this. I’ve spent hours changing settings with no luck whatsoever.
In 13 unfortunately we had some youtube influencers create videos on permissions that basically break people’s storage. Not sure if you followed one of those videos. Basically, the simple way to set up permissions in 13 is the following:
- Create two local users that have SMB checked
- Create an SMB dataset. The default ACL for SMB datasets is writable by all users who are a member of the
builtin_usersgroup. All SMB users are a member of this group by default. - Create an SMB share pointing to the dataset
That said, 13.0 is fairly ancient now and EOL. I’m not sure why you deployed on that 6 months ago. In 25.10 the above also works. By default SMB datasets have the correct permissions.
If this doesn’t work then post output of stat /mnt/<pool name> where you substitute pool name with your pool’s name.
Hi thank for the help. I’m using 13 because I couldn’t get any of the new ones to work on my system so I went for an older one that matched roughly when my system was made. I’m using a gigabyte brix, its low power and very small, bit old now but heyho. So I got the share eventually working for us both. It still shows 2 group folders which is rather annoying but that’s basically what I wanted.