作者filiaslayers (司马云)
看板Linux
标题[问题] autofs没办法挂载
时间Tue Jan 15 10:11:16 2019
系统是debian 9.6
kernel版本是4.9
以前用debian 9可以挂载autofs
但最近重灌之後,不管怎麽试都没办法,设定档是拿重灌前的
sudo systemctl status autofs.service
● autofs.service - Automounts filesystems on demand
Loaded: loaded (/lib/systemd/system/autofs.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-01-15 09:58:35 CST; 9min ago
Process: 1418 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /var/run/autofs.pid (code=exited, status=0/SUCCESS)
Main PID: 1426 (automount)
Tasks: 4 (limit: 4915)
CGroup: /system.slice/autofs.service
└─1426 /usr/sbin/automount --pid-file /var/run/autofs.pid
1月 15 09:58:35 SSD systemd[1]: Starting Automounts filesystems on demand...
1月 15 09:58:35 SSD systemd[1]: Started Automounts filesystems on demand.
1月 15 10:05:46 SSD automount[1426]: key ".git" not found in map source(s).
1月 15 10:05:46 SSD automount[1426]: key "HEAD" not found in map source(s).
auto.master设定档
/home/filia/Media/Media /etc/filia.autofs --timeout=60
filia.autofs设定档
nfs -rw,soft,intr,rsize=8192,wsize=8192 192.168.1.2:/home/filia/tmp
nfs确认可挂载,因为我现在就是手动挂载在用
有人有遇过这问题吗?google了很久都没有找到解法
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 60.251.130.156
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1547518278.A.BE8.html
1F:推 longlongint: cd 相关路径不会自己挂载吗 01/20 18:43
不会,我CD进去是空的,看log就是上面的错误讯息
※ 编辑: filiaslayers (220.132.147.49), 01/20/2019 21:32:28