I've been searching for answers to this issue I've been having since I last installed Debian etch (2.6.26-2-686 i686): I can't get to mount a specific nfs share.
The details on server (192.168.2.230) and client (192.168.2.239) computers
server's mounting scheme:
/dev/sda1 is mounted on /
/dev/sda4 is mounted on /home
/dev/sda6 is mounted on /var
192.168.2.230:/home/marc05 /home/marc05/marc05.nfs nfs defaults,rw,user,noauto 0 0
192.168.2.230:/var/www /home/marc05/web nfs defaults,rw,auto 0 0
Now from client i do
sudo mount /home/marc05/marc05.nfs
And I get
mount.nfs: access denied by server while mounting 192.168.2.230:/home/marc05
On the server's /var/log/syslog the following appears:
mountd: refused mount request from 192.168.2.239 for /home/marc05 (/): not exported
Now, i know that there are some posts out there that say that to make this work I'd have to be sharing a real filesystem, and afaik, /home/marc05 _is_ a real filesystem. Am i wrong?
Another solution says that I'd have to share / which you know is a security risk.
And, by the way, the share above
it is mounted at startup without any trouble.
I used to mount server's /home/marc05 on my last Debian installation and everything was fine. I don't know if something changed or if I'm having security issues.
Anyway, thanks for your time. Have a great day!