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
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?
Thanks in advance for your help
Regards,
Marcos Laufer