Possible to allow more characters in SMB?

stefan_o

Dabbler
Joined
Jun 20, 2023
Messages
10
Hello,
I've got my TrueNAS system up and running and it's very fast using SMB (between 300 and 350 MB/s on 10G). Unfortunately I directly ran into an issue: Illegal characters in file names. My clients are all Linux, so there these file names are not an issue. I tried mounting it as NFS, file names are not an issue anymore, but performance is less than half of SMB (around 110 MB/s), which seems to be a common as I read here.
As I don't have Windows clients, is there an option to use SMB with correct filenames and just ignore the Microsoft rules?
As for renaming the files: There are a lot I cannot rename, because they are referenced in other files, so renaming would break some projects.
Best regards
Stefan
 

stefan_o

Dabbler
Joined
Jun 20, 2023
Messages
10
Found the solution: It seems posix paths are not auto-negotiated. Using the mount option "posixpaths" allow all characters and they are also correct in the file system.
 
Top