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. 🖤
Your cmos battery is bad or your grid power was running below normal frequency
I feel like other things would have misbehaved if the power frequency was too low. And I’d expect the RTC to run well while power is on, and fail to accumulate time while power is off, but still remember the time at power off.
None of what I said above explains what we are seeing with our eyes though.
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.
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?
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
I’ve seen things… Near the gate of Tannhäuser, things you little people wouldn’t believe.
And I am not joking…
Tell us more, wise one!
deleted by creator
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