Hi everyone,
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
server's /etc/exports:
Code:
/home/marc05 192.198.2.239(rw,root_squash,subtree_check)
/var/www 192.168.2.239(rw,root_squash,subtree_check)
client's /etc/fstab:
Code:
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
Code:
sudo mount /home/marc05/marc05.nfs
And I get
Code:
mount.nfs: access denied by server while mounting 192.168.2.230:/home/marc05
On the server's /var/log/syslog the following appears:
Code:
mountd[2955]: 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
Code:
/var/www 192.168.2.239(rw,root_squash,subtree_check)
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!