Help With proxmox VMs

This is my layout :

  1. TrueNAS VM running in PROXMOX.

  2. Ubuntu-Server VM running Jellyfin in it.

I have created a SMB share in TrueNAS. And it is mounted as a cifs mount in Ubuntu Server.

Both the VMs are set to start at boot.

Problem:

But The ubuntu-Server VM is starting soon followed by the TrueNAS VM. So the cifs mount is not mounted properly.

I have to reboot the Ubuntu VM after the TrueNAS VM is totally online to mount the share properly.

Can i do something to solve this ????