🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.raspberry-pi
Article #180

Re: Reliable sd card (or alternative) for Pi Zero 2W

#180
From: Alexander Schreiber
Date: Tue, 01 Dec 2026 21:29
45 lines
2752 bytes
Chris Green <cl@isbd.net> 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?

Look for "industrial grade SD cards" - those tend not to be cheap, but
in my experience they do deliver a much better service life than the
Dollar Store Specials.

>   * Minimise writing to SD, use RAM disk - lots of customisation

First steps:
 - mount on-disk filesystems with noatime if that is not already the
   case, that will kill implicit writes triggered by reads
 - turn off local syslog and let it write over the network to a
   loghost
 - see what else keeps writing logs and dial that back as far
   as reasonable

>   * Use a different sort of drive - how easy is this on a Pi Zero?

AFAIK it wants to boot from the SD card. But what you can do:
 - only put the OS itself on the SD card
 - any data that gets written goes onto a USB disk (that should be
   doable)

Kind regards,
           Alex.
-- 
"Opportunity is missed by most people because it is dressed in overalls and
 looks like work."                                      -- Thomas A. Edison
Technical Details
Message-ID: <slrn11guf1d.2rnal.als@mordor.angband.thangorodrim.de>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <0dh2um-0ht8.ln1@q957.zbmc.eu>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Alexander Schreiber <als@usenet.thangorodrim.de>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Reliable sd card (or alternative) for Pi Zero 2W
Date: Tue, 1 Dec 2026 22:29:17 +0100
Organization: Not much.
Lines: 45
Message-ID: <slrn11guf1d.2rnal.als@mordor.angband.thangorodrim.de>
References: <0dh2um-0ht8.ln1@q957.zbmc.eu>
Reply-To: als@usenet.thangorodrim.de
X-Trace: individual.net uoQ0H56UAuJ2kdRUZ0nzJAPxRUdtqjJmdUt33IKDNIkdoePQr7
X-Orig-Path: frodo.angband.thangorodrim.de!not-for-mail
Cancel-Lock: sha1:J+TRBIhS3jem94k/fR2DRjCxz6c= sha256:xkZv5A41wvk+7qNKtbGgUBEpdKCVndaclc4WkXrTpOU=
User-Agent: slrn/1.0.3 (Linux)