Thread (6 messages) 6 messages, 4 authors, 2018-01-14

Re: XFS journal corruption after every reboot/shutdown

From: Chris Murphy <hidden>
Date: 2018-01-13 22:31:49

On Sat, Jan 13, 2018 at 1:17 AM, Heinz Diehl [off-list ref] wrote:
I remember a time not too long ago where the root fs was clean after a
reboot/shutdown (maybe around F25?). So something must have changed
in the way systemd performs a reboot/shutdown..
I forget when, but plymouth started exempting itself from being force
quit by systemd on shutdown. In my case it was preventing remount ro.
I'm not even certain systemd tries to do umount on rootfs if an
initramfs is being used, I'm pretty sure it only does remount ro. And
in the successful remount ro case, I never see the log replay on XFS
at next boot.

You could try to mask the use of plymouth in systemd (or uninstall
it). If the problem goes away, that's the culprit. If it doesn't you
can probably track down what's holding up the remount ro with
https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1
And following the "eventually shuts down" section.


-- 
Chris Murphy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help