nfs mount problem on Fedora - permission denied
Hi:
I met a nfs mount problem on one Fedora server A.
On this server, we want to export e.g. /home/tmp to the other machine. In /etc/exports file, it's like:
/home/tmp 128.250.110.10(rw,no_root_squash,sync)
128.250.110.10 is the machine of NFS client.
And i ran "/usr/sbin/exportfs -a" to export it. On this server, following services are running:
> chkconfig --list | grep fs
autofs 0: off 1: off 2: off 3: on 4: on 5: on 6: off
nfs 0: off 1: off 2: on 3: on 4: on 5: on 6: off
netfs 0: off 1: off 2: off 3: on 4: on 5: on 6: off
nfslock 0: off 1: off 2: off 3: on 4: on 5: on 6: off
When i tried to mount this disk on the NFS client, I always have the following error message:
> mount -t nfs nfsserver:/home/tmp /mountpoint
mount: nfsserver:/home/tmp failed, reason given by server: Permission denied
From the log /var/log/messages, i saw only following message:
Apr 11 11:45:09 nfsserver rpc.mountd: authenticated mount request from nfsclient:901 for /home/tmp (/home/tmp)
I did the same test on another nfs server B using the same way, and it succeeded. the only difference
of these two servers are they have different Fedora versions: A is 2.6.12-1.1381_FC3smp and B is
2.6.10-1.771_FC2.
Anybody knows the reason?
Thanks a lot!
Henry
|