It works like a charm! Thank you!

$ sudo mount_nfs -P 192.168.1.1:/nfs mnt
$ df -h
Filesystem         Size   Used  Avail Capacity  iused    ifree %iused  Mounted
on
/dev/disk1        112Gi  107Gi  5.0Gi    96% 28016815  1310543   96%   /
devfs             185Ki  185Ki    0Bi   100%      640        0  100%   /dev
map -hosts          0Bi    0Bi    0Bi   100%        0        0  100%   /net
map auto_home       0Bi    0Bi    0Bi   100%        0        0  100%   /home
192.168.1.1:/nfs  1.7Ti  8.0Ki  1.6Ti     1%        1 58738941    0%
/Users/siegfried/mnt

Best regards,
Zhi-Qiang Lei

> On Mar 6, 2015, at 12:21 AM, Gabriel Kihlman <g...@stacken.kth.se> wrote:
>
> Zhi-Qiang Lei <zhiqiang....@gmail.com> writes:
>>
>> $ 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.
>
> It used to be that you needed to mount with -P from mac:
>
> sudo mount_nfs -P server.address:/path/to/share /path/to/local/directory
>
> Not sure if that is still the case but it might be worth a try?
>
> /gabriel

Reply via email to