NFS auto-mount unstable and unuseable

I am running KDE desktop with an NFS client connection using autofs. The server configuration was done on a Leap 15.5 machine using Yast with NFSv4 enabled and the export setting details are:-

alastair@ibmserv3:~> cat /etc/exports
/home/alastair  192.168.169.137/25(rw,root_squash,sync,no_subtree_check)
alastair@ibmserv3:~>

from /etc/systemd/system the client mount and automounts are:-

cat home-alastair-NFS_from_ibmserv_135_alastair.mount
[Unit]
Description=nfs mount for 135 /home/alastair

[Mount]
What=192.168.169.135:/home/alastair
Where=/home/alastair/NFS_from_ibmserv_135_alastair
Type=nfs4
Options=rw,noauto
TimeoutSec=5

[Install]
WantedBy=multi-user.target

and

alastair@HP-Z640-1:/etc/systemd/system> cat home-alastair-NFS_from_ibmserv_135_alastair.automount
[Unit]
Description=nfs automount for 135 /home/alastair

[Automount]
Where=/home/alastair/NFS_from_ibmserv_135_alastair
TimeoutIdleSec=10

[Install]
WantedBy=multi-user.target

The mount point on my system is:

/home/alastair/NFS_from_ibmserv_135_alastair/

All this seems to work as it did with my now dead workstation and as expected until I select the mount point using Dolphin and expand it. The exported directory then shows as required directory tree for a few seconds and then Dolphin reverts to my home directory tree and I get the message:-

Current location changed, ‘/home/alastair/NFS_from_ibmserv_135_alastair’ is no longer accessible.

What is happening here and how can I fix it please?

No Idea what was happening. When using Dolphin the “Places” column, which includes a Remote heading shows the NFS automount and this was appearing and disappearing every few seconds.
Since as far as I knew the configuration was all correct I left this and went away to do other things.
On returning a few hours later the connection appears to have stabilised and is now OK to use.

Bottom line:-
All now working as expected.

Just as a reference, my reliable autofs configuration –

 > cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
#/misc  /etc/auto.misc
/mnt/NAS-Bureau-001 file:/etc/auto.NAS-Bureau-001 --timeout=120
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
#/net   -hosts
#
# Include /etc/auto.master.d/*.autofs
# The included files must conform to the format of this file.
#
#+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
 > 
 > dcu@eck001:..Users/dcu> cat /etc/auto.NAS-Bureau-001
NFS -rw,hard NAS-Bureau-001.fritz.box:/NFS
 > 

Ditto for a Laptop which additionally uses the automounter to access the NFS server on this Desktop machine –

  • Almost the same configuration except for an additional entry pointing to this host …

Hi Don,
Many thanks for the info. I spent some time on the openSUSE documentation but when I first started with autofs I used a thread posted here but with excellent and clear instructions which did not actually require editing /etc/auto.master.
The thread to which I referred is

Using that info worked well but out of interest here is my /etc/auto.master:-

alastair@HP-Z640-1:~> cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
#/misc  /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
#       "nosuid" and "nodev" options unless the "suid" and "dev"
#       options are explicitly given.
#
#/net   -hosts
#
# Include /etc/auto.master.d/*.autofs
# To add an extra map using this mechanism you will need to add
# two configuration items - one /etc/auto.master.d/extra.autofs file
# (using the same line format as the auto.master file)
# and a separate mount map (e.g. /etc/auto.extra or an auto.extra NIS map)
# that is referred to by the extra.autofs file.
#
#+dir:/etc/auto.master.d
#
# If you have fedfs set up and the related binaries, either
# built as part of autofs or installed from another package,
# uncomment this line to use the fedfs program map to access
# your fedfs mounts.
#/nfs4  /usr/sbin/fedfs-map-nfs4 nobind
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
alastair@HP-Z640-1:~> 

Why is my setup so different. I assume the ‘+’ sign is significant in front of auto.master but since the above link appeared to work I stuck with it. Since last evening it has been solid and I have been running many gigabytes using rsync.
I would like to understand a bit more but not urgent as I am OK for now!!!
Regards,
Alastair.

Having restored my workstation please could I resume this thread because, after restoring my autofs mounts I am still getting the instability with which I started this thread. I have only two NFS automounts, one to each workstation. Here is my mount configuration:-

  GNU nano 7.2                          home-alastair-NFS_from_ibmserv_134_alastair.mount                                     
[Unit]
Description=nfs mount for 134 /home/alastair

[Mount]
What=192.168.169.134:/home/alastair
Where=/home/alastair/NFS_from_ibmserv_134_alastair
Type=nfs4
Options=rw,noauto
TimeoutSec=5

[Install]
WantedBy=multi-user.target

and the automount configuration:-

  GNU nano 7.2                        home-alastair-NFS_from_ibmserv_134_alastair.automount                                   
[Unit]
Description=nfs automount for 134 /home/alastair

[Automount]
Where=/home/alastair/NFS_from_ibmserv_134_alastair
TimeoutIdleSec=10

[Install]
WantedBy=multi-user.target

Why would this connection disconnect for about 90 seconds and then reconnect?
Where I am in trouble is understanding the role of /etc/auto.master. What should I have in that file and how does this relate to the above configuration?

/etc/auto.master is not used by systemd managed automounts.

Many thanks for clarifying that as I had been confused by my reading the wrong document.
I have been trying to understand this intermittent behaviour and do not understand what I am reading from the status. Here is what I have for the mount unit:-

alastair@HP-Z640-1:~> cd /etc/systemd/system
alastair@HP-Z640-1:/etc/systemd/system> sudo systemctl status home-alastair-NFS_from_ibmserv_134_alastair.mount
[sudo] password for root: 
○ home-alastair-NFS_from_ibmserv_134_alastair.mount - nfs mount for 134 /home/alastair
     Loaded: loaded (/etc/systemd/system/home-alastair-NFS_from_ibmserv_134_alastair.mount; enabled; preset: disabled)
     Active: inactive (dead) since Sat 2024-01-13 17:32:32 GMT; 10min ago
   Duration: 17.520s
TriggeredBy: ● home-alastair-NFS_from_ibmserv_134_alastair.automount
      Where: /home/alastair/NFS_from_ibmserv_134_alastair
       What: 192.168.169.134:/home/alastair
        CPU: 19ms

Jan 13 17:32:14 HP-Z640-1 systemd[1]: Mounting nfs mount for 134 /home/alastair...
Jan 13 17:32:14 HP-Z640-1 systemd[1]: Mounted nfs mount for 134 /home/alastair.
Jan 13 17:32:31 HP-Z640-1 systemd[1]: Unmounting nfs mount for 134 /home/alastair...
Jan 13 17:32:32 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Deactivated successfully.
Jan 13 17:32:32 HP-Z640-1 systemd[1]: Unmounted nfs mount for 134 /home/alastair.
alastair@HP-Z640-1:/etc/systemd/system>

I do not understand the lines showing unmounting and Deactivated but this would certainly explain my problem, however the automount should stop this because I am using the NFS in question. Here is the automount status:

alastair@HP-Z640-1:/etc/systemd/system> 
alastair@HP-Z640-1:/etc/systemd/system> sudo systemctl status home-alastair-NFS_from_ibmserv_134_alastair.automount
● home-alastair-NFS_from_ibmserv_134_alastair.automount - nfs automount for 134 /home/alastair
     Loaded: loaded (/etc/systemd/system/home-alastair-NFS_from_ibmserv_134_alastair.automount; enabled; preset: disabled)
     Active: active (waiting) since Thu 2024-01-11 22:57:21 GMT; 1 day 18h ago
   Triggers: ● home-alastair-NFS_from_ibmserv_134_alastair.mount
      Where: /home/alastair/NFS_from_ibmserv_134_alastair

Jan 13 16:59:48 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:00:31 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:01:45 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:03:29 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:06:26 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:07:07 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:07:50 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:08:32 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:09:41 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
Jan 13 17:32:14 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/>
alastair@HP-Z640-1:/etc/systemd/system> 

Clearly I have made a mistake somewhere but need help sorting this out please.

Well, you have set idle timeout to 10 seconds, this may explain your issue. Enable debug logs in systemd and post them. Debugging can be enabled and disabled at run-time, see man systemd.

Enable debug:

/usr/bin/kill -RTMIN+22 1

Disable debug:

/usr/bin/kill -RTMIN+23 1

Sorry to be so dumb but I have read the man pages and am not much wiser. I can see the intended signals but how do I post the relevant section of the logs please?

I had set the time for 10 seconds on the understanding that if the nfs connection was not made in 10 seconds it would be dropped but it would leave time to be sure server was running. Perhaps I was too cautious and should reduce the time but I hope the logs will show what is going on.

erlangen:~ # journalctl --since 11:00 --unit home_karl_6700k.automount 
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.automount: Got automount request for /home_karl_6700k, triggered by 5536 (bash)
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.automount: Changed waiting -> running
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.automount: Sending success.
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.automount: Got direct umount request on /home_karl_6700k
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.automount: Sending success.
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.automount: Changed running -> waiting
erlangen:~ # 
erlangen:~ # journalctl --since 11:00 --unit home_karl_6700k.mount 
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Trying to enqueue job home_karl_6700k.mount/start/replace
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Installed new job home_karl_6700k.mount/start as 14510
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Enqueued job home_karl_6700k.mount/start as 14510
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: About to execute: /usr/bin/mount 6700k:/home/karl /home_karl_6700k -t nfs4 -o rw,_netdev,x-systemd.automount,x-systemd.timeout=5,x-systemd.idle-timeout=10
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Forked /usr/bin/mount as 26816
Jan 14 11:52:38 erlangen (mount)[26816]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Changed dead -> mounting
Jan 14 11:52:38 erlangen systemd[1]: Mounting /home_karl_6700k...
Jan 14 11:52:38 erlangen (mount)[26816]: home_karl_6700k.mount: Executing: /usr/bin/mount 6700k:/home/karl /home_karl_6700k -t nfs4 -o rw,_netdev,x-systemd.automount,x-systemd.timeout=5,x-systemd.idle-timeout=10
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Changed mounting -> mounting-done
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Child 26816 belongs to home_karl_6700k.mount.
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Mount process exited, code=exited, status=0/SUCCESS (success)
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Changed mounting-done -> mounted
Jan 14 11:52:38 erlangen systemd[1]: home_karl_6700k.mount: Job 14510 home_karl_6700k.mount/start finished, result=done
Jan 14 11:52:38 erlangen systemd[1]: Mounted /home_karl_6700k.
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Trying to enqueue job home_karl_6700k.mount/stop/replace
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Installed new job home_karl_6700k.mount/stop as 14518
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Enqueued job home_karl_6700k.mount/stop as 14518
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Thawing unit.
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: About to execute: /usr/bin/umount /home_karl_6700k -c
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Forked /usr/bin/umount as 26864
Jan 14 11:52:52 erlangen (umount)[26864]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Changed mounted -> unmounting
Jan 14 11:52:52 erlangen systemd[1]: Unmounting /home_karl_6700k...
Jan 14 11:52:52 erlangen (umount)[26864]: home_karl_6700k.mount: Executing: /usr/bin/umount /home_karl_6700k -c
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Child 26864 belongs to home_karl_6700k.mount.
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Mount process exited, code=exited, status=0/SUCCESS (success)
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Deactivated successfully.
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Changed unmounting -> dead
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: bpf-lsm: Failed to delete cgroup entry from LSM BPF map: No such file or directory
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Job 14518 home_karl_6700k.mount/stop finished, result=done
Jan 14 11:52:52 erlangen systemd[1]: Unmounted /home_karl_6700k.
Jan 14 11:52:52 erlangen systemd[1]: home_karl_6700k.mount: Consumed 9ms CPU time.
erlangen:~ # 

Hi Karl,
All this shows is that my unit is mounting and unmounting as in:-

alastair@HP-Z640-1:~> sudo journalctl --since 11:00 --unit home-alastair-NFS_from_ibmserv_134_alastair.mount
Jan 14 11:36:54 HP-Z640-1 systemd[1]: Mounting nfs mount for 134 /home/alastair...
Jan 14 11:36:54 HP-Z640-1 systemd[1]: Mounted nfs mount for 134 /home/alastair.
Jan 14 11:37:19 HP-Z640-1 systemd[1]: Unmounting nfs mount for 134 /home/alastair...
Jan 14 11:37:19 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Deactivated successfully.
Jan 14 11:37:19 HP-Z640-1 systemd[1]: Unmounted nfs mount for 134 /home/alastair.
Jan 14 11:39:32 HP-Z640-1 systemd[1]: Mounting nfs mount for 134 /home/alastair...
Jan 14 11:39:32 HP-Z640-1 systemd[1]: Mounted nfs mount for 134 /home/alastair.
Jan 14 11:39:57 HP-Z640-1 systemd[1]: Unmounting nfs mount for 134 /home/alastair...
Jan 14 11:39:57 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Deactivated successfully.
Jan 14 11:39:57 HP-Z640-1 systemd[1]: Unmounted nfs mount for 134 /home/alastair.
Jan 14 11:41:21 HP-Z640-1 systemd[1]: Mounting nfs mount for 134 /home/alastair...
Jan 14 11:41:21 HP-Z640-1 systemd[1]: Mounted nfs mount for 134 /home/alastair.
Jan 14 11:41:42 HP-Z640-1 systemd[1]: Unmounting nfs mount for 134 /home/alastair...
Jan 14 11:41:42 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Deactivated successfully.
Jan 14 11:41:42 HP-Z640-1 systemd[1]: Unmounted nfs mount for 134 /home/alastair.

This confirms that my NFS mounts are up and down.

What I need is the debug logs to find out what signals are being sent and why and I need further help on the system. I am well outside my comfort zone and into my ignorance area here.

As suggested by @arvidjaar enable debugging and try again.

It is how I do this that has me stuck. Advice too abbreviated for a simple soul.
The lines offered do nothing. No preceding command?

  1. Open a root shell and turn on:
erlangen:~ # kill -RTMIN+22 1
erlangen:~ #.
  1. Check mount.

3 . Show journal.

4 . Switch back.

erlangen:~ # kill -RTMIN+23 1
erlangen:~ # 

How do I show the journal for just the last 15 minutes please?

 journalctl --since "15 minutes ago"

Here is a chunk of what I have:-

Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got automount request for /home/alastair/NFS_from_ibmserv_134_alastair, triggered by 7817 (KIO::WorkerThre)
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Trying to enqueue job home-alastair-NFS_from_ibmserv_134_alastair.mount/start/replace
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Installed new job home-alastair-NFS_from_ibmserv_134_alastair.mount/start as 6755
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Enqueued job home-alastair-NFS_from_ibmserv_134_alastair.mount/start as 6755
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Changed waiting -> running
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2eautomount interface=org.freedesktop.DBus.Properties member=Propertie>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2eautomount interface=org.freedesktop.DBus.Properties member=Propertie>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobNew cookie=3496 reply_cookie=0 signature=uos error-name=n/a error-message=n/a
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Failed to read pids.max attribute of root cgroup, ignoring: No data available
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: About to execute: /usr/bin/mount 192.168.169.134:/home/alastair /home/alastair/NFS_from_ibmserv_134_alastair -t nfs4 -o rw
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Forked /usr/bin/mount as 7901
Jan 14 14:07:55 HP-Z640-1 (mount)[7901]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 (mount)[7901]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Executing: /usr/bin/mount 192.168.169.134:/home/alastair /home/alastair/NFS_from_ibmserv_134_alastair -t nfs4 -o rw
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Changed dead -> mounting
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Mounting nfs mount for 134 /home/alastair...
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/job/6755 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3501 reply_cookie=0 signature=sa{sv}as error-nam>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: systemd-journald.service: Got notification message from PID 859 (FDSTORE=1)
Jan 14 14:07:55 HP-Z640-1 systemd[1]: systemd-journald.service: Trying to stash fd for dev=0:8/inode=88385
Jan 14 14:07:55 HP-Z640-1 systemd[1]: systemd-journald.service: Added fd 101 (stored) to fd store.
Jan 14 14:07:55 HP-Z640-1 nfsrahead[7906]: setting /home/alastair/NFS_from_ibmserv_134_alastair readahead to 128
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Changed mounting -> mounting-done
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/network_2donline_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3506 reply_cookie=0 signat>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/network_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3507 reply_cookie=0 signature=sa{sv>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/umount_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3508 reply_cookie=0 signature=sa{sv}>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/remote_2dfs_2dpre_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3509 reply_cookie=0 signa>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/remote_2dfs_2etarget interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3510 reply_cookie=0 signature=s>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Received SIGCHLD from PID 7901 (mount).
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Child 7901 (mount) died (code=exited, status=0/SUCCESS)
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Child 7901 belongs to home-alastair-NFS_from_ibmserv_134_alastair.mount.
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Mount process exited, code=exited, status=0/SUCCESS (success)
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Changed mounting-done -> mounted
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Job 6755 home-alastair-NFS_from_ibmserv_134_alastair.mount/start finished, result=done
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Mounted nfs mount for 134 /home/alastair.
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=3513 reply_cookie=0 signature=uoss error-name=n/a error-message>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Sending success.
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2eautomount interface=org.freedesktop.DBus.Properties member=Propertie>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2eautomount interface=org.freedesktop.DBus.Properties member=Propertie>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:55 HP-Z640-1 systemd[1]: systemd-journald.service: Received EPOLLHUP on stored fd 101 (stored), closing.
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Received SIGCHLD from PID 7907 ((sd-close)).
Jan 14 14:07:55 HP-Z640-1 systemd[1]: Child 7907 ((sd-close)) died (code=exited, status=0/SUCCESS)
Jan 14 14:07:55 HP-Z640-1 systemd[1]: init.scope: Child 7907 belongs to init.scope.
Jan 14 14:07:56 HP-Z640-1 systemd[1]: Successfully forked off '(sd-expire)' as PID 7908.
Jan 14 14:07:56 HP-Z640-1 systemd[1]: Received SIGCHLD from PID 7908 ((sd-expire)).
Jan 14 14:07:56 HP-Z640-1 systemd[1]: Child 7908 ((sd-expire)) died (code=exited, status=0/SUCCESS)
Jan 14 14:07:56 HP-Z640-1 systemd[1]: init.scope: Child 7908 belongs to init.scope.
Jan 14 14:07:56 HP-Z640-1 systemd[1]: Successfully forked off '(sd-expire)' as PID 7909.
Jan 14 14:07:56 HP-Z640-1 systemd[1]: Received SIGCHLD from PID 7909 ((sd-expire)).
Jan 14 14:07:56 HP-Z640-1 systemd[1]: Child 7909 ((sd-expire)) died (code=exited, status=0/SUCCESS)
Jan 14 14:07:56 HP-Z640-1 systemd[1]: init.scope: Child 7909 belongs to init.scope.
Jan 14 14:07:57 HP-Z640-1 systemd[1]: Successfully forked off '(sd-expire)' as PID 7910.
Jan 14 14:07:57 HP-Z640-1 systemd[1]: Received SIGCHLD from PID 7910 ((sd-expire)).
Jan 14 14:07:57 HP-Z640-1 systemd[1]: Child 7910 ((sd-expire)) died (code=exited, status=0/SUCCESS)
Jan 14 14:07:57 HP-Z640-1 systemd[1]: init.scope: Child 7910 belongs to init.scope.
Jan 14 14:07:58 HP-Z640-1 systemd[1]: Successfully forked off '(sd-expire)' as PID 7911.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Got direct umount request on /home/alastair/NFS_from_ibmserv_134_alastair
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Trying to enqueue job home-alastair-NFS_from_ibmserv_134_alastair.mount/stop/replace
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Installed new job home-alastair-NFS_from_ibmserv_134_alastair.mount/stop as 6880
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Enqueued job home-alastair-NFS_from_ibmserv_134_alastair.mount/stop as 6880
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobNew cookie=3520 reply_cookie=0 signature=uos error-name=n/a error-message=n/a
Jan 14 14:07:59 HP-Z640-1 systemd[1]: system.slice: Thawing unit.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Thawing unit.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: About to execute: /usr/bin/umount /home/alastair/NFS_from_ibmserv_134_alastair -c
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Forked /usr/bin/umount as 7912
Jan 14 14:07:59 HP-Z640-1 (umount)[7912]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Changed mounted -> unmounting
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Unmounting nfs mount for 134 /home/alastair...
Jan 14 14:07:59 HP-Z640-1 (umount)[7912]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Executing: /usr/bin/umount /home/alastair/NFS_from_ibmserv_134_alastair -c
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/job/6880 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3525 reply_cookie=0 signature=sa{sv}as error-nam>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-machined.service: Got notification message from PID 1310 (WATCHDOG=1)
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-logind.service: Got notification message from PID 1409 (WATCHDOG=1)
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-journald.service: Got notification message from PID 859 (FDSTORE=1)
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-journald.service: Trying to stash fd for dev=0:8/inode=79498
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-journald.service: Added fd 101 (stored) to fd store.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-udevd.service: Got notification message from PID 895 (RELOADING=1, STATUS=Flushing configuration..., MONOTONIC_USEC=5596238421)
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-udevd.service: Changed running -> reload-notify
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-udevd.service: Installed new job systemd-udevd.service/nop as 6881
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/systemd_2dudevd_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3526 reply_cookie=0 signat>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/systemd_2dudevd_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3527 reply_cookie=0 signat>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobNew cookie=3528 reply_cookie=0 signature=uos error-name=n/a error-message=n/a
Jan 14 14:07:59 HP-Z640-1 systemd[1]: systemd-udevd.service: Job 6881 systemd-udevd.service/nop finished, result=done
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=3529 reply_cookie=0 signature=uoss error-name=n/a error-message>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/systemd_2dudevd_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3530 reply_cookie=0 signat>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/systemd_2dudevd_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=3531 reply_cookie=0 signat>
Jan 14 14:07:59 HP-Z640-1 systemd-udevd[895]: Configuration file /etc/udev/rules.d/54-smfp_hp.rules is marked executable. Please remove executable permission bits. Proceeding anyway.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Received SIGCHLD from PID 7912 (umount).
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Child 7912 (umount) died (code=exited, status=0/SUCCESS)
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Child 7912 belongs to home-alastair-NFS_from_ibmserv_134_alastair.mount.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Mount process exited, code=exited, status=0/SUCCESS (success)
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Deactivated successfully.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Changed unmounting -> dead
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: bpf-lsm: Failed to delete cgroup entry from LSM BPF map: No such file or directory
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Job 6880 home-alastair-NFS_from_ibmserv_134_alastair.mount/stop finished, result=done
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Unmounted nfs mount for 134 /home/alastair.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/home_2dalastair_2dNFS_5ffrom_5fibmserv_5f134_5falastair_2emount interface=org.freedesktop.DBus.Properties member=PropertiesCha>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=3534 reply_cookie=0 signature=uoss error-name=n/a error-message>
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Sending success.
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.automount: Changed running -> waiting
Jan 14 14:07:59 HP-Z640-1 systemd[1]: home-alastair-NFS_from_ibmserv_134_alastair.mount: Consumed 21ms CPU time.

What I cannot follow is why the signals are being sent! If more log info is needed I shall have to paste a file.

Thanks hui, I had already found it but thanks anyway.
Regards,

(sd-expire) is forked off every one-third of idle timeout (rounded to the whole second).

This message means autofs expired this mount.

So it appears you configured idle timeout as 5 seconds, not 10 seconds. Which does not really change anything - your system behaves as you configured it. Automount is expired when you told it and mounted again on access. So I am not sure what is your question. If you do not want to see the filesystem being constantly remounted, do not configure such tiny timeouts.

And your logs are truncated. Do not you read what you post? In this case truncated lines do not have anything interesting, but it is not always the case.

Hi and many thanks. AFAIK the timeout I set for the .mounts set the wait time for completing the mount after booting. I had set it to 10 seconds which would ensure that NFS server would be up.

I had misunderstood the .automounts timeout setting and how it works. My intention was that if I was working on Dolphin that once the NFS directories were accessed they would be automounted and remain automounted while in “use.” Not so it appears. To avoid further problems I have set the automounts to:-

TimeoutIdleSec=0

Sorry if logs were truncated and I failed to check. Mea culpa!