I found that CentOS/Redhat will not store systemd-journal log to disk, Ubuntu will.

For CentOS/Redhat, each time I reboot, the journal log were removed ( it seems write to tmpfs only )

Why CentOS/Redhat don't want to keep journal log?

1 Answer 1


Possible duplicate, see: How do I display log messages from previous boots under CentOS 7?


By default, the journal stores log data in /run/log/journal/. Since /run/ is volatile, log data is lost at reboot. To make the data persistent, it is sufficient to create /var/log/journal/ where systemd-journald will then store the data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.