To preface, I am running LE 11.01 on 2 devices being a Tanix TX6-A and a Raspberry Pi 4. I am experiencing 2 different issues but I believe they fall in the same category.
I have 2 NFSv4 shares exported from a server on my network. I am from an area that experiences regular power outages and the server that exports the NFS shares does not turn on immediately (there is a delay after power returns due to a surge protector). These shares are mounted using mount files and systemd as per the LibreElec documentation.
The Raspberry Pi 4 halts boot after the NFS shares fail to mount and stays in text output (Kodi doesn't start) until the server is running and I reboot.
The Tanix TX6-A boots successfully into Kodi but reports that the files are missing (even after the server is turned on - I presume it does not retry the mount) until the server is running and I reboot.
Even if the server did turn on immediately I'm fairly certain LibreElec will fail to mount the shares before the server completes it's boot sequence. Is there any way to combat this? My only solution would be to script something to check whether or not the server is exporting the shares before connecting but I'm not sure how well that would work. I'd like Kodi to start regardless (like how the Tanix TX6 behaves and mount the share when it's available (if that's possible).