I am receiving an error that HA cannot connect to the server. However, I am able to connect to the nas with my laptop with the same provided information
Can you reach the Add-On component (Samba Share) using your browser? There you’d find the set up documentation and your configuration settings.
It would be really helpful if you could post the error you’re getting when trying to connect with HA, and how you’re connecting. As kind of noted in the post above, you could be using the Samba Backup option (not Samba Share, that’s something different) or the built in using the System → Storage setting. The two will have different troubleshooting methods.
If you’re using the built-in method and the error said to check the logs, you should do that and post what the log said.
I am trying through Settings-> System - > storage - > add network storage.
The error is “Mounting backup did not succeed. Check host logs for errors or systemd unit mnt-data-supervisor-mounts-Backup.mount for details.”
This is the error in host logs:
025-02-04 18:57:21.624 homeassistant systemd[1]: Mounting Supervisor cifs mount: Backup...
2025-02-04 18:57:25.564 homeassistant mount[425770]: mount error: could not resolve address for knas: Unknown error
2025-02-04 18:57:25.566 homeassistant systemd[1]: mnt-data-supervisor-mounts-Backup.mount: Mount process exited, code=exited, status=1/FAILURE
2025-02-04 18:57:25.567 homeassistant systemd[1]: mnt-data-supervisor-mounts-Backup.mount: Failed with result 'exit-code'.
2025-02-04 18:57:25.568 homeassistant systemd[1]: Failed to mount Supervisor cifs mount: Backup.
The time is way off - about 5 hours off
So I guess you on the East Coast of the US? Five hours off will mean you’re reading UTC times in the logs.
“could not resolve address for knas”
Can you ping knas from HA?
What is the “server” you are trying to connect to?
Got it working. I resolved the server name manually on the terminal and used it instead of the server name.