TimeMachine unavailable until SMB restart

I’m running truenas Scale 23.10.2 and my MAC client has always been able to use TrueNAS as a target for its TimeMachine backups.

Then, yesterday, I noticed that this client had not done any backups since April.
I tried to run TimeMachine manually but it said it couldn’t connect to my truenas server.

I then logged into Truenas and restarted SMB. Sure enough, after doing this the MAC client was able to connect to TrueNAS and was able to complete its TimeMachine backup.

Now, have any of you seen this behavior before?
I would like to troubleshoot this since I need to be able to trust that the backups are running properly without my intervention.

Help?!

Is this a one time issue or have you seen this before?

You might set up a job to restart SMB at a maintenance window.

Check the release notes on Scale versions to see if it is mentioned.

Actually, this has happened once before.
Back then (and i don’t remember how many months ago was this) it happened and i couldn’t get the MAC to connect to TrueNAS so i destroyed the dataset/share and created new ones.

Then, the MAC was able to start the TimeMachine backups. When i did that, somebody suggested that what may have worked back then was the fact that when you create a new share the SMB service is restarted.

That is why i started this just by restarting SMB to see if that would fix the problem, and sure enough it did.

Now, do you happen to know how to start troubleshooting this?
I mean, i cannot fix something if i don’t know what is the problem and what produced it.

I just know MacOS, SMB and problems are common topics. You can try searching the forums and see any of the other posts are helpful

Well, start by trying to reproduce on 24.04.2, Ie the current release of TrueNAS

I’ve had similar issues I think, and next time I’ll try the SMB cycling “fix”

@Stux , I’m in the process of upgrading. I just need to migrate one last app from the truecharts catalog to a custom app and then I’ll do the upgrade.

Hopefully the upgrade itself is going to fix this issue.

1 Like