Article View: comp.sys.raspberry-pi
Article #203Re: Reliable sd card (or alternative) for Pi Zero 2W
From: Chris Green
Date: Thu, 03 Dec 2026 10:55
Date: Thu, 03 Dec 2026 10:55
35 lines
2501 bytes
2501 bytes
druck <news@druck.org.uk> wrote: > On 01/12/2026 12:45, The Natural Philosopher wrote: > > On 01/12/2026 11:27, Chris Green wrote: > >> my software comprises one python script. Yes, I know Python > >> takes space but not **that** much and since it's just the one script it > >> will just be sitting static in memory (or swap) and not moving about. > > > > What kills SD is writing to them especially when nearly full. > > > > Its not your scripts, its things like eystemd and other logs that insist > > on splatting superfluous data into log files. > I keep forgetting how bad the out of the box configuration of Raspberry > Pi OS has become. By default journald (part of systemd) will spam > everything to binary files on the card. > > I re-enable rsyslog to keep manageable text logs, and set journald to > only log to memory. > > Edit /etc/systemd/journald.conf so you only have these lines uncommented. > > Storage=volatile > RuntimeMaxUse=32M > RuntimeMaxFileSize=8M > RuntimeMaxFiles=4 > ForwardToConsole=no > ForwardToWall=no > I do this on **all** my systems, not just on Pis, using tools I know (e.g. grep etc.) is much simpler than having to learn journalctl's options. It also reduces the space used because journalctl's defaults are ridiculous except for large servers. -- Chris Green ยท
Technical Details
Message-ID:
<reu7um-fu6j.ln1@q957.zbmc.eu>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<0dh2um-0ht8.ln1@q957.zbmc.eu> <11em637$1gp8a$1@dont-email.me> <7hn2um-66g9.ln1@q957.zbmc.eu> <11emfh9$1k2r7$5@dont-email.me> <11erchc$4s30$1@druck.eternal-september.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Chris Green <cl@isbd.net>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Reliable sd card (or alternative) for Pi Zero 2W
Date: Thu, 3 Dec 2026 10:55:55 +0000
Lines: 35
Message-ID: <reu7um-fu6j.ln1@q957.zbmc.eu>
References: <0dh2um-0ht8.ln1@q957.zbmc.eu> <11em637$1gp8a$1@dont-email.me> <7hn2um-66g9.ln1@q957.zbmc.eu> <11emfh9$1k2r7$5@dont-email.me> <11erchc$4s30$1@druck.eternal-september.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net w80vZkFVUa3BH2AAyGoVswYcFWptyCRFP0IqZvWQeAZKUkHBo=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:TzWNZFIxfH3yT75LcP0tWMW1mjQ= sha256:VFPHN3QYbiPasM6eaQhPVmLh1cT+fDrM/kmfPzNGOfU=
User-Agent: tin/2.6.5-20250409 ("Helmsdale") (Linux/6.12.118+deb13-amd64 (x86_64))