免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1516 | 回复: 0
打印 上一主题 下一主题

linux的autofs文件系统的链接访问 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-04 15:31 |只看该作者 |倒序浏览
[user@hppp /etc]$ more auto.master
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc  /etc/auto.misc --timeout=60
/data1  /etc/auto.raidse5500 --timeout=3600

[user@hppp /etc]$ more auto.raidse5500
raid5 -fstype=nfs,rsize=8192,wsize=8192,soft,rw se5500:/data1/raid5

然后我把/data1/raid5 下的disk2 链接到/disk2  
autofs的功能是超过timeout的时间设置,/data1/raid5自动断开,再运行
cd /data1/raid5可以正常进入,但如果不是直接进入/data1/raid5,而是进入/disk2就不能找到目录
不知各位高手是否遇到类似问题,请指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP