MacOS failed to mount NFS Operation not permitted Error Resolution

  • 2021-11-01 05:01:45
  • OfStack

MacOS failed to mount NFS Operation not permitted Error Resolution

After the newly installed Openfiler opens nfs, use the graphical interface of Macbook to pass through

Finder-- > Go to- > Connect to the server

Unable to connect.

First, I tried to hang myself on the server for 1 time. There is no problem, which shows that the problem may be on the Macbook client.

Open the terminal on Macbook:


sh-3.2# showmount -e 10.0.0.55

Exports list on 10.0.0.55:

/home                10.0.0.0/24

sh-3.2# mount -t nfs 10.0.0.55:/nfsdata /home

mount_nfs: /home: Operation not permitted

# Try again using the reserved port 1 Under 

sh-3.2# mount -o resvport 10.0.0.55:/nfsdata ttt

sh-3.2# ls ttt/

Documents  ebook    images   music

# That's enough 

Too lazy to think about why, just add the insecure parameter to the/etc/exportfs file on the server

For example:


/nfsdata 10.0.0.0/24(rw,root_squash,no_all_squash,sync,insecure)

Thank you for reading, hope to help everyone, thank you for your support to this site!


Related articles: