autofs沒辦法掛載 - Linux

Table of Contents

系統是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了很久都沒有找到解法

--

All Comments

Bethany avatarBethany2019-01-15
cd 相關路徑不會自己掛載嗎