Sorry, the 10.10.10.101 was a mistyping of mine. It's another IP i used 
to try mounting the slice from.
I removed it and not HUPed mountd, that's why it showed up with showmount.

This are the permissions you just asked:

backup:~{2}# cd /u/data/
backup:/u/data{3}# ls a-l|grep export
ls: a-l: No such file or directory
backup:/u/data{4}# ls -al|grep export
drwxr-xr-x   2 root  wheel       512 Jul  6 21:29 export/
backup:/u/data{5}#


Jan Stary escribis:
> On Jul 06 16:40:31, Marcos Laufer wrote:
>   
>> Hello list ,
>>
>> I am having trouble to make NFS work properly. I don't know what i am  
>> doing wrong, maybe someone can enlighten me.
>>
>> NFS server and client are both OpenBSD 4.4 GENERIC
>>
>> I am starting portmap, nfsd and mountd on the nfs server (10.10.10.65).
>>
>>
>> This is my /etc/exports on 10.10.10.65:
>>
>> #       $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
>> #
>> # NFS exports Database
>> # See exports(5) for more information.  Be very careful:  misconfiguration
>> # of this file can result in your filesystems being readable by the world.
>>
>> /u/data/export          -alldirs -maproot=0 10.10.10.16
>>
>> --
>>
>>
>> On the client machine (10.10.10.16) :
>>
>> hq:/{190}# showmount -e 10.10.10.65
>> Exports list on 10.10.10.65:
>> /u/data/export                     10.10.10.16 10.10.10.101
>>     
>
> Why is this different from what the server actually exports?
> Namely, how did 10.10.10.101 get in here?
>
>   
>> hq:/{191}# mount -o rw -t nfs 10.10.10.65:/u/data/export /mnt/
>> hq:/{192}# df -h
>> Filesystem                    Size    Used   Avail Capacity  Mounted on
>> /dev/wd0a                     509M   74.7M    409M    15%    /
>> /dev/wd0d                     508M    4.2M    478M     1%    /tmp
>> /dev/wd0e                     3.9G    2.6G    1.2G    69%    /usr
>> /dev/wd0f                     508M   78.9M    403M    16%    /var
>> /dev/wd0g                     949M    2.7M    899M     0%    /var/log
>> /dev/wd0h                    65.0G   43.5G   18.2G    70%    /u
>> 10.10.10.65:/u/data/export   65.0G   40.4G   21.3G    65%    /mnt
>>
>> So far so good. Then i try to write something:
>>
>> hq:/{193}# cd /mnt/                                                       
>>                                                                 
>>
>> hq:/mnt{194}# cp /bin/ls ./                                               
>>                                                                 
>>
>> cp: ./ls: Permission denied
>> hq:/mnt{195}#
>>
>> What am i doing wrong here?
>>     
>
> What are the permissions of /u/data/export on the server?

Reply via email to