On Thu, Mar 5, 2015 at 6:52 PM, Zhi-Qiang Lei <[email protected]> wrote:
> 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

You sure about that "192.168.1", with only three components?  I
believe that'll be interpreted as 192.168.0.1, which may not be what
you mean...and doesn't match your loopback mount below.


> 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
...
> 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 IP will that Mac be using as its source address?
>From that Mac, what's "showmount -e 192.168.1.1" show?

What version of NFS does the Mac documentation say it'll use in this case?


Philip Guenther

Reply via email to