I just woke up to all my lights on and my server off. It was a power cut, but… Checking the logs for Proxmox, it seems to have lost memory… There were no logs for 10 days and when rebooting it said the system clock was off by as much (931,920 seconds = 10.7 days). What do? Anyone seen this before?
Thanks all, gonna replace the CMOS battery as suggested. Got a few in storage. 🖤
It is just a dead CMOS battery. So the clock had the wrong time, which in turn also causes the log entries to have the wrong time and date. Simply replace the battery. It is most likely of the CR2032 type.
Your cmos battery is bad or your grid power was running below normal frequency
I don’t think that the grid frequency is used for PC timekeeping. You have internal timekeeping circuits. AC power stops at the PSU, and I don’t think that there’s any cable over which a time protocol flows from the PSU to the motherboard.
What kind of storage is it running on? Maybe the filesystem went read-only as another possibility to cmos battery issues.
Usually a cmos battery alone wouldn’t cause something like logging to stop.
It went read-only because the root drive ran out of space. I’ve expanded its storage now. Big whoopsie on my end
Prepare yourself. The dark descent is coming
In line with the possibility of your system’s clock actually being wrong, can you correlate some other events in your logs to when you know they occurred? What about inside your VMs and CTs?
Switch to ZFS
Ext4 is way to vulnerable to power loss. It just keep a journal but it isn’t nearly as robust as ZFS
By any chance… Your proxmox is not close to any source of big electromagnetic fields, right?
Close to big Transformator or electric motors, right?
Not at all but my god that sounds like that would be recipe for disaster