I have had issues with SMB mounts and Synology and macOS for years now.
My mounts would just disappear. Sometimes there is the "all these mounts have broken" popup. When that happens, there is nothing wrong with the NAS, nothing wrong with the network. The mounts just go bad.
I have a python script which I use to manage my mounts, with a `--keep` flag to actively monitor for when they go away and re-mount. This has worked well (so long as I remember to restart it whenever I reboot). TimerMachine usually worked.
After migrating to Sequoia, my script started failing. All it does when monitoring mounts is:
- ensure the mount path exists, if not, create it.
- perform an `lstat()` call on the path.
- perform and `lstat()` call on the path+"/.."
- If they are on the same device, the mount has been removed, so re-mount.
After Sequoia, this has been failing. One failure mode is that the test to see if the mount path exists indicates the path does not exist, so I attempt to create it, and get an error that it exists. Prior to last week, never a problem, so the code just caught the error and exited. Now, I have to catch and retry, and that makes things better.
There are other occasions where the check for 'path' exists succeeds, but the `lstat` tests fail. Waiting for that to hit again so I can drill down on it.
Since Sequoia, I have seen situations where things get locked up and cannot be fixed. I think a reboot has been required here, not just a "Force Quit". Not sure, as I have not really been focusing on this issue, so it was several days ago last time I tickled it.
If anyone wants my script, I can try to package it with some documentation. It keeps the credentials in the keychain, and has an embedded table of mounts to manage. I need to clean it up so the table is not embedded and so that it does run at start and has some better docs.
My wife does not use the script and she often restarting Finder to recover NAS mounts when they get lost on her machine. This has always been a side effect of SMB mounts to Synology in my experience.