NFS-Changes in newest release? Can't access NFS-share from KODI on Android-TV

  • After upgrading to the newest version of OMV 7.x I can't access the nfs share on my OMV 7 NAS.


    Any changes and hints how to make the share available from my android-tv via KODI?

    3x OMV-NAS systems with ASUS H87I-PLUS, 1x MSI-Barebone

  • This is my etc/exports:


    Code
    # This file is auto-generated by openmediavault (https://www.openmediavault.org)
    # WARNING: Do not edit this file, your changes will get lost.
    
    
    # /etc/exports: the access control list for filesystems which may be exported
    #               to NFS clients.  See exports(5).
    /export/OMV7-02 192.168.178.0/24(fsid=9608d0ca-2b34-4268-9fd0-50c21a573b13,rw,subtree_check,insecure)
    /export 192.168.178.0/24(ro,fsid=0,root_squash,subtree_check,insecure)

    3x OMV-NAS systems with ASUS H87I-PLUS, 1x MSI-Barebone

    • Official Post

    Nope, i don't think the latest changes are causing this because the only thing that was fixed was that under some special circumstances the line

    Code
    /export 192.168.178.0/24(ro,fsid=0,root_squash,subtree_check,insecure)

    could mistakenly look like this

    Code
    /export 192.168.178.0/24(ro,fsid=0,root_squash,subtree_check,ininsecure)

    This was fixed; nothing more.

  • i have noticed the same issue after updating to OMV 8 - my NFS shares were empty on all my clients.

    realized that i had to remove the subtree_check from all the shares to show up on the clients.


    Also not sure if related, but the showmount -e command does not seem to work since OMV 8. i am just getting a clnt_create: RPC: Program not registered error.

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 64 GB ECC RAM, LSI 9211-8i HBA controller, 6x HGST 12 TB ZFS

    Powered by Proxmox VE

    • Official Post

    It must be something else. my system upgraded from omv7 isn't having a problem with nfs shares and I just setup a new nfs on a fresh omv8 system and it works fine.


    Code
    # cat /etc/exports
    # This file is auto-generated by openmediavault (https://www.openmediavault.org)
    # WARNING: Do not edit this file, your changes will get lost.
    
    
    # /etc/exports: the access control list for filesystems which may be exported
    #               to NFS clients.  See exports(5).
    /export/scripts 192.168.1.0/24(fsid=531b00ca-afcf-4f08-b515-9ff0e76394a4,ro,subtree_check,insecure)
    /export 192.168.1.0/24(ro,fsid=0,root_squash,subtree_check,insecure)


    showmount works as well.

    Code
    $ sudo showmount -e omv8test
    Export list for omv8test:
    /export         192.168.1.0/24
    /export/scripts 192.168.1.0/24


    realized that i had to remove the subtree_check from all the shares to show up on the clients.

    if you add it back now, do they work?

    omv 8.0.8-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.4 | compose 8.1.2 | cterm 8.0 | borgbackup 8.0.2 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I'm on OMV 8 and showmount -e works for me. I also still have subtree_check enabled and have no problems with NFS.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • i forgot to mention i am on ZFS. so maybe this is somehow related to how the ZFS datasets are served to NFS?


    if you add it back now, do they work?

    no, they stop working again. i also tried removing the NFS shares and re-adding them (had to do it in the past a few times) but did not help until i removed the subtree_check param


    also realized showmount is not even working when executing locally on the OMV host.


    This is my /etc/exports file. Not sure where those last 3 lines are coming from

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 64 GB ECC RAM, LSI 9211-8i HBA controller, 6x HGST 12 TB ZFS

    Powered by Proxmox VE

    • Official Post

    i forgot to mention i am on ZFS. so maybe this is somehow related to how the ZFS datasets are served to NFS?

    From what I can find, subtree_check is not recommended for zfs. Do you need it?

    omv 8.0.8-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.4 | compose 8.1.2 | cterm 8.0 | borgbackup 8.0.2 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • nope, i don't think so. i was just wondering why this happened, since it was working on 7.x and saw a similar thread, so i though it might be related

    SuperMicro CSE-825, X11SSH-F, Xeon E3-1240v6, 64 GB ECC RAM, LSI 9211-8i HBA controller, 6x HGST 12 TB ZFS

    Powered by Proxmox VE

    • Official Post

    newer kernel and zfs versions might have something to do with it.

    omv 8.0.8-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.4 | compose 8.1.2 | cterm 8.0 | borgbackup 8.0.2 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!