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