Frigate and SMB share

I have Ha running on homeassistant, ha is running in a vm on a proxmox server.
For the recordings I use the SMB storage. This worke some days but I think when the smb server make a update and reboot the HA lost the connection and frigate save the recordings on the OS drive.

How I can fix this?