question about NFS

hello,
i try to configure a nfs server on my freebsd box (192.168.22.43). The client computer is a fedora (192.168.22.79) box;

i put this line in the etc/export of the server
Code:
/usr/local/www/apache22/data/ 192.168.22.79(rw)

then i rebooted the server

when i try to mount on the client i have this error
Code:
mount.nfs: access denied by server while mounting 192.168.22.43:/usr/local/www/apache22/data/

thks
 
Don't assume linux syntax is compatible with freebsd's exports, check the manpage.

In your case you could use this (rw is the default)

Code:
/usr/local/www/apache22/data/ 192.168.22.79
 
jalla said:
Don't assume linux syntax is compatible with freebsd's exports, check the manpage.

In your case you could use this (rw is the default)

Code:
/usr/local/www/apache22/data/ 192.168.22.79

yes i try this in the export file
Code:
/usr/local/www/apache22/data/ 192.168.22.79
and the result is the same
this is the fstab of my fedora box
Code:
192.168.22.43:/usr/local/www/apache22/data/ /media/freebsd nfs user,auto,exec 0 0
thks
 
Looks like exports is sensitive to that trailing slash. Try to remove it, run killall -HUP mountd, and try another mount from the client (again without the trailing slash).
 
Back
Top