我遇到了一些问题,让autofs在一个新的CentOS5.5安装上正常工作。请查找我的存储服务器的导出:
/san/files *(rw,sync,no_subtree_check,no_root_squash)
/san/mail *(rw,sync,no_subtree_check,no_root_squash)在我的客户端,我的auto.master看起来如下:
/home /etc/auto.home --timeout=60
/net -hostsauto.home:
vmail -fstype=nfs,hard,intr,nodev,nosuid,rw xxx.xxx.xxx.xxx:/san/mail不过,我不想使用NIS,但是,我的更大的想法是放弃nfs服务器,然而,目前我只是在使用单个服务器。
我可以使用“挂载-t nfs x.xxx.xx.xxx:/san/mail /home/vmail”(当挂载点存在Obv时)手动挂载nfs共享。
对/home的权限:
# ls -shalt /home
total 8.0K
0 drwxr-xr-x 2 root root 0 May 3 08:51 .
8.0K drwxr-xr-x 24 root root 4.0K May 3 08:51 ..问题是,当试图访问/home/vmail时,我得到以下信息:
# ls -shalt /home/vmail
ls: /home/vmail: No such file or directory运行"automount -vf“,我得到以下输出:
Starting automounter version 5.0.1-0.rc2.143.el5_5.6, master map auto.master
using kernel protocol version 5.01
mounted indirect on /home with timeout 60, freq 15 seconds
mounted indirect on /net with timeout 300, freq 75 seconds
attempting to mount entry /home/vmail
lookup(program): lookup for vmail failed
failed to mount /home/vmail使用/net/xxx.xxx/san/mail/ works!
有什么建议吗?我现在处于死胡同。
发布于 2011-05-19 16:01:42
查找(程序)意味着自动用户认为您的地图是可执行的,它有可执行位设置吗?
查找(文件)是你应该看到的
见http://www.squarebox.co.uk/cgi-squarebox/manServer/automount.8。
https://serverfault.com/questions/265744
复制相似问题