by Lestrad » Fri Aug 06, 2021 2:08 pm
$this->bbcode_second_pass_quote('', 'R')e: autofs for armv7 ?
Postby graysky » 06 Aug 2021, 10:36
Try
https://wiki.archlinux.org/title/Fstab# ... th_systemd
I tried that - setting up automount in fstab - and it seemed to be working fine. The share would unmount after 1 minute of no activity and mount instantaneously when I
ls'd the mount point. BUT after I
cd'd into the actual mount point directory (/mnt/Work), the share got lost again just like it does when it's mounted at boot. But now it throws a
"No such device" error instead of
"Host is down." Then when I try to remount it I get the
"No such file or directory" error, which is what was happening before.
When I do
systemctl status mnt-Work.mountI get:
$this->bbcode_second_pass_code('', 'Warning: The unit file, source configuration file or drop-ins of mnt-Work.mount changed on disk. Run 'systemctl daemon-reload' to reload units.')
But when I run 'systemctl daemon-reload' nothing changes. The status message includes the last time the share was mounted,
$this->bbcode_second_pass_code('', 'août 06 14:39:47 alarm systemd[1]: Mounting /mnt/Work...
août 06 14:39:47 alarm systemd[1]: Mounted /mnt/Work.')
but not the automatic unmount after one minute, which it was showing every time
$this->bbcode_second_pass_code('', 'août 06 14:00:52 alarm systemd[1]: Mounting /mnt/Work...
août 06 14:00:52 alarm systemd[1]: Mounted /mnt/Work.
août 06 14:01:52 alarm systemd[1]: Unmounting /mnt/Work...')
(at least 10 tries) until I
cd'd into the mount point. I should add that I can connect to the share with no problem with
smbclient. Please let me know if you have any ideas.