WebUI Freigaben kommen nicht bei NFS Server an

    • OMV 5.x (beta)
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • WebUI Freigaben kommen nicht bei NFS Server an

      Via OMV WebUI habe ich eine NFS Freigabe eingerichtet. Leider wird sie nicht in '/etc/exports' verewigt. Ein 'showmount -e localhost' hat ergeben, das es keine Freigaben gibt. Und natürlich sind im Dashboard beide NFS Lampen grün.
      Kann mir jemand sagen was hier falsch läuft? Oder wo ich suchen muss?
      Syna
    • How to reproduce this? Please describe as detailed as possible.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Can not reproduce it.

      On NAS:

      Source Code

      1. root@omv5box:/home/vagrant# cat /etc/exports
      2. # This file is auto-generated by openmediavault (https://www.openmediavault.org)
      3. # WARNING: Do not edit this file, your changes will get lost.
      4. # /etc/exports: the access control list for filesystems which may be exported
      5. # to NFS clients. See exports(5).
      6. /export/test 0.0.0.0/32(fsid=1,ro,subtree_check,insecure)
      7. # NFSv4 - pseudo filesystem root
      8. /export 0.0.0.0/32(ro,fsid=0,root_squash,no_subtree_check,hide)
      9. root@omv5box:/home/vagrant# showmount -e localhost
      10. Export list for localhost:
      11. /export 0.0.0.0/32
      12. /export/test 0.0.0.0/32
      Display All


      On other host:

      Source Code

      1. ~/git/openmediavault/vagrant   master-upstream ✔  $ showmount -e omv5box.local
      2. Export list for omv5box.local:
      3. /export 0.0.0.0/32
      4. /export/test 0.0.0.0/32
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Mittels OMV>Dienste>NFS>Freigaben habe ich eine neue Freigabe erstellt (lese/schreibrechte gesetzt, 192.../24 freigegeben). Diese konnte ich auf den Clienten nicht mounten. Eine Überprüfung mit 'showmount' ergab: Export list for localhost:. Dann habe ich mir die /etc/exports mit 'cat' angeschaut und festgestellt, das dort nur die Auskommentierte Beispielkonfiguration drinnen steht.
      Das WebUI hat die Freigaben nicht in der exports gespeichert.

      Source Code

      1. # /etc/exports: the access control list for filesystems which may be exported
      2. # to NFS clients. See exports(5).
      3. #
      4. # Example for NFSv2 and NFSv3:
      5. # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
      6. #
      7. # Example for NFSv4:
      8. # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
      9. # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
      10. #
    • Do you have applied the cofiguration by pressing the yellow Apply button?

      Otherwise try

      Shell-Script

      1. # omv-salt deploy run nfs
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • >Do you have applied the cofiguration by pressing the yellow Apply button?
      ja, es gab sogar schon ein paar nas reboots und die Freigabe wird immer noch im WebUI angezeigt

      Source Code

      1. omv-salt deploy run nfsd
      2. ERROR: The state 'nfsd' does not exist
      Wir kommen der Sache wohl näher....

      Gabs beim initialisieren von OMV ein Problem? Habe erst Debian Netiso installiert und danach OMV
    • Source Code

      1. # omv-salt deploy run nfs
      Wie ist die Ausgabe von

      Source Code

      1. # omv-confdbadm read --prettify conf.service.nfs
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • synapsenstau wrote:

      Wir kommen der Sache wohl näher....
      Du hast da einen Vertipper. Bitte ohne das "d" am Ende nochmal ausführen:

      omv-salt deploy run nfs
      OMV 4.x| HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV 4.x| Odroid XU4 | 5TB Data drive | 500GB Backup drive
      OMV 5.x| Raspberry Pi 4 | 6TB Data drive | 500GB SSD drive
    • WastlJ wrote:

      synapsenstau wrote:

      Wir kommen der Sache wohl näher....
      Du hast da einen Vertipper. Bitte ohne das "d" am Ende nochmal ausführen:

      omv-salt deploy run nfs
      Ups, ja ein Tippfehler. Ohne "d" sah es dann wesentlicher erfolgreicher aus (auszug):

      Source Code

      1. diff:
      2. ---
      3. +++
      4. @@ -1,10 +1,9 @@
      5. +# This file is auto-generated by openmediavault (https://www.openmediavault.org)
      6. +# WARNING: Do not edit this file, your changes will get lost.
      7. +
      8. # /etc/exports: the access control list for filesystems which may be exported
      9. -# to NFS clients. See exports(5).
      10. -#
      11. -# Example for NFSv2 and NFSv3:
      12. -# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
      13. -#
      14. -# Example for NFSv4:
      15. -# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
      16. -# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
      17. -#
      18. +# to NFS clients. See exports(5).
      19. +/export/abc-share 192.168.0.0/24(fsid=1,rw,subtree_check,insecure)
      20. +
      21. +# NFSv4 - pseudo filesystem root
      22. +/export 192.168.0.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)
      Display All

      Und 'showmount' funktioniert jetzt auch:

      Source Code

      1. Export list for localhost:
      2. /export 192.168.0.0/24
      3. /export/abc-share 192.168.0.0/24
      Ich danke euch beiden für die hilfe.