You are not logged in.
Hi there, I have a problem with unmounting some systemd services at shutdown:
Nov 19 12:31:55 laptop systemd[1]: var-log-journal.mount: Mount process exited, code=exited, status=32/n/a
Nov 19 12:31:55 laptop systemd[1]: Failed unmounting /var/log/journal.
Nov 19 12:31:55 laptop systemd[1]: Stopped target Swaps.
Nov 19 12:31:55 laptop systemd[1]: Unmounting /var/log...
Nov 19 12:31:55 laptop umount[21663]: umount: /var/log: target is busy.
Nov 19 12:31:55 laptop systemd[1]: var-log.mount: Mount process exited, code=exited, status=32/n/a
Nov 19 12:31:55 laptop systemd[1]: Failed unmounting /var/log.
I have ZFS on root and /var, /var/log, /var/log/journal on the separate datasets. Let me know how can I solve this issue. Thanks
Last edited by lester29 (2022-11-19 12:05:05)
Offline
You cannot umount /var as long as journald is trying to write there.
See whether you get away w/ https://www.freedesktop.org/software/sy … itrd.mount for the relevant entries in fstab.
Online
For any future folks who end up here, the solution you're most likely looking for is to simply use the ZFS mount generator specified in the wiki here:
https://wiki.archlinux.org/title/ZFS#Us … -generator .
Follow those steps and you should be golden (did the trick for me anyway).
Last edited by schmitmd (2024-05-14 02:10:06)
Offline