On 01/12/2026 09:42, Chris Green wrote:
> My Pi Zero 2W seems to eat SD cards. Well, maybe a slight exaggeration
> but two seem to have failed in the last year or so. It's permanently
> powered up running some very lightweight monitoring via I2C.
>
> It has hardly any customisation, it's bog standard with a couple of
> python scripts. I'd like to keep it that way as far as possible as it
> eases maintenance (I have quite a few Pi systems around the place).
> It writes once an hour to a sqlite3 database.
>
> I have a similar monitoring system running on an old Pi 2B and that has
> just gone on working with the same SD card for several years. That
> actually writes to its sqlite3 database once a minute!
>
> So why does my Zero 2W kill SD cards so quickly and how can one improve
> things? The ways I can think of are:-
>
> * Get a super reliable SD card - but how to find one of those?
One designed for video capture or cameras that is designed to get rewritten a lot.
> * Minimise writing to SD, use RAM disk - lots of customisation
Not that much actually
My Pi zero has been running 24x7 for a couple of years with no issues, It writes almost nothing to the SD card
Just configurations that I want to survive a reboot. Everything else is either switched off or goes to a ram disk.
> * Use a different sort of drive - how easy is this on a Pi Zero?
You can IIRC mount a USB stick on the thing, but really it's too much faff.
Just do not write and pick a reliable SAD card
> * Anything else?
>
>
--
“Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong remedies.”
― Groucho Marx