Unable to mount NFS share: Connection timed out

  • Hello,

    I just run the script from github as suggest, to install OMV on a raspberry pi 4. The default user pi was replaced with another one.


    After I enabled NFS share, then I cannot mount the remote folder on my linux machine.


    [raspberry pi]

    ----------------


    Then, on my machine



    I also tried,

    Code
    $ sudo mount 192.168.0.20:/PcyBackup /mnt/MyBackup/
    $ sudo mount 192.168.0.20:/ /mnt/MyBackup/

    but same issue.


    There is nothing in the logs, the folder is empty.


    Code
    $ ls -la /var/log/openmediavault/
    total 0
    drwxr-xr-x 2 root root 40 Dec 14 2020 .
    drwxr-xr-x 14 root root 1520 Sep 4 00:17 ..

    With the GUI in Diagnostic > System Logs, there is nothing at all.


    The workaround I found to access my shared folder is to modify the pseudo filesystem root from the export file. This way, I can open directly my shared folder after I click the option to "browse network".


    Anyone can help to fix the mount option, so I can set the export file into its default configuration? Thank you.

  • crashtest

    Approved the thread.
  • I finally found something from the logs,



    That matches the authentication error from the GUI, that I missed earlier.


    Code
    6/9/2021, 08:42:01
    CRON[26040]: pam_unix(cron:session): session closed for user root
    6/9/2021, 08:42:01
    CRON[26040]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)


    I believe this one is preventing me to mount the shared nfs folder.


    What changes should I apply to fix this one?

Participate now!

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