Hi, all, I seem to have messed up an SMB share. Two folders in it have gotten corrupted, with names like “(A Document Being ~AUhelperService 2)”. They have a single subfolder; one is “.AU.SDd3T.nosync”. Under those subfolders there’s nothing.
All other data in the pool appears present.
zpool status -v shows no errors.
I have two connections to the NAS, one ethernet, one fiber. Normally use the faster fiber connection, but had tried to connect via ethernet instead but it was not connecting for some reason, so reverted to the fiber, and that’s when I first noticed the corrupted folder names.
It’s possible I tried to connect both via ethernet and fiber, don’t recall, I was troubleshooting another issue on the machine that connects to the NAS.
There have been no power outages recently. I did reboot the server thinking I was having a connection issue, but may not have needed to.
Alas, I do not have an available snapshot.
What would be the best way to try and get these two folders back? I know the data is in there somewhere, just don’t know how to ask TrueNas to recover it.
Does it appear that way on the local filesystem or only through the SMB protocol? If it’s the latter case then it’s probably just the name mangling algorithm adjusting the name so that SMB clients can actually read it (e.g. the name contains invalid characters).
Also, not sure if this has any bearing, but viewed from the workstation an ls -l shows the two corrupted folder names before the normal . and … that you’d normally see first. On the server, ls -la shows the same.
This doesn’t look like corruption. This looks like maybe MacOS failed to extract a zipped file into the SMB share (possibly due to an invalid file name).