I’ve just upgraded from 25.04 to 25.10, but it really does feel a downgrade regarding SMB settings.
Can someone please explain what is the idea here?
How can I disable “Alternate Data Streams” in 25.10 and newer?
How can I disable “Enable SMB2/3 Durable Handles” in 25.10 and newer?
How can I enable “Export Recycle Bin” in 25.10 and newer?
By the way, what values are set for these removed settings in the newly introduced “Default Share” purpose? They are no longer visible on the GUI, so how can I check this from now on?
I would like to understand why this is happening and why such options are taken away. The question here is not “Why are you using option X"?” but rather “Why IX is removing options which were there forever and just usual samba options?”
TBH I understand why some people just install Debian/Proxmox. If I have to dig into config files or the terminal to change such BASIC options, why not use just Debian/Proxmox then. Truenas itself does not support changing samba config manually… And the auxiliary options are also gone… How is this an improvement?
By all means, make a feature request to bring back each and every option. Don’t bundle them all together into a single request. Every single option needs its own separate topic. Try to spend a weekend writing up a lengthy post detailing why each option needs to be reintroduced. Use APA style, cite your sources, and make sure to justify why the feature is needed in an enterprise environment.
If one of your requests reaches 148 votes, there’s a chance it might be accepted.
Man… The ZFS snapshots and the recycle bin SMB feature are totally different things and each has its purpose. One being server side (for the operator/admin) the other user (client) facing, thus I love to enable both.
The vfs_recycle in samba is triggered by a delete operation (command from samba client). In which case the file is moved into the recycle bin and can be restored easily. ZFS will be not able to create a snapshot on file deletion, it is not designed to do that since it operates on a different level. There are benefits of the good old recycle bin, for instance it protects against accidental file deletion (create file and delete it shortly after).
So the ZFS snapshot has a different purpose (everybody must setup a good snapshot schedule), it serves as the essential data protection layer. I would not mix ZFS snapshot with Recycle Bin functionality.
I am still looking for the information where each “purpose” explained in detail with the samba options documented. It is unclear at the moment in this docs. It is also unclear how can I enable/disable Alternate Data Streams if I wish to. Is there a purpose for that now?
If I create files and delete them between the daily snapshots they are lost forever, does that mean that truenas expects the user to run a snapshot between every single file creation, copy and deletion to avoid accidental deletions? And if so, shouldn’t truenas automatically create a snapshot every single time I make file changes to avoid data loss?
Either way, that sounds like a terrible solution, way too many snapshot creations. I’d rather have a recycle bin that catches accidental deletions or other quick reversals. A better solution to the recycle bin problem would be to allow it and have it auto delete once it reaches a defined size or date. Snapshots and the recycle bin solve different types of problems.
In the meantime, what’s the best way to enable the recycle bin until (if) truenas resolves this oversight.