Can't mount NFS share from OMV NAS on Ubuntu Server Client, get "access denied by server" error

  • Ok, I'm a bit of a noob with Linux, but I'm not a complete novice when it comes to IT and networking, so I'm not quite sure what I'm doing wrong here. I have OMV setup on a Raspberry Pi NAS that is built on a Pi5 with the Radxa NAS hat, using four 2TB SSDs in a RAID 5 array. I then created a file system on the array and a shared folder named /Media. I enabled NFS and attached the /Media folder to my NFS share. For permissions on the Media share I have root, user, and others set to read, write and execute. For the shares setup under NFS I have the client IP set to the subnet my Ubuntu server resides in (10.157.249.0/16), and the extras section I have add "rw, no_root_squash".


    On the Ubuntu server (client), I installed the nfs-common package first. Then, I created a directory to mount to, using "sudo mkdir -p /nfs/hdd". Then, I tried to mount the nfs share, using;

    "sudo mount -t nfs 10.157.249.174:/Media /nfs/hdd" and the error I get is:

    "mount.nfs: access denied by server while mounting 10.157.249.174:/Media"


    I've tried everything I can find online for adjusting permissions OMV, tried allowing read/write for root and my main user in the acl, and nothing seems to work. Is there something I am missing?


    Thanks!!

  • A typical check routine is:


    1. Set the OMV NFS server to use all versions except NFSv2


    2. Sanity check the contents of the exports file with cat etc/exports


    3. Check NFS shares are visible o the Ubuntu client using showmount -e < server ip>


    4. Add the verbose option "-v" to the client mount command for additional feedback, e.g. mount -v -t nfs  . . . . .

Participate now!

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