Remounting sometimes works on my PVE machine, but never on my PBS.
My PVE is doing the remount by itself i think. My pbs doesn't.
But thank you for the script, i will just do a reboot of my pbs in this script instead. This should always work, and i think it will solve it.