smbclient
from a Windows client?
smbclient
from TrueNAS locally
@somethingweird Unfortunately, the all lower case option would not be possible for us due to this warning: âAll files on the share must be converted to lowercase when using the example. Files using uppercase or both uppercase and lowercase are no longer listed on the share.â
Just learning how this forum works, and trying to get replies handled optimally. My applogies on the multiple posts which donât seem to mark the message I am reply to, even though I use the reply button.
Understandable. That why need to read the samba docs - and figure out what tuning can be applied to your case. Sometime samba out of the box configuration isnât tune to every situation.
You can work around this issue as long as you dont have any collisions.
If you combine the Samba option with the ZFS property for Case Sensitivity
set to Insensitive
(this is the default for all datasets created with the SMB Dataset Preset). Just note this setting must be applied at the time of dataset creation.
I just checked and all shares were created with the SMB preset, so these settings are already inplace. Thanks for the info.
Any results from this post?
Your first post is missing vital information.
Only now, 25 posts in, do you mention the SMB preset used (thank you!) and only 40 minutes ago did you say what the clients were.
We still donât know how the dataset being shared has been set up and even though you say it doesnât matter, posting the hardware used would be good for context.
You have a lot more information available to you yet youâre asking the community for help. Maximise your chances of getting help by sharing everything. Worth a thought perhaps?
Weâve determined that this test is literally the worst possible scenario for TrueNAS against Windows native smb. We somehow stumbled upon the one edge case where the discrepancy is this large, a single client system doing multiple concurrent directory enumerations. Looks like we will need to solve this on the client side and not via TrueNAS or samba.
Ok.
In my defense, I did state we are new to TrueNAS so I do not know all the relevant information to post. The dataset presets was not something I thought to include as I did not know their impact. As for the clients used, we lucked out in that Windows appers to be one of the fastest SMB clients. Again, not something I thought to include but answered when asked.
I do apreciate all the feedback, but this looks to be a very edge case not worth pursing further in this forum. Recoding the legacy systems we have that are hitting this bottleneck looks to be a better option.
Okay.
For some more context, TrueNAS can be performant with directories containing zounds of files:
Purely a shot in the dark but I imagine this is a combination of the perfect storm of bad things. With a single-threaded smbd
per client connection, your client system doing the concurrent directory enumerations makes it overload the server-side.
Iâm still interested to see what happens if you take the physical network out of the equation with the smbclient
loopback behavior.
It is an oddity but it might be something still worth looking into, if youâre willing to experiment further.
Iâll try to do this today and share the numbers. Not giving up, just accepting the fact that this might be so niche a senario that it would not be worth anyoneâs time to try to resolve on the TrueNAS side, if even possible.