Can not mount NFS Drive!

  • OMV;

    192.168.2.181 [Server IP]

    /Server [Share]

    192.168.0.0/16 [Clients Allowed [I also tried 192.168.1.0/24 more specifically]]


    Linux [Remote]

    192.168.1.180 [Client IP]

    /mnt/NFS [Mount place]

    mount -t nfs 192.168.2.181:/Server /mnt/NFS/ [Command to Mount]


    Error;


    Code
    mount.nfs: access denied by server while mounting 192.168.2.181:/Server

    And indeed, /Server is the share, as it has always been.

  • You might need to use the no_root_squash option in the omv nfs extra options. This stops the redirection/blocking of root.


    Whenever I have had to mount nfs shared from OMV, I have had to use it


    Details can be found by clicking the manual page link under the extra options, which will bring you here:

    exports(5) — nfs-kernel-server — Debian bookworm — Debian Manpages

  • I indeed have it installed and then also inputted the no squash command;


    mount.nfs: access denied by server while mounting 192.168.2.181:/Server

    Which of these have checked?


    1. client can ping server by ip or hostname.


    2. server nfs shares are visible to client - showmount -e <server ip> ( works only when OMV server is set to use NFSv3 )


    3. add verbose option "-v" to client mount command.


    4. nfs share config may have correct syntax, but does it make sense re: your own network, e.g. subnets used, etc.

  • Did you install the SMB/CIFS plugin? try that first.

    Not applicable.

    --
    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.


  • What Linux client system are you using. Does it have the nfs-common package (or similar) installed?

    --
    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.


Participate now!

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