systemd unit for a drive? Here’s the output for sudo systemctl status > ./file.txt
… it’s after I booted without the drive in fstab but mounted it manually, as I cannot use the machine otherwise.
And this drive is meant to be permanently mounted: It’s still used by system components and applications constantly. I have external drives for the purpose of casual backups, this isn’t the case: Without this drive mounted I may not even be able to normally log in and applications may cause errors.
Thanks for the nofail and noauto suggestion: If nothing else comes up I’ll try with those. noauto is only useful to test however: Like I said this drive does need to be mounted 24/7 for applications to work.
● linux-qz0r
State: running
Jobs: 0 queued
Failed: 0 units
Since: Tue 2021-06-15 23:57:09 EEST; 1h 15min ago
CGroup: /
├─user.slice
│ └─user-1000.slice
│ ├─user@1000.service …
│ │ ├─session.slice
│ │ │ └─pipewire.service
│ │ │ └─4241 /usr/bin/pipewire
│ │ ├─background.slice
│ │ │ ├─plasma-kactivitymanagerd.service
│ │ │ │ └─3367 /usr/lib/kactivitymanagerd
│ │ │ └─plasma-kglobalaccel.service
│ │ │ └─3381 /usr/bin/kglobalaccel5
│ │ ├─app.slice
│ │ │ ├─app-\x2fusr\x2fbin\x2fpamac\x2dtray\x2dplasma-63e6b0e6555949a68eb023d3df44ee48.scope
│ │ │ │ └─3687 /usr/bin/pamac-tray-plasma -session 101a51a7109131000161784333300000016990010_1623785234_596154
│ │ │ ├─app-org.kde.dolphin-605c39e163c349eaadd18a99f291ec37.scope
│ │ │ │ └─3804 /usr/bin/dolphin -session 10114108dfef000161871304400000017360134_1623785234_596236
│ │ │ ├─app-org.kde.konsole-04beab9d003d4cceb242aeb9b5bd3ac8.scope
│ │ │ │ ├─28429 /usr/bin/konsole
│ │ │ │ ├─28460 /bin/bash
│ │ │ │ ├─29033 sudo systemctl status
│ │ │ │ └─29034 systemctl status
│ │ │ ├─xdg-permission-store.service
│ │ │ │ └─4135 /usr/lib/xdg-permission-store
│ │ │ ├─xdg-document-portal.service
│ │ │ │ ├─4126 /usr/lib/xdg-document-portal
│ │ │ │ └─4144 fusermount -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal -- /run/user/1000/doc
│ │ │ ├─app-org.kde.dolphin-fd743b2bbba844938c724ad75ef0e0c3.scope
│ │ │ │ └─28645 /usr/bin/dolphin
│ │ │ ├─appimagelauncherd.service
│ │ │ │ └─3102 /usr/bin/appimagelauncherd
│ │ │ ├─xdg-desktop-portal.service
│ │ │ │ └─4118 /usr/lib/xdg-desktop-portal
│ │ │ ├─app-\x2fusr\x2flib\x2fDiscoverNotifier-e20e7f38883343549069f4b057bc9bec.scope
│ │ │ │ └─3526 /usr/lib/DiscoverNotifier -session 10114108dfef000162375303000000017110005_1623785234_596065
│ │ │ ├─app-kvirc-047d44cee78046469df8676874ca73b1.scope
│ │ │ │ └─3749 /usr/bin/kvirc -session 101a51a7109131000161784778500000017150013_1623785234_596239
│ │ │ ├─dconf.service
│ │ │ │ └─3303 /usr/lib/dconf-service
│ │ │ ├─pulseaudio.service
│ │ │ │ ├─3522 /usr/bin/pulseaudio --daemonize=no --log-target=journal
│ │ │ │ └─4315 /usr/lib/pulse/gsettings-helper
│ │ │ ├─app-org.kde.dolphin-08681b61911447aabba053ef995e0689.scope
│ │ │ │ └─3645 /usr/bin/dolphin -session 10114108dfef000161490240900000019750020_1623785234_596150
│ │ │ ├─gvfs-daemon.service
│ │ │ │ ├─ 3652 /usr/lib/gvfsd
│ │ │ │ ├─ 3661 /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
│ │ │ │ └─21171 /usr/lib/gvfsd-http --spawner :1.34 /org/gtk/gvfs/exec_spaw/0
│ │ │ ├─app-\x2fusr\x2fbin\x2fkorgac-748cd27f4da5496991596b42ec889919.scope
│ │ │ │ ├─3578 /usr/bin/korgac -session 10114108dfef000158980598600000023700003_1623785234_596146
│ │ │ │ ├─3659 /usr/bin/akonadi_control
│ │ │ │ ├─3693 /usr/bin/akonadiserver
│ │ │ │ ├─3718 /usr/sbin/mysqld --defaults-file=/home/mircea/.local/share/akonadi/mysql.conf --datadir=/home/mircea/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid
│ │ │ │ ├─3944 /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_11
│ │ │ │ ├─3953 /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_12
│ │ │ │ ├─3969 /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_9
│ │ │ │ ├─3970 /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
│ │ │ │ ├─3972 /usr/bin/akonadi_birthdays_resource --identifier akonadi_birthdays_resource
│ │ │ │ ├─3973 /usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_10
│ │ │ │ ├─3974 /usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_13
│ │ │ │ ├─3975 /usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_14
│ │ │ │ ├─3976 /usr/bin/akonadi_followupreminder_agent --identifier akonadi_followupreminder_agent
│ │ │ │ ├─3977 /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_10
│ │ │ │ ├─4002 /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_11
│ │ │ │ ├─4003 /usr/bin/akonadi_indexing_agent --identifier akonadi_indexing_agent
│ │ │ │ ├─4004 /usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_0
│ │ │ │ ├─4026 /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
│ │ │ │ ├─4042 /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
│ │ │ │ ├─4046 /usr/bin/akonadi_mailmerge_agent --identifier akonadi_mailmerge_agent
│ │ │ │ ├─4047 /usr/bin/akonadi_migration_agent --identifier akonadi_migration_agent
│ │ │ │ ├─4063 /usr/bin/akonadi_newmailnotifier_agent --identifier akonadi_newmailnotifier_agent
│ │ │ │ ├─4066 /usr/bin/akonadi_sendlater_agent --identifier akonadi_sendlater_agent
│ │ │ │ ├─4070 /usr/bin/akonadi_unifiedmailbox_agent --identifier akonadi_unifiedmailbox_agent
│ │ │ │ └─4075 /usr/bin/akonadi_vcard_resource --identifier akonadi_vcard_resource_0
│ │ │ ├─app-org.kde.dolphin-b6cdcbe098fe48b4a86797c2d54a5bdb.scope
│ │ │ │ └─4700 /usr/bin/dolphin -session 10114108dfef000162359427200000017070092_1623785234_596433
│ │ │ ├─app-org.gajim.Gajim-d08f91212bf24fc0a8782ce03836d90c.scope
│ │ │ │ └─3525 /usr/bin/python /usr/bin/gajim
│ │ │ ├─app-firefox-3aad79e7cb094ee4a6aba7c3dffe02cf.scope
│ │ │ │ ├─ 4366 /usr/lib/firefox/firefox --sm-client-id 10114108dfef000162333792300000017180030
│ │ │ │ ├─ 5079 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 308035 -parentBuildID 20210531160138 -appdir /usr/lib/firefox/browser 4366 true tab
│ │ │ │ ├─ 5358 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 5271 -prefMapSize 308035 -parentBuildID 20210531160138 -appdir /usr/lib/firefox/browser 4366 true tab
│ │ │ │ ├─ 5696 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 6099 -prefMapSize 308035 -parentBuildID 20210531160138 -appdir /usr/lib/firefox/browser 4366 true tab
│ │ │ │ ├─ 8447 /usr/lib/firefox/firefox -contentproc -parentBuildID 20210531160138 -prefsLen 8612 -prefMapSize 308035 -appdir /usr/lib/firefox/browser 4366 true rdd
│ │ │ │ ├─ 8465 /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 8612 -prefMapSize 308035 -parentBuildID 20210531160138 -appdir /usr/lib/firefox/browser 4366 true tab
│ │ │ │ ├─10678 /usr/lib/firefox/firefox -contentproc -childID 14 -isForBrowser -prefsLen 8907 -prefMapSize 308035 -parentBuildID 20210531160138 -appdir /usr/lib/firefox/browser 4366 true tab
│ │ │ │ ├─13706 /usr/lib/firefox/firefox -contentproc -childID 16 -isForBrowser -prefsLen 8907 -prefMapSize 308035 -parentBuildID 20210531160138 -appdir /usr/lib/firefox/browser 4366 true tab
│ │ │ │ ├─21335 /usr/lib/firefox/firefox -contentproc -childID 20 -isForBrowser -prefsLen 8937 -prefMapSize 308035 -parentBuildID 20210531160138 -appdir /usr/lib/firefox/browser 4366 true tab
│ │ │ │ └─28874 /usr/lib/firefox/firefox -contentproc -childID 22 -isForBrowser -prefsLen 8936 -prefMapSize 308035 -parentBuildID 20210531160138 -appdir /usr/lib/firefox/browser 4366 true tab
│ │ │ ├─app-thunderbird-72f81087f1444e35bd515d8ba6303d46.scope
│ │ │ │ └─3882 /usr/lib/thunderbird/thunderbird --sm-client-id 10114108dfef000162333792100000017180029
│ │ │ ├─app-msm_kde_notifier_settings-87d82e9e355f49adb2172a8e91435159.scope
│ │ │ │ └─3721 /usr/bin/msm_kde_notifier -session 101a51a7109131000161784333300000016990011_1623785234_596227
│ │ │ ├─app-org.kde.dolphin-144c5383d4d246fa9b2e31300838ebc4.scope
│ │ │ │ └─4658 /usr/bin/dolphin -session 10114108dfef000162359332400000017070081_1623785234_596429
│ │ │ ├─obex.service
│ │ │ │ └─4361 /usr/lib/bluetooth/obexd
│ │ │ ├─app-org.kde.dolphin-dff573daec4e43aa8c413c1996b34b41.scope
│ │ │ │ └─3861 /usr/bin/dolphin -session 10114108dfef000162039711600000017210046_1623785234_596245
│ │ │ ├─at-spi-dbus-bus.service
│ │ │ │ ├─3812 /usr/lib/at-spi-bus-launcher
│ │ │ │ ├─3820 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
│ │ │ │ └─3825 /usr/lib/at-spi2-registryd --use-gnome-session
│ │ │ ├─gvfs-metadata.service
│ │ │ │ └─12583 /usr/lib/gvfsd-metadata
│ │ │ └─dbus.service
│ │ │ ├─3131 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
│ │ │ ├─3572 /usr/lib/kf5/kscreen_backend_launcher
│ │ │ ├─3702 /usr/bin/ksystemstats
│ │ │ ├─3785 /usr/bin/ksysguardd
│ │ │ └─4166 /usr/lib/xdg-desktop-portal-kde
│ │ └─init.scope
│ │ ├─3016 /usr/lib/systemd/systemd --user
│ │ └─3020 (sd-pam)
│ └─session-4.scope
│ ├─ 3009 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth497141dd-92ea-4de9-8f01-71d01de988cf --id 1 --start /usr/bin/startplasma-x11 --user mircea
│ ├─ 3116 /usr/bin/kwalletd5 --pam-login 7 8
│ ├─ 3117 /usr/bin/startplasma-x11
│ ├─ 3177 /usr/lib/kf5/start_kdeinit
│ ├─ 3179 kdeinit5: Running...
│ ├─ 3207 /usr/lib/kf5/klauncher --fd=9
│ ├─ 3274 /usr/bin/kded5
│ ├─ 3289 /usr/bin/kwin_x11
│ ├─ 3380 /usr/bin/ksmserver
│ ├─ 3426 /usr/bin/plasmashell
│ ├─ 3431 /usr/bin/xembedsniproxy
│ ├─ 3435 /usr/bin/kaccess
│ ├─ 3439 /usr/lib/polkit-kde-authentication-agent-1
│ ├─ 3441 /usr/lib/org_kde_powerdevil
│ ├─ 3507 /usr/lib/kdeconnectd
│ ├─ 3511 /usr/bin/gmenudbusmenuproxy
│ ├─ 4061 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/ksystemstatsDyYBHP.1.slave-socket
│ ├─ 4064 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/ksystemstatsOptwKi.2.slave-socket
│ ├─ 5019 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinwkwUgL.5.slave-socket
│ ├─ 5782 /usr/lib/kf5/kio_http_cache_cleaner
│ ├─ 5851 /opt/discord/Discord
│ ├─ 5880 /opt/discord/Discord --type=zygote --no-zygote-sandbox
│ ├─ 5881 /opt/discord/Discord --type=zygote
│ ├─ 5889 /opt/discord/Discord --type=zygote
│ ├─ 5917 mastodon_vorebot
│ ├─ 5918 mastodon_vorepone
│ ├─ 5944 /usr/bin/telegram-desktop -workdir /home/mircea/.local/share/TelegramDesktop/ -autostart
│ ├─ 5948 /usr/lib/geoclue-2.0/demos/agent
│ ├─ 5962 /usr/bin/python /usr/bin/firewall-applet
│ ├─ 5983 x11vnc -bg -many -display :0 -rfbauth /home/mircea/Documents/passwd -rfbport 6300
│ ├─ 6142 /opt/discord/Discord --type=gpu-process --field-trial-handle=14750423392346471242,10975558144494529423,131072 --enable-features=WebComponentsV0Enabled --disable-features=SpareRendererForSitePerProcess --enable-crash-reporter=3d8b7aa6-dcaa-4d11-bc27-f22a39955c7d,no_channel --global-crash-keys=3d8b7aa6-dcaa-4d11-bc27-f22a39955c7d,no_channel,_companyName=Discord Inc.,_productName=Discord,_version=0.0.15 --gpu-preferences=MAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAQAAAAAAAAAAAAAAAAAAAACAAAAAAAAAA= --shared-files
│ ├─ 6158 /opt/discord/Discord --type=utility --field-trial-handle=14750423392346471242,10975558144494529423,131072 --enable-features=WebComponentsV0Enabled --disable-features=SpareRendererForSitePerProcess --lang=en-US --service-sandbox-type=network --enable-crash-reporter=3d8b7aa6-dcaa-4d11-bc27-f22a39955c7d,no_channel --global-crash-keys=3d8b7aa6-dcaa-4d11-bc27-f22a39955c7d,no_channel,_companyName=Discord Inc.,_productName=Discord,_version=0.0.15 --shared-files=v8_snapshot_data:100
│ ├─ 6440 /opt/discord/Discord --type=renderer --autoplay-policy=no-user-gesture-required --field-trial-handle=14750423392346471242,10975558144494529423,131072 --enable-features=WebComponentsV0Enabled --disable-features=SpareRendererForSitePerProcess --lang=en-US --enable-crash-reporter=3d8b7aa6-dcaa-4d11-bc27-f22a39955c7d,no_channel --global-crash-keys=3d8b7aa6-dcaa-4d11-bc27-f22a39955c7d,no_channel,_companyName=Discord Inc.,_productName=Discord,_version=0.0.15 --app-path=/opt/discord/resources/app.asar --no-sandbox --no-zygote --native-window-open --preload=/home/mircea/.config/discord/0.0.15/modules/discord_desktop_core/core.asar/app/mainScreenPreload.js --context-isolation --background-color=#202225 --enable-spellcheck --enable-websql --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=7 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 --enable-node-leakage-in-renderers
│ ├─ 6643 /opt/discord/Discord --type=utility --field-trial-handle=14750423392346471242,10975558144494529423,131072 --enable-features=WebComponentsV0Enabled --disable-features=SpareRendererForSitePerProcess --lang=en-US --service-sandbox-type=audio --enable-crash-reporter=3d8b7aa6-dcaa-4d11-bc27-f22a39955c7d,no_channel --global-crash-keys=3d8b7aa6-dcaa-4d11-bc27-f22a39955c7d,no_channel,_companyName=Discord Inc.,_productName=Discord,_version=0.0.15 --shared-files=v8_snapshot_data:100
│ ├─ 8100 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/kded5dUlVbm.1.slave-socket
│ ├─ 8101 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/kded5fNsmLR.2.slave-socket
│ ├─ 9418 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/ksystemstatsebRFrV.4.slave-socket
│ ├─28634 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinhvNzTz.25.slave-socket
│ ├─28635 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinenGGcW.26.slave-socket
│ ├─28636 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphingPGWeJ.27.slave-socket
│ ├─28637 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinmuZRnk.28.slave-socket
│ ├─28638 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinspNqKV.29.slave-socket
│ ├─28678 tags.so [kdeinit5] tags local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinbCFyfC.1.slave-socket
│ ├─28679 trash.so [kdeinit5] trash local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinnFgDNf.2.slave-socket
│ ├─28680 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinMLuKWD.3.slave-socket
│ ├─28683 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinqpIUwT.4.slave-socket
│ ├─28684 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinBKrqhl.5.slave-socket
│ ├─28685 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinnjZOGX.6.slave-socket
│ ├─28686 file.so [kdeinit5] file local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinpiSGLr.7.slave-socket
│ └─28687 thumbnail.so [kdeinit5] thumbnail local:/run/user/1000/klauncherWwIYiP.1.slave-socket local:/run/user/1000/dolphinYbaWsn.9.slave-socket
├─init.scope
│ └─1 /sbin/init
└─system.slice
├─systemd-udevd.service
│ └─372 /usr/lib/systemd/systemd-udevd
├─cronie.service
│ └─575 /usr/bin/crond -n
├─polkit.service
│ └─578 /usr/lib/polkit-1/polkitd --no-debug
├─rtkit-daemon.service
│ └─3529 /usr/lib/rtkit-daemon
├─bluetooth.service
│ └─1290 /usr/lib/bluetooth/bluetoothd
├─ModemManager.service
│ └─605 /usr/bin/ModemManager
├─systemd-journald.service
│ └─344 /usr/lib/systemd/systemd-journald
├─sshd.service
│ └─709 sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups
├─colord.service
│ └─717 /usr/lib/colord
├─NetworkManager.service
│ └─704 /usr/bin/NetworkManager --no-daemon
├─firewalld.service
│ └─606 /usr/bin/python /usr/bin/firewalld --nofork --nopid
├─cups.service
│ └─708 /usr/bin/cupsd -l
├─upower.service
│ └─1280 /usr/lib/upowerd
├─sddm.service
│ ├─712 /usr/bin/sddm
│ └─917 /usr/lib/Xorg -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{52470b58-e00a-45d5-8765-9573ac77ce34} -noreset -displayfd 17
├─udisks2.service
│ └─1257 /usr/lib/udisks2/udisksd
├─dbus.service
│ └─576 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
├─systemd-timesyncd.service
│ └─570 /usr/lib/systemd/systemd-timesyncd
├─system-getty.slice
│ └─getty@tty2.service
│ └─1621 /sbin/agetty -o -p -- \u --noclear tty2 linux
├─avahi-daemon.service
│ ├─574 avahi-daemon: running [linux-qz0r.local]
│ └─582 avahi-daemon: chroot helper
└─systemd-logind.service
└─580 /usr/lib/systemd/systemd-logind