0

Considerations for a long-running Raspberry Pi

 7 months ago
source link: https://www.dzombak.com/blog/2023/12/Considerations-for-a-long-running-Raspberry-Pi.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Considerations for a long-running Raspberry Pi

December 29, 2023 • Tagged: series:pi-reliability 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.

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.

Pi Reliability Series Updates

Inevitably I’ll come back to the posts linked above with corrections and additions. For the foreseeable future, when this happens, I will:

  • Edit the post
  • Add a callout in the post noting the date the change was made
  • Write a brief post in the Pi Reliability blog series announcing the change, with a link to the edited post

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK