Chris Dzombak

sharing preview • dzombak.com

Considerations for a long-running Raspberry Pi

Keeping a Raspberry Pi online and working with zero intervention for weeks, months, or years is somewhat of an art form. Several classes of things can go wrong, and you need to consider how your Pi will recover from each of them.

Considerations for a long-running Raspberry Pi

Part of the Raspberry Pi Reliability series.

I use Raspberry Pis around my home as everything from low-power FM transmitters to UPS energy monitors.

Keeping a Raspberry Pi online and working with zero intervention for weeks, months, or years is somewhat of an art form. Several classes of things can go wrong, and you need to consider how your Pi will recover from each of them — and weigh the risks of each solution against its benefits.

This new set of posts in my Raspberry Pi Reliability series covers each class of issues I’ve run into, and what I’ve done to solve them. As a bonus, these posts also include some tips on monitoring, mainly using Uptime Kuma.

This aims to be a more comprehensive guide than my previous post on reducing SD card wear, and the posts linked here should be considered an updated replacement for that post.

To keep up updates on this topic without subscribing to my blog's full feed, you may subscribe to the Atom feed for my Raspberry Pi Reliability series.

Without further ado:

What can go wrong, and how do I prevent it?

Also, do these:

Caution: Advice to avoid

This Stack Exchange post suggests disabling journaling for the Pi’s filesystem. Don’t do this. While this change might reduce SD card wear, it makes your Pi more likely to face filesystem corruption in the event of a crash or power outage. My goal is to make my Pis more reliable, and disabling journaling works against that goal.