Jump to content

Syslog missing logs before reboot

Go to solution Solved by Werner,

Recommended Posts

Hello there,


My board had just rebooted with no notice, so I wanted to take a look at /var/log/syslog in order to diagnose the issue, but for some reason, there are no logs between Dec 30 and the moment my board rebooted.

Why are logs missing? What do I need to do in order to keep them the next time my board reboots? Also, am I looking at the right place to diagnose reboots?

Thanks for you help!


PS1: My board is the Helios64 and I'm running Armbian 20.11.4 Buster with OMV 5.
PS2: I know there is an Helios64 Club, though I did not choose to post there as I'm not sure if this issue is specific to that board.

Link to comment
Share on other sites

18 minutes ago, axeleroy said:

I'm not sure if this issue is specific to that board.

It is not :)

The reason is that /var/log is mounted as a ramdisk to significantly increase the lifetime of sd card/flash memory due to avoiding lots of small writes to it. The downside is that tracking down issues can be complicated sometimes...

Link to comment
Share on other sites

That what I thought as I read on the forums that the logs were in ramdisk, but I am confused since syslog had entries from before the reboot, as if there was an exception for this file (though I guess I'm probably wrong).

How can I make the logs persistent, at least temporarily? I also had reboots when trying to backup OMV using openmediavault-backup and dd, I would like to diagnose those too (though I stop using dd in favor of borgbackup).

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines