Hi
Apologies in advance for the long-winded nature of the post…
I’m new to TrueNAS Scale, and I’m migrating my data from Synology to TrueNAS. I’m using TrueNAS Scale 25.10.1, with a Mac OS client running Mac OS 15.7.2
The Problem
In a test migration of my data I found that a small number of files failed when using rsync to copy the files across. The affected files had characters such as “?” or “/” in their filenames.
Investigation…
This prompted me setting up shares with each of the presets, with and without apple encoding enabled as I wanted to properly understand the behaviour. Thus I created test shares with the following purposes:
“Default”, “Time Machine”, “Multi-protocol”, “Private Share”, “Final Cut”, “Time Locked"
I also created a test share with “apple encoding” enabled where that option existed - that is for the following purposes:
“Default”, “Multiprotocol”, “Private”, “Time Locked”
I then created two test files on my Mac OS client: “This is is a test?” and “This is a test 2/2" (i.e. the files have an illegal NFTS char in the filename)
I found that attempting to copy either of the two files to any share with apple encoding enabled would result in the following error:
The operation can’t be completed because one or more required items can’t be found.
(Error code -43)
This seemed odd as I was expecting any file with a valid MacOS filename to be successfully copied to a share with apple encoding enabled - so clearly a gap in my understanding here.
Taking a look at the smb4.conf file , it seems that enabling apple encoding makes the following changes to the config file in all cases:
- fruit:encoding = native
- mangled names = false
- vfs objects = + catia
I didn’t spot any other changes.
Now, I’m not completely clear what the intended effect of turning on “apple encoding” is, and I’m not sufficiently familiar with samba configuration to infer the intended operation from the 3 lines of config above.
However, it does seem strange that copying a file with a valid MacOS filename from a MacOS client to a share will reliably fail in apple encoding is enabled.
Can anyone shed any light on this?
Many thanks
Pete