Error 500 when applying NFS Share Folder

  • Hello,


    I created a NAS using my RPI 3...added one disk and all worked fine, the NFS Share created was "NAS_PI_1".


    Now I added a new disk and I'm trying to create a new NFS Share (NAS_PI_2), I save ok but when I go to apply after a while I get this error


    "Error 500 - Internal Server Error...." (please see images).


    Is there any way of solving this issue ?


    Thank you,

    rjmonteiro

  • Hello macom, thank you for your reply.. Here is the error


  • Well here you go :)

    Code
    pi@raspberrypi:~ $ pi@raspberrypi:~ $ systemctl status nfs-server.service
    ● nfs-server.service - NFS server and services
         Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Tue 2023-01-31 17:47:13 GMT; 17min ago
        Process: 18874 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
        Process: 18875 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
        Process: 18876 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
            CPU: 23ms
    Code
    pi@raspberrypi:~ $ systemctl start nfs-server.service
    ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
    Authentication is required to start 'nfs-server.service'.
    Authenticating as: ,,, (pi)
    Password:
    ==== AUTHENTICATION COMPLETE ===
    Job for nfs-server.service canceled.


    For the Journal command, I attached a file

  • Code
    root@raspberrypi:~# systemctl status nfs-server.service
    ● nfs-server.service - NFS server and services
         Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Tue 2023-01-31 18:05:14 GMT; 11min ago
        Process: 1057 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
        Process: 1058 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
        Process: 1059 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
            CPU: 22ms
    root@raspberrypi:~# systemctl start nfs-server.service
    Job for nfs-server.service canceled.
  • One update... I just created a share with that same disk but using SMB/CIFS and it is working fine.


    My problem is really in trying to create a share in this disk using NFS. On the other drive I did not have any problem. :(

    • Offizieller Beitrag

    NAS_PI_2

    Just saw in your first post, that this share is read only (ro). Did you try to create it as read/write like the other thread?



    On the other drive I did not have any problem.

    Do these drives have a different file system? Anything else different?

  • I've got the same issue:

    I've checked NFS Server service is running, any suggestions?

  • I've checked exports file:

    Strange that NFS share settings could not be applied...

    • Offizieller Beitrag

    I've got the same issue:

    Nope. In your case monit failed:

    ID: monitor_collectd_service Function: module.run Result: False Comment: 'monit.monitor': False Started: 12:42:31.784083 Duration: 33.177 ms Changes:

Jetzt mitmachen!

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