- 论坛徽章:
- 0
|
[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就不能找到目录
不知各位高手是否遇到类似问题,请指点 |
|