1

I am getting following message in dmesg:

"systemd-journald[414]: /dev/kmsg buffer overrun, some messages lost."

How to increase dmesg log buffer size to view all debug messages? Any help will be appreciated.

1

The easiest way to do this would probably be to append:

log_buf_len=<size>

To your grub line.

in other words, edit /etc/default/grub so that the line:

GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=cl/root rd.lvm.lv=cl/swap"

Becomes:

GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=cl/root rd.lvm.lv=cl/swap log_buf_len=5M"

Change 5M to whatever size you require

Then run:

grub2-mkconfig --output=/boot/grub2/grub.cfg

To regenerate grub.

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.