[systemd-devel] systemd autofs in RH 7

Wieschke, Thomas Thomas.Wieschke at noventi.de
Tue Apr 21 13:26:07 UTC 2020


Hi,
I hope someone can help with the following case.

I'm writing on a RH 7 system to an automounted FS and get an disruption because systemd (??) is,
besides working in this directory, obviously trying an umount in the background.
The umount doesn't work because the FS is in use (returned busy), but the start/stop of autofs is
nevertheless done and leads to a disruption:

Apr 21 12:02:18 server1 systemd[1]: Stopping Automounts filesystems on demand...
-- Subject: Unit autofs.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit autofs.service has begun shutting down.
Apr 21 12:02:19 server1 automount[22213]: umount_autofs_indirect: ask umount returned busy /vsaabrmount
Apr 21 12:02:20 server1 systemd[1]: Stopped Automounts filesystems on demand.
-- Subject: Unit autofs.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit autofs.service has finished shutting down.
Apr 21 12:02:20 server1 systemd[1]: Starting Automounts filesystems on demand...
-- Subject: Unit autofs.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit autofs.service has begun starting up.
Apr 21 12:02:20 server1 systemd[1]: Started Automounts filesystems on demand.
-- Subject: Unit autofs.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit autofs.service has finished starting up.
--
-- The start-up result is done.

Finally I tried to prevent any umount by changing in /etc/sysconfig/autofs #OPTIONS="" to OPTIONS="-timeout=0"

And I tried to add in /etc/auto.master at end of line --timeout=0 (/workdir    /etc/auto.workdir --timeout=0)

But besides this values there is an automatic restart every 30min

Apr 21 13:34:41 server1 systemd: Stopping Automounts filesystems on demand...
Apr 21 13:34:42 server1 systemd: Starting Automounts filesystems on demand...
Apr 21 13:34:42 server1 systemd: Started Automounts filesystems on demand.
Apr 21 14:04:42 server1 systemd: Stopping Automounts filesystems on demand...
Apr 21 14:04:42 server1 systemd: Stopped Automounts filesystems on demand.
Apr 21 14:04:42 server1 systemd: Starting Automounts filesystems on demand...
Apr 21 14:04:42 server1 systemd: Started Automounts filesystems on demand.
Apr 21 14:34:42 server1 systemd: Stopping Automounts filesystems on demand...
Apr 21 14:34:42 server1 automount[11019]: umount_autofs_indirect: ask umount returned busy /vsaabrmount
Apr 21 14:34:44 server1 systemd: Stopped Automounts filesystems on demand.
Apr 21 14:34:44 server1 systemd: Starting Automounts filesystems on demand...
Apr 21 14:34:44 server1 systemd: Started Automounts filesystems on demand.

Switching back to RH 6 doesn't show this problem.

Any suggestions?

Thanks in advance

Best regards
Thomas

NOVENTI Health SE | Tomannweg 6  | 81673 München
Telefon +49 89 43184-153 | Thomas.Wieschke at noventi.de | www.noventi.de
Vorstand: Dr. Hermann Sommer (Vorsitzender) | Dr. Sven Jansen | Victor J. Castro
Erweiterter Vorstand: Sven Bertram (CTO) | Dr. Verena Heeschen (CHRO) | Dr. Silvio Kusche (CMO) | Dr. Sven Simons (CCIO) |  Björn Zeien (CSO)
Aufsichtsratsvorsitzender: Uwe Geiß
Sitz der Gesellschaft: München, Registergericht München HRB 234740 | USt-IdNr.: DE314305075


More information about the systemd-devel mailing list