|
我的配置情况是:
server(IP 192.168.0.33):
[root@localhost home]# cat /etc/exports
/home/mb *(ro)
[root@localhost home]# ls -l
total 1
drwxrwxrwx 2 nfsnobody nfsnobody 4096 5月 10 17:11 mb
[root@localhost home]# cat /proc/fs/nfs/exports
# Version 1.1
# Path Client(Flags) # IPs
/home/mb *(ro,root_squash,sync,wdelay)
Client(IP 192.168.0.37):
[root@localhost ~]# showmount -e 192.168.0.33
Export list for 192.168.0.33:
/home/maobo *
[root@localhost ~]# mount -t nfs 211.69.195.33:/home/mb /mnt
mount: 192.168.0.33:/home/mb failed, reason given by server: permission denied!
并且这两个文件/etc/hosts.allow 和 /etc/hosts.deny我也仔细检查了,没有问题,SELinux也关闭了,iptables检查了也没有问题。
服务器端的/var/log/messages中给出如下信息:
May 10 19:33:51 localhost rpc.mountd: authenticated mount request from 192.168.0.37:972 for /home/mb (/home/mb)
May 10 19:44:44 localhost rpc.mountd: authenticated mount request from 192.168.0.37:976 for /home/mb (/home/mb)
不知道具体问题的原因,有知道的告诉下,苦闷中,谢谢! |
|