[SOLVED] Duplicate export entries

  • Hi All,


    I modified my NFS shares and now I see error on bootup about duplicated entries.


    root@jacksbox3:~# exportfs -a
    exportfs: No host name given with /export/ (), suggest *() to avoid warning
    exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/export/".
    Assuming default behaviour ('no_subtree_check').
    NOTE: this default has changed since nfs-utils version 1.0.x


    exportfs: No host name given with /export (ro,fsid=0,root_squash,no_subtree_check,hide), suggest *(ro,fsid=0,root_squash,no_subtree_check,hide) to avoid warning
    exportfs: incompatible duplicated export entries:
    exportfs: *:/export (0x2425) [IGNORED]
    exportfs: *:/export (0x425)
    exportfs: duplicated export entries:
    exportfs: 192.168.1.0/255.255.255.0:/export
    exportfs: 192.168.1.0/255.255.255.0:/export
    exportfs: duplicated export entries:
    exportfs: 192.168.1.0/255.255.255.0:/export
    exportfs: 192.168.1.0/255.255.255.0:/export



    when I look at /etc/exports I see some kind of duplicated entries but when I delete them, they come back after reboot. (entries below NFSv4 )



    Also I don't understand the "/export/ ()" part in /etc/exports.


    How can I fix this?

  • Zitat

    Seems there is a malformed configuration entry in /etc/openmediavault/config.xml. You can try to remove it manually. Look for the XPath //services/nfs/shares/share.


    I cannot find Xpath.... entry in config.xml


    can you please check my config.xml?


  • This is nfs part of config.xml



    Can anybody tell me if thre is anything wrong here?

  • I would say that there's nothing wrong here.
    A bug report has been issued on the problem and it will be fixed in OMV 0.5.10. See http://bugtracker.openmediavault.org/view.php?id=842
    A pseudo root FS was added to /etc/exports for each export when applying configuration. That led to the warnings You saw.
    Pseudo root FS are an NFS 4 feature.
    Take a look at http://www.open-pnfs.org/SNIA_An_Overview_of_NFSv4-4.2.pdf if you wan to know more about it.
    I think that topic can be marked as solved.

    Einmal editiert, zuletzt von pierre-n ()

Jetzt mitmachen!

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