Article View: comp.sys.raspberry-pi
Article #197Re: Reliable sd card (or alternative) for Pi Zero 2W
From: druck
Date: Thu, 03 Dec 2026 09:24
Date: Thu, 03 Dec 2026 09:24
28 lines
2479 bytes
2479 bytes
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 ---druck
Technical Details
Message-ID:
<11erchc$4s30$1@druck.eternal-september.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!druck.eternal-september.org!.POSTED!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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!druck.eternal-september.org!.POSTED!not-for-mail From: druck <news@druck.org.uk> Newsgroups: comp.sys.raspberry-pi Subject: Re: Reliable sd card (or alternative) for Pi Zero 2W Date: Thu, 3 Dec 2026 09:24:59 +0000 Organization: A noiseless patient Spider Lines: 28 Message-ID: <11erchc$4s30$1@druck.eternal-september.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 03 Dec 2026 09:25:01 +0000 (UTC) Injection-Info: druck.eternal-september.org; logging-data="159840"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VVgbprNJR7eaqGt2VdZeW"; posting-host="97cd3c09e24a029d577cb07c3ee53755" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:eOFLp4F7HC/Qvd6kxRFAT26s+H4= sha256:U5iEa9nwyqF5KAyxdL4W/+CzlYIukC7CsQJO1UvGC4A= sha1:eeHXu8UvJlNzZ5pBFBYVx0bnsx4= sha256:dzg0i+YuN8TyGO3a+vNGz+Bf1NGK+UWmbJSayy+85lY= In-Reply-To: <11emfh9$1k2r7$5@dont-email.me> Content-Language: en-GB