The best way to keep your cool running a Raspberry Pi 4

From home temperature monitoring to a Kubernetes cluster hosting a live Drupal website , I have a lot of experience running Raspberry Pis. I've used every model through the years, and am currently using a mix of A+, 2 model B, and 4 model B Pis.

Stack of Raspberry Pi model B and B+ 2 3 4

The 3 model B+ was the first generation that had me concerned more about cooling (the CPU gets hot !), and the Pi 4's slightly increased performance made that problem even more apparent, as most of my heavier projects


Upgrade the Raspberry Pi 4's firmware / bootloader for better thermals

In October, the Raspberry Pi Foundation released an updated bootloader/firmware for the Raspberry Pi 4 which dramatically reduces power consumption and overall temperatures on the Pi 4 by setting the USB controller and CPU into a more power-friendly mode.

I wanted to post here the instructions for checking the current version, and upgrading, because I have a large number of Pis to upgrade over time, and I needed a quick reference. For more details, check out the Raspberry Pi Documentation page Raspberry Pi 4 boot EEPROM .

Checking if


The Raspberry Pi 4 might not need a fan anymore

tl;dr : After the fall 2019 firmware/bootloader update, the Raspberry Pi 4 can run without throttling inside a case—but only just barely. On the other extreme, the ICE Tower by 52Pi lives up to its name.

Raspberry Pi 4 cooling options including ICE tower cooling fan and a case mod fan

Three options for keeping the Pi 4 cozy: unmodified Pi 4 case, modded case with fan, and the ICE Tower.

A few months ago, I was excited to work on upgrading some of my Raspberry Pi projects to the Raspberry Pi 4


If you're having trouble formatting a new SSD in a Mac, it could be the cable

tl;dr : If you see weird errors when using or formatting a drive internally on a Mac (especially after upgrading to a newer and/or faster SATA hard drive), it could mean the SATA cable needs to be replaced.

Mac mini mid-2011 lower SATA hard drive cable with connector

Who would've thought such a tiny cable could cause so many problems?

I have an older Mac mini (mid-2011 i5 model), and I use it as a general media server and network backup. It handles Time Machine backups for two other


Sponsor my Open Source development work on GitHub

tl;dr : You can now sponsor my open source development work via GitHub Sponsors.

GitHub sponsors geerlingguy

GitHub Sponsors is the latest foray into building a more sustainable future for open source software development. There have been many attempts before, a few of which I tried (Gratipay, Patreon, etc.), but most of them never reached a critical mass, and at most you'd end up getting maybe $20-50/month out of the platform. Another prolific open source contributor I've long followed


Limiting disk iops on a larger Munin server using rrdcached

I've long used Munin for basic resource monitoring on a huge variety of servers. It's simple, reliable, easy to configure, and besides the fact that it uses Perl for plugins, there's not much against it!

Last week, I got a notice from my 'low end box' VPS provider that my Munin server—which is aggregating data from about 50 other servers—had high IOPS and would be shut down if I didn't get it back into

Munin disk iops before RRDCacheD

Rescue photos and other files from an SD or microSD card with PhotoRec

Edit: There's an even easier way to install PhotoRec now, assuming you have installed Homebrew , and you're comfortable in the command line:

brew install testdisksudo photorec

Then follow the prompts to start recovering files.

As a photographer who's taken and processed at least 200,000 photos in the past couple decades, you'd think I have a solid workflow that results in zero lost files... but you'd be wrong. 99% of the time

PhotoRec Processing Images

Molecule fails on converge and says test instance was already 'created' and 'prepared'

I hit this problem every once in a while; basically, I run molecule test or molecule converge (in this case it was for a Kubernetes Operator I was building with Ansible), and it says the instance is already created/prepared—even though it is not—and then Molecule fails on the 'Gathering Facts' portion of the converge step:

--> Scenario: 'test-local'--> Action: 'dependency'Skipping, missing the requirements file.--

Ostomy Awareness Day 2019 - #MyOstomyMyLifesaver

Osotmies are Life-Savers UOAA Ostomy Awareness Day 2019

I have Crohn's disease. More specifically, severe Crohn's disease.

Crohn's disease is one of a class of autoimmune diseases. The common theme for these diseases (including RA, Lupus, Colitis, MS, Psoriasis, etc.) is your body's immune system decides it's more fun attacking your own body than it is to attack outside infections.

Currently, there are no cures for Crohns or Colitis (a very closely related Inflammatory Bowel Disease). There is no diet,


How to evaluate community Ansible roles for your playbooks

The following is a transcript of the content in my AnsibleFest Atlanta 2019 session, There's a role for that! How to evaluate community roles for your playbooks .

Introduction

I'm Jeff Geerling, I wrote a book on Ansible ( Ansible for DevOps ), I have used Ansible on an almost daily basis for hundreds of different projects since 2013, and I now work with Red Hat's Ansible team as a technical contractor.

Some people wonder ask how teams

IKEA Effect by Gabriel Krieshok