Rule corruption after sudden power outage
-
Context :
- MSR version 22203 on Raspberry Pi4.
- A new power outage due to a violent storm.
when the electricity returns, I notice that some Rules do not work correctly.
In fact all those that use "Run Reaction".
It is missing in Set Reaction the entire part after the first Run Reaction and cannot be recreated.
I was able to remount a backup to be able to find all my functionalities.
FYI, I had the same problem 2 weeks ago.
-
RPis use ext filesystems (common to Linux) and are not immune from file corruption during unexpected shutdowns. They should be UPS-backed like any other system if you want to defend from this.
If you are using a Micro-SD card, I would also get away from that immediately. These are suspected to be more vulnerable to corruption during power failures due to their internal write algorithms and performance. Go to an SSD. This change alone may significantly improve resilience against sudden power failures (it's not a complete solution, but a big step forward).
-
Thank you for your reply
My system is a Raspberry Pi4 4GB with a 120GB SSD from stock.
Which is weird, I had the same problem twice following power outages.
I'm going to power it through my inverter to prevent this from happening again. -
What filesystem is your root? If you're not sure how to answer, post the output from
sudo blkid
-
Thank you for your reply
My system is a Raspberry Pi4 4GB with a 120GB SSD from stock.
Which is weird, I had the same problem twice following power outages.
I'm going to power it through my inverter to prevent this from happening again.@christian_fabre said in Rule corruption after sudden power outage:
Thank you for your reply
My system is a Raspberry Pi4 4GB with a 120GB SSD from stock.
Which is weird, I had the same problem twice following power outages.
I'm going to power it through my inverter to prevent this from happening again.Just to be clear: exactly the same issue? Same rules?
C
-
T toggledbits locked this topic on