You are not logged in.

#1 2022-09-04 09:15:05

Manix
Member
Registered: 2021-04-17
Posts: 81

x-systemd.idle-timeout=5min won't umount

cheers,
I have a similar problem to this topic: https://bbs.archlinux.org/viewtopic.php?id=266093.
the partition does not unmount automatically after 5 min.
I did the lsof and hdparm test and everything is ok, moreover if I unmount manually there is no problem (no log error).

any idea ?  It's lennarts fault™ ? smile

fstab

# /dev/sda1
UUID=d6381337-829d-45dd-9a62-110ca6ad51d8    /3to          ext4          rw,relatime,noauto,x-systemd.automount,x-systemd.idle-timeout=5min    0 2

$ ls /3to (journal)

Sep 04 11:01:03 archnico systemd[1]: Starting File System Check on /dev/disk/by-uuid/d6381337-829d-45dd-9a62-110ca6ad51d8...
Sep 04 11:01:04 archnico systemd-fsck[525235]: /dev/sda1: clean, 34/183148544 files, 11783922/732566385 blocks
Sep 04 11:01:04 archnico systemd[1]: Finished File System Check on /dev/disk/by-uuid/d6381337-829d-45dd-9a62-110ca6ad51d8.
Sep 04 11:01:04 archnico systemd[1]: Mounting /3to...
Sep 04 11:01:04 archnico kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
Sep 04 11:01:04 archnico systemd[1]: Mounted /3to.

$ uname -a

Linux archnico 5.19.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 31 Aug 2022 22:09:40 +0000 x86_64 GNU/Linux

$ cat /run/systemd/generator/3to.automount

# Automatically generated by systemd-fstab-generator

[Unit]
SourcePath=/etc/fstab
Documentation=man:fstab(5) man:systemd-fstab-generator(8)

[Automount]
Where=/3to
TimeoutIdleSec=5min

$ cat /run/systemd/generator/3to.mount

# Automatically generated by systemd-fstab-generator

[Unit]
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
SourcePath=/etc/fstab
Before=local-fs.target
Requires=systemd-fsck@dev-disk-by\x2duuid-d6381337\x2d829d\x2d45dd\x2d9a62\x2d110ca6ad51d8.service
After=systemd-fsck@dev-disk-by\x2duuid-d6381337\x2d829d\x2d45dd\x2d9a62\x2d110ca6ad51d8.service
After=blockdev@dev-disk-by\x2duuid-d6381337\x2d829d\x2d45dd\x2d9a62\x2d110ca6ad51d8.target

[Mount]
What=/dev/disk/by-uuid/d6381337-829d-45dd-9a62-110ca6ad51d8
Where=/3to
Type=ext4
Options=rw,relatime,noauto,x-systemd.automount,x-systemd.idle-timeout=5min

$ systemctl status 3to.automount

● 3to.automount
     Loaded: loaded (/etc/fstab; generated)
     Active: active (running) since Sun 2022-09-04 08:52:02 CEST; 2h 17min ago
      Until: Sun 2022-09-04 08:52:02 CEST; 2h 17min ago
   Triggers: ● 3to.mount
      Where: /3to
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)

Sep 04 08:52:02 archnico systemd[1]: Set up automount 3to.automount.
Sep 04 11:01:03 archnico systemd[1]: 3to.automount: Got automount request for /3to, triggered by 501541 (zsh)

$ systemctl status 3to.mount

● 3to.mount - /3to
     Loaded: loaded (/etc/fstab; static)
     Active: active (mounted) since Sun 2022-09-04 11:01:04 CEST; 9min ago
      Until: Sun 2022-09-04 11:01:04 CEST; 9min ago
TriggeredBy: ● 3to.automount
      Where: /3to
       What: /dev/sda1
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)
      Tasks: 0 (limit: 18857)
     Memory: 1.4M
        CPU: 22ms
     CGroup: /system.slice/3to.mount

Sep 04 11:01:04 archnico systemd[1]: Mounting /3to...
Sep 04 11:01:04 archnico systemd[1]: Mounted /3to.


I don't love rosbeef

Offline

Board footer

Powered by FluxBB