NFS won't mount after OMV reboot

  • hi all


    I have setup OMV to expose NFS mounts for an OSMC player. Issue I'm having is whenever I reboot OMV, I lose those mounts, if I try to browse a mount manually through terminal I get 'permission denied'. Have tried umount -f /mnt/SHARE and then mount -a, no luck.


    Once I've lost the shares - if I go into OMV GUI and then delete the share and recreate, I get a stale handle on client side which I can then force unmount and remount which works fine again.


    I've seen a few similar posts but no conclusive solution.


    Any ideas?


    Thanks! :)

    • Offizieller Beitrag

    Reboot the client when the server is up again. Strange that mount -a doesn't work...


    I use autofs. I don't involve OMV at all in mounting remote NFS shares, only in providing the shares.


    I have four OMV servers. They all provide NFS shares and they all mount each other's share using autofs. Works fine. Very stable. If a server is disconnected or rebooted, the mounts are dropped and restored on demand automagically.


    You might prefer to use systemd.automount instead of autofs. It is the modern way. But I don't know if the OSMC player supports it. Or even if it supports autofs.

  • Thanks for the tips Adoby.


    Yea I tried rebooting client several times and no joy. Only way I can remount is by deleting the NFS share in OMV gui and then adding it in again.


    I'll check out autofs. OSMC is based on Debian so hopefully should be ok.


    Should have mentioned I'm using systemd.automount with fstab currently on client.

  • I have the same problem. Does anyone have a solution?


    When I lose power or restart machine I have to manually delete NFS share and add it back.
    I tried everything that was mentioned in this topic. I also tried to connect form completely new system which has never connected before with no luck.
    I doubt it's a client side problem.


    AFP share works without a problem after reboot.
    I'm using openmediavault 4.1.26-1.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!