- 论坛徽章:
- 0
|
[请教]NFS的配置问题,我已经困扰多日了
把/etc/hosts清空也不能mount,错误相同mount:localhost:/share failed,reason given by server ermission denied.
而删除*,exportfs -rv时会提示:exportfs:198.168.100. has non-inet addr
另外还有个问题,我一直是在一台机器上做mount 测试,
hostname:asdf IP地址为:198.168.100.16 用root登陆
在运行showmount -e asdf 和showmount -e 198.168.100.16 时,都可以看到共享文件,但是运行
mount -t nfs 198.168.100.16:/share /mnt时,系统提示:
mount:198.168.100.16:/share failed,reason given by server: Permission denied.
而运行mount -t nfs asdf:/share /mnt,则能挂载成功,但是在其他的客户机上系统都提示禁止挂载,
这是怎么回事?我应该怎么修改呢?
都弄了好多天了,急死了! |
|