Re: XFS journal corruption after every reboot/shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 13, 2018 at 1:17 AM, Heinz Diehl <htd+ml@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux