Dolphin problem with automounting removable drive

This was my last issue:

Now after a reboot and I start Dolphin it takes over 2 min to open.
After that it opens fast.
I will post an strace in a minute.
First strace:

[demo@Manjaro ~]$ strace -c dolphin
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- -------------------
 18.43    0.026258       13129         2           waitid
 13.75    0.019590           2      8940      6610 access
 10.17    0.014490           3      4282       330 futex
  8.87    0.012640           1      7306           write
  8.70    0.012392           1      7266      5858 openat
  5.92    0.008439           5      1592           mmap
  5.35    0.007628           2      3401           read
  5.02    0.007154           2      2775           ppoll
  4.86    0.006923           2      3323      1049 statx
  4.66    0.006638           1      3628      3526 readlink
  3.25    0.004628           1      2405        23 newfstatat
  1.96    0.002797           1      1469           close
  1.65    0.002347           9       252           munmap
  1.05    0.001495           1       830           fstat
  0.77    0.001093           3       337           writev
  0.75    0.001070           1       684         6 ioctl
  0.51    0.000733           7        94           getdents64
  0.36    0.000510           4       110           shmdt
  0.31    0.000437           3       110           shmat
  0.31    0.000435           3       110           shmget
  0.27    0.000389           1       320           mprotect
  0.26    0.000374           1       363           poll
  0.26    0.000374           2       159         2 statfs
  0.26    0.000368           2       154           brk
  0.20    0.000286           2       110           shmctl
  0.19    0.000268          26        10           fdatasync
  0.16    0.000231          11        21           clone3
  0.15    0.000211          10        20         4 linkat
  0.14    0.000205          68         3           wait4
  0.14    0.000202           8        24           unlink
  0.14    0.000196           3        63           rt_sigprocmask
  0.14    0.000195          21         9         3 getxattr
  0.12    0.000169           4        40           readlinkat
  0.08    0.000119           5        22           geteuid
  0.07    0.000103          51         2           clone
  0.07    0.000096           1        54         1 lseek
  0.06    0.000087           6        13        13 mkdir
  0.06    0.000086           1        45           fcntl
  0.05    0.000076           1        63           fstatfs
  0.04    0.000063          15         4         1 setsockopt
  0.04    0.000059           4        14           pipe2
  0.04    0.000055           2        23           faccessat2
  0.04    0.000054           6         8           accept4
  0.03    0.000047          11         4           rename
  0.03    0.000042           3        12           socket
  0.03    0.000042          14         3           vfork
  0.02    0.000033           0        62           getuid
  0.02    0.000031           3         9         1 inotify_add_watch
  0.02    0.000030           1        16           madvise
  0.02    0.000027           3         9           bind
  0.01    0.000021           1        12           getsockopt
  0.01    0.000020           6         3         1 connect
  0.01    0.000019           1        18           getsockname
  0.01    0.000016           0        55           getpid
  0.01    0.000016           1        10           uname
  0.01    0.000016           1        14         4 prctl
  0.01    0.000015           0        17           getpeername
  0.01    0.000015           3         4           fchmod
  0.01    0.000012           1         8           getcwd
  0.01    0.000012           1        11           getgid
  0.01    0.000012           6         2           inotify_init1
  0.01    0.000010           5         2           pread64
  0.01    0.000010           2         5           flock
  0.01    0.000010           0        11           getegid
  0.01    0.000009           3         3           epoll_wait
  0.01    0.000009           2         4           epoll_ctl
  0.00    0.000007           0        31         8 recvmsg
  0.00    0.000006           6         1           epoll_create1
  0.00    0.000005           5         1           shutdown
  0.00    0.000005           0         8           listen
  0.00    0.000004           1         3           getrandom
  0.00    0.000003           1         3           chmod
  0.00    0.000002           0         5           sched_getaffinity
  0.00    0.000001           1         1           gettid
  0.00    0.000000           0         2           rt_sigaction
  0.00    0.000000           0         3         1 recvfrom
  0.00    0.000000           0         1           sendmsg
  0.00    0.000000           0         1           execve
  0.00    0.000000           0         3           kill
  0.00    0.000000           0         1           ftruncate
  0.00    0.000000           0         1           getppid
  0.00    0.000000           0         2           sched_setscheduler
  0.00    0.000000           0         1           arch_prctl
  0.00    0.000000           0         1           set_tid_address
  0.00    0.000000           0         1           inotify_init
  0.00    0.000000           0         3           inotify_rm_watch
  0.00    0.000000           0         1           set_robust_list
  0.00    0.000000           0         1           prlimit64
  0.00    0.000000           0         1           memfd_create
  0.00    0.000000           0         1           rseq
------ ----------- ----------- --------- --------- -------------------
100.00    0.142470           2     50831     17441 total

Sounds like something needs to be mounted the first time it opens? Probably something network-related.

Or maybe even a faulty disk.

I think it is something my user because I have a test user on this system and it doesn’t happen to that user.

It might be some systemd user service trying to mount something on first access. It could also be a startup script.

Please provide the output of:

systemctl --user list-units

and

ls -lAh ~/.config/autostart/

I have allot going on on this machine:

[demo@Manjaro ~]$ systemctl --user list-units
  UNIT                                                                                                                     LOAD   ACTIVE SUB       DE>
  sys-devices-pci0000:00-0000:00:02.0-drm-card1-card1\x2deDP\x2d1-intel_backlight.device                                   loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d1-1\x2d1:1.0-bluetooth-hci0-hci0:1.device                                  loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d1-1\x2d1:1.0-bluetooth-hci0.device                                         loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:14.3-net-wlan0.device                                                                     loaded active plugged   Co>
  sys-devices-pci0000:00-0000:00:14.3-ptp-ptp0.device                                                                      loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-rtsx_pci_sdmmc.0-mmc_host-mmc0-mmc0:59b4-block-mmcblk0-mmcblk0p1.device loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-rtsx_pci_sdmmc.0-mmc_host-mmc0-mmc0:59b4-block-mmcblk0.device           loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p1.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p10.device                                    loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p11.device                                    loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p12.device                                    loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p13.device                                    loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p2.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p3.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p4.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p5.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p6.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p7.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p8.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1-nvme0n1p9.device                                     loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1d.4-0000:3c:00.0-nvme-nvme0-nvme0n1.device                                               loaded active plugged   Sa>
  sys-devices-pci0000:00-0000:00:1f.3-skl_hda_dsp_generic-sound-card0-controlC0.device                                     loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:1f.5-spi_master-spi0-spi0.0-mtd-mtd0-mtd1.device                                          loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:1f.5-spi_master-spi0-spi0.0-mtd-mtd0-mtd1ro.device                                        loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:1f.5-spi_master-spi0-spi0.0-mtd-mtd0.device                                               loaded active plugged   /s>
  sys-devices-pci0000:00-0000:00:1f.5-spi_master-spi0-spi0.0-mtd-mtd0ro.device                                             loaded active plugged   /s>
  sys-devices-platform-MSFT0101:00-tpm-tpm0.device                                                                         loaded active plugged   /s>
  sys-devices-platform-MSFT0101:00-tpmrm-tpmrm0.device                                                                     loaded active plugged   /s>
  sys-devices-platform-serial8250-serial8250:0-serial8250:0.0-tty-ttyS0.device                                             loaded active plugged   /s>
  sys-devices-platform-serial8250-serial8250:0-serial8250:0.1-tty-ttyS1.device                                             loaded active plugged   /s>
  sys-devices-platform-serial8250-serial8250:0-serial8250:0.2-tty-ttyS2.device                                             loaded active plugged   /s>
  sys-devices-platform-serial8250-serial8250:0-serial8250:0.3-tty-ttyS3.device                                             loaded active plugged   /s>
  sys-devices-virtual-misc-rfkill.device                                                                                   loaded active plugged   /s>
  sys-devices-virtual-net-tailscale0.device                                                                                loaded active plugged   /s>
  sys-module-configfs.device                                                                                               loaded active plugged   /s>
  sys-module-fuse.device                                                                                                   loaded active plugged   /s>
  sys-subsystem-bluetooth-devices-hci0.device                                                                              loaded active plugged   /s>
  sys-subsystem-bluetooth-devices-hci0:1.device                                                                            loaded active plugged   /s>
  sys-subsystem-net-devices-tailscale0.device                                                                              loaded active plugged   /s>
  sys-subsystem-net-devices-wlan0.device                                                                                   loaded active plugged   Co>
  -.mount                                                                                                                  loaded active mounted   Ro>
  boot-efi.mount                                                                                                           loaded active mounted   /b>
  dev-hugepages.mount                                                                                                      loaded active mounted   /d>
  dev-mqueue.mount                                                                                                         loaded active mounted   /d>
  home.mount                                                                                                               loaded active mounted   /h>
  proc-sys-fs-binfmt_misc.mount                                                                                            loaded active mounted   /p>
  run-credentials-systemd\x2djournald.service.mount                                                                        loaded active mounted   /r>
  run-credentials-systemd\x2dnetworkd.service.mount                                                                        loaded active mounted   /r>
  run-credentials-systemd\x2dresolved.service.mount                                                                        loaded active mounted   /r>
  run-user-1000-doc.mount                                                                                                  loaded active mounted   /r>
  run-user-1000-gvfs.mount                                                                                                 loaded active mounted   /r>
  run-user-1000.mount                                                                                                      loaded active mounted   /r>
  sys-fs-fuse-connections.mount                                                                                            loaded active mounted   /s>
  sys-kernel-config.mount                                                                                                  loaded active mounted   /s>
  sys-kernel-debug.mount                                                                                                   loaded active mounted   /s>
  sys-kernel-tracing.mount                                                                                                 loaded active mounted   /s>
  tmp.mount                                                                                                                loaded active mounted   /t>
  pacnew-checker.path                                                                                                      loaded active waiting   "M>
  app-com.vivaldi.Vivaldi-3684.scope                                                                                       loaded active running   ap>
  init.scope                                                                                                               loaded active running   Sy>
  app-arch\x2dupdate\x2dtray@autostart.service                                                                             loaded active running   Ar>
  app-geoclue\x2ddemo\x2dagent@autostart.service                                                                           loaded active running   Ge>
  app-msm_kde_notifier@autostart.service                                                                                   loaded active running   MS>
  app-org.kde.discover.notifier@autostart.service                                                                          loaded active running   Di>
  app-org.kde.kalendarac@autostart.service                                                                                 loaded active running   Ca>
  app-org.kde.kdeconnect.daemon@autostart.service                                                                          loaded active running   KD>
  app-org.moson.matray@autostart.service                                                                                   loaded active running   ma>
  app-plank@autostart.service                                                                                              loaded active running   Pl>
  app-variety@autostart.service                                                                                            loaded active running   Va>
  app-xscreensaver@autostart.service                                                                                       loaded active running   XS>
  at-spi-dbus-bus.service                                                                                                  loaded active running   Ac>
  bamfdaemon.service                                                                                                       loaded active running   BA>
  dbus-:1.1-org.kde.kwalletd6@0.service                                                                                    loaded active running   db>
  dbus-:1.62-org.a11y.atspi.Registry@0.service                                                                             loaded active running   db>
  dbus-broker.service                                                                                                      loaded active running   D->
  dconf.service                                                                                                            loaded active running   Us>
  gnome-keyring-daemon.service                                                                                             loaded active running   GN>
  gvfs-afc-volume-monitor.service                                                                                          loaded active running   Vi>
  gvfs-daemon.service                                                                                                      loaded active running   Vi>
  gvfs-gphoto2-volume-monitor.service                                                                                      loaded active running   Vi>
  gvfs-mtp-volume-monitor.service                                                                                          loaded active running   Vi>
  gvfs-udisks2-volume-monitor.service                                                                                      loaded active running   Vi>
  pipewire-pulse.service                                                                                                   loaded active running   Pi>
  pipewire.service                                                                                                         loaded active running   Pi>
  plasma-gmenudbusmenuproxy.service                                                                                        loaded active running   Pr>
  plasma-kaccess.service                                                                                                   loaded active running   KA>
  plasma-kactivitymanagerd.service                                                                                         loaded active running   KA>
  plasma-kded6.service                                                                                                     loaded active running   KD>
  plasma-kglobalaccel.service                                                                                              loaded active running   KD>
  plasma-kscreen.service                                                                                                   loaded active running   KS>
  plasma-ksmserver.service                                                                                                 loaded active running   KD>
  plasma-kwin_x11.service                                                                                                  loaded active running   KD>
  plasma-plasmashell.service                                                                                               loaded active running   KD>
  plasma-polkit-agent.service                                                                                              loaded active running   KD>
  plasma-powerdevil.service                                                                                                loaded active running   Po>
  plasma-xdg-desktop-portal-kde.service                                                                                    loaded active running   Xd>
  plasma-xembedsniproxy.service                                                                                            loaded active running   Ha>
  wireplumber.service                                                                                                      loaded active running   Mu>
  xdg-desktop-portal.service                                                                                               loaded active running   Po>
  xdg-document-portal.service                                                                                              loaded active running   fl>
  xdg-permission-store.service                                                                                             loaded active running   sa>
  -.slice                                                                                                                  loaded active active    Ro>
  app-dbus\x2d:1.1\x2dorg.freedesktop.Notifications.slice                                                                  loaded active active    Sl>
  app-dbus\x2d:1.1\x2dorg.kde.KSplash.slice                                                                                loaded active active    Sl>
  app-dbus\x2d:1.1\x2dorg.kde.kwalletd6.slice                                                                              loaded active active    Sl>
  app-dbus\x2d:1.62\x2dorg.a11y.atspi.Registry.slice                                                                       loaded active active    Sl>
  app.slice                                                                                                                loaded active active    Us>
  background.slice                                                                                                         loaded active active    Us>
  session.slice                                                                                                            loaded active active    Us>
  dbus.socket                                                                                                              loaded active running   D->
  dirmngr.socket                                                                                                           loaded active listening Gn>
  gcr-ssh-agent.socket                                                                                                     loaded active listening GC>
  gnome-keyring-daemon.socket                                                                                              loaded active running   GN>
  gpg-agent-browser.socket                                                                                                 loaded active listening Gn>
  gpg-agent-extra.socket                                                                                                   loaded active listening Gn>
  gpg-agent-ssh.socket                                                                                                     loaded active listening Gn>
  gpg-agent.socket                                                                                                         loaded active listening Gn>
  keyboxd.socket                                                                                                           loaded active listening Gn>
  p11-kit-server.socket                                                                                                    loaded active listening p1>
  pipewire-pulse.socket                                                                                                    loaded active running   Pi>
  pipewire.socket                                                                                                          loaded active running   Pi>
  basic.target                                                                                                             loaded active active    Ba>
  bluetooth.target                                                                                                         loaded active active    Bl>
  default.target                                                                                                           loaded active active    Ma>
  graphical-session-pre.target                                                                                             loaded active active    Se>
  graphical-session.target                                                                                                 loaded active active    Cu>
  paths.target                                                                                                             loaded active active    Pa>
  plasma-core.target                                                                                                       loaded active active    KD>
  plasma-workspace-x11.target                                                                                              loaded active active    pl>
  plasma-workspace.target                                                                                                  loaded active active    KD>
  sockets.target                                                                                                           loaded active active    So>
  timers.target                                                                                                            loaded active active    Ti>
  xdg-desktop-autostart.target                                                                                             loaded active active    St>
  arch-update.timer                                                                                                        loaded active waiting   Ru>

Legend: LOAD   → Reflects whether the unit definition was properly loaded.
        ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
        SUB    → The low-level unit activation state, values depend on unit type.

134 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
[demo@Manjaro ~]$
[demo@Manjaro ~]$
[demo@Manjaro ~]$
[demo@Manjaro ~]$
[demo@Manjaro ~]$ ls -lAh ~/.config/autostart/
total 36K
-rw------- 1 demo demo 188 Dec  9  2024 arch-update-tray.desktop
-rw-r--r-- 1 demo demo 155 May 17 13:01 bluetooth_device_start.desktop
-rwxr-xr-x 1 demo demo 146 Jul 19  2023 discord.desktop
-rw-r--r-- 1 demo demo 625 Oct 31  2024 io.optimus_manager.OptimusManagerQt.desktop
-rw-r--r-- 1 demo demo 190 Dec 25  2022 org.moson.matray.desktop
-rw------- 1 demo demo 159 Feb 13  2025 plank.desktop
-rw-r--r-- 1 demo demo 297 Dec 25  2022 ulauncher.desktop
-rw-r--r-- 1 demo demo 457 Mar  2 19:53 variety.desktop
-rw-r--r-- 1 demo demo 191 Feb  9  2024 xscreensaver.desktop

Do yourself a flavour an check you disks for errors, before anything else:

sudo smartctrl --all /disk/to/check

Where /disk/to/check is the path to the disk. For example /dev/sda would be:

sudo smartctrl --all /dev/sda
[demo@Manjaro ~]$ sudo smartctl --all /dev/nvme0n1
smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.17.0-rc3-2-MANJARO] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       Samsung SSD 970 EVO Plus 1TB
Serial Number:                      S59ANS0N809758J
Firmware Version:                   2B2QEXM7
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Total NVM Capacity:                 1,000,204,886,016 [1.00 TB]
Unallocated NVM Capacity:           0
Controller ID:                      4
NVMe Version:                       1.3
Number of Namespaces:               1
Namespace 1 Size/Capacity:          1,000,204,886,016 [1.00 TB]
Namespace 1 Utilization:            623,683,276,800 [623 GB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            002538 580140f174
Local Time is:                      Tue Aug 26 10:44:57 2025 EDT
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x03):         S/H_per_NS Cmd_Eff_Lg
Maximum Data Transfer Size:         512 Pages
Warning  Comp. Temp. Threshold:     85 Celsius
Critical Comp. Temp. Threshold:     85 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     7.80W       -        -    0  0  0  0        0       0
 1 +     6.00W       -        -    1  1  1  1        0       0
 2 +     3.40W       -        -    2  2  2  2        0       0
 3 -   0.0700W       -        -    3  3  3  3      210    1200
 4 -   0.0100W       -        -    4  4  4  4     2000    8000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02, NSID 0x1)
Critical Warning:                   0x00
Temperature:                        42 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    1%
Data Units Read:                    82,527,674 [42.2 TB]
Data Units Written:                 64,905,848 [33.2 TB]
Host Read Commands:                 941,719,641
Host Write Commands:                630,728,320
Controller Busy Time:               3,330
Power Cycles:                       3,326
Power On Hours:                     2,434
Unsafe Shutdowns:                   1,196
Media and Data Integrity Errors:    0
Error Information Log Entries:      14,284
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               42 Celsius
Temperature Sensor 2:               39 Celsius

Error Information (NVMe Log 0x01, 16 of 64 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS  Message
  0      14284     0  0x0004  0x4004      -            0     0     -  Invalid Field in Command

Self-test Log (NVMe Log 0x06, NSID 0xffffffff)
Self-test status: No self-test in progress
Num  Test_Description  Status                       Power_on_Hours  Failing_LBA  NSID Seg SCT Code
 0   Short             Completed without error                2061            -     -   -   -    -

Looks good. Now let’s see if you have any user mounts/auto-. Run the following:

systemctl --user list-units --type=automount --type=mount

Also:

cat /etc/fstab

and

systemctl list-units --type=automount --type=mount

Another thing to do to try and diagnose it, is restart the computer, or logout and back in, and launch dolphin from the terminal emulator:

dolphin

Also, I can’t believe I haven’t asked yet, but does this happen only with dolphin or other file browsers as well?

[demo@Manjaro ~]$ systemctl --user list-units --type=automount --type=mount
  UNIT                                              LOAD   ACTIVE SUB     DESCRIPTION
  -.mount                                           loaded active mounted Root Mount
  boot-efi.mount                                    loaded active mounted /boot/efi
  dev-hugepages.mount                               loaded active mounted /dev/hugepages
  dev-mqueue.mount                                  loaded active mounted /dev/mqueue
  home.mount                                        loaded active mounted /home
  proc-sys-fs-binfmt_misc.mount                     loaded active mounted /proc/sys/fs/binfmt_misc
  run-credentials-systemd\x2djournald.service.mount loaded active mounted /run/credentials/systemd-journald.service
  run-credentials-systemd\x2dnetworkd.service.mount loaded active mounted /run/credentials/systemd-networkd.service
  run-credentials-systemd\x2dresolved.service.mount loaded active mounted /run/credentials/systemd-resolved.service
  run-user-1000-doc.mount                           loaded active mounted /run/user/1000/doc
  run-user-1000-gvfs.mount                          loaded active mounted /run/user/1000/gvfs
  run-user-1000.mount                               loaded active mounted /run/user/1000
  sys-fs-fuse-connections.mount                     loaded active mounted /sys/fs/fuse/connections
  sys-kernel-config.mount                           loaded active mounted /sys/kernel/config
  sys-kernel-debug.mount                            loaded active mounted /sys/kernel/debug
  sys-kernel-tracing.mount                          loaded active mounted /sys/kernel/tracing
  tmp.mount                                         loaded active mounted /tmp

Legend: LOAD   → Reflects whether the unit definition was properly loaded.
        ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
        SUB    → The low-level unit activation state, values depend on unit type.

17 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
[demo@Manjaro ~]$
[demo@Manjaro ~]$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=385A-127E                            /boot/efi      vfat    umask=0077 0 2
UUID=45ca132d-4a37-4dc3-afa0-be2e80d6a4a2 /              ext4    defaults,noatime 0 1
UUID=1f7a0eb8-f3e9-46ef-a88a-e3ae0ed0233d /home          ext4    defaults,noatime 0 2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

#UUID=1b9cd8e2-756a-4a24-9641-d3cdd3bed29a none           swap    sw 0 0

#/dev/sda1 /mnt/lfs ext4 defaults 1 1
[demo@Manjaro ~]$
[demo@Manjaro ~]$ systemctl list-units --type=automount --type=mount
  UNIT                                 LOAD   ACTIVE SUB     DESCRIPTION
  home-demo-mnt-data-backup.automount  loaded active waiting Automount backup partition
  home-demo-mnt-server-music.automount loaded active waiting server music mount
  proc-sys-fs-binfmt_misc.automount    loaded active running Arbitrary Executable File Formats File System Automount Point
  -.mount                              loaded active mounted Root Mount
  boot-efi.mount                       loaded active mounted /boot/efi
  dev-hugepages.mount                  loaded active mounted Huge Pages File System
  dev-mqueue.mount                     loaded active mounted POSIX Message Queue File System
  home.mount                           loaded active mounted /home
  proc-sys-fs-binfmt_misc.mount        loaded active mounted Arbitrary Executable File Formats File System
  run-user-1000-doc.mount              loaded active mounted /run/user/1000/doc
  run-user-1000-gvfs.mount             loaded active mounted /run/user/1000/gvfs
  run-user-1000.mount                  loaded active mounted /run/user/1000
  sys-fs-fuse-connections.mount        loaded active mounted FUSE Control File System
  sys-kernel-config.mount              loaded active mounted Kernel Configuration File System
  sys-kernel-debug.mount               loaded active mounted Kernel Debug File System
  sys-kernel-tracing.mount             loaded active mounted Kernel Trace File System
  tmp.mount                            loaded active mounted /tmp

To answer your other questions:
When I start it from the terminal the long pause also happens and there are no messages shown.

I don’t have any other file managers installed.

You are specifying -c for the strace which only gives a summary. You could try

strace -r -C dolphin   
  • -C (capital C) - gives a summary at the end
  • -r- - gives relative timestamps between all the system calls

Hopefully you’ll see a large delay between two calls and this might point to a problem area.

If the amount of output is too large you can output to a file with -o some-file-name.

OK, so I don’t have any idea where to go from here. But, these two:

…make me suspicious. Try disabling them and seeing if it helped:

systemctl disable home-demo-mnt-data-backup.automount home-demo-mnt-server-music.automount

If no difference, they can easily be re-enabled:

systemctl enable home-demo-mnt-data-backup.automount home-demo-mnt-server-music.automount

if it did help, there’s something funky with at least one of those automounts…

OK I figured out where it is hanging up.
It is on this line:

0.000022 newfstatat(AT_FDCWD, "/home/demo/mnt/data/backup"

It is an external drive that I had connected for putting backup files on.
I disconnected it when I was done. So I thought.
It keeps trying to connect to it when dolphin starts it looks like.
If I hook up the drive it works fine.

How can I make it stop looking for it?

As @Mirdarthos wrote, disable the automount

systemctl disable home-demo-mnt-data-backup.automount

It was the automounts but they have been working up until now.
Do you not recommend using these?

Automount is the best, but the diagnostic showed there is a problem with that particular one.

Actually after I disabled that one it then hung up the music one.
I disabled both and problem went away.
So do I need to start a new post with this problem?

Your systemd script appears not to have a Wanted By section

I looked again I do have WantedBy=multi-user.target in there

I re enabled the music mount and the system hung up on booting this time.
Something is wonky with the systemd mount service.
Maybe my kernel is affecting this . I have been testing with rc kernel.
I will try my other kernel and see if I have the problem there also.

I will do this tomorrow

Well, multiuser target is boot time, so that part was working :slight_smile:
Maybe try a shorter timer? Or nofail parameter?

Be sure to also check the tutorials

OK I went over my files and they seem correct to me.
I have been struggling with this all morning and can’t get anywhere.
My problem now is the system is taking 2 minutes to boot to the login screen when I activate the .automount file.
I will repost the 2 files and let me know if you see something a miss.
I don’t see any nofail option for systemd mount. It comes up when I search and get fstab examples.

[demo@Manjaro ~]$ cat /etc/systemd/system/home-demo-mnt-server-music.mount
[Unit]
Description=server music mount

[Mount]
What=//192.168.68.15/Music
Where=/home/demo/mnt/server/music
Type=cifs
Options=_netdev,rw,file_mode=0700,dir_mode=0700,uid=1000,gid=1000,iocharset=utf8
TimeoutSec=10

[Install]
WantedBy=multi-user.target
[demo@Manjaro ~]$
[demo@Manjaro ~]$ cat /etc/systemd/system/home-demo-mnt-server-music.automount
[Unit]
Description=server music mount
Requires=home-demo-mnt-server-music.mount

[Automount]
Where=/home/demo/mnt/server/music
TimeoutIdleSec=30

[Install]
WantedBy=multi-user.target

Edit:
I just noticed the automount is disconnecting itself
I have to keep starting it over and over for it to be there.