I simply started a NFS on my OpenBSD 5.6 server as flow:

# cat /etc/exports
/nfs -alldirs -network=192.168.1 -mask=255.255.255.0

I’m able to mount it on the OpenBSD server:

# mount -t nfs 192.168.1.1:/nfs /mnt
# df -h
Filesystem          Size    Used   Avail Capacity  Mounted on
/dev/wd0a           3.9G   52.3M    3.7G     1%    /
/dev/wd0k           9.9G    4.0K    9.4G     0%    /home
/dev/wd0l           1.7T    8.0K    1.6T     0%    /nfs
/dev/wd0d           3.9G    4.0K    3.7G     0%    /tmp
/dev/wd0f           9.8G    310M    9.0G     3%    /usr
/dev/wd0g           3.9G    2.0K    3.7G     0%    /usr/X11R6
/dev/wd0h           9.8G    216K    9.3G     0%    /usr/local
/dev/wd0j           9.8G    2.0K    9.3G     0%    /usr/obj
/dev/wd0i           9.8G    2.0K    9.3G     0%    /usr/src
/dev/wd0e           9.8G    5.3M    9.3G     0%    /var
192.168.1.1:/nfs    1.7T    8.0K    1.6T     0%    /mnt

However, I cannot mount it on my Mac:

$ mount -t nfs 192.168.1.1:/nfs mnt
mount_nfs: can't mount /nfs from 192.168.1.1 onto /Users/siegfried/mnt:
Permission denied

$ sudo mount -t nfs 192.168.1.1:/nfs mnt
Password:
mount_nfs: can't mount /nfs from 192.168.1.1 onto /Users/siegfried/mnt:
Permission denied

What could be the problem? How can I debug it? Thanks.

Best regards,
Zhi-Qiang Lei

Reply via email to