Thread View: comp.sys.raspberry-pi
25 messages
25 total messages
Started by Chris Green
Tue, 01 Dec 2026 09:42
Reliable sd card (or alternative) for Pi Zero 2W
Author: Chris Green
Date: Tue, 01 Dec 2026 09:42
Date: Tue, 01 Dec 2026 09:42
25 lines
1826 bytes
1826 bytes
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? * Minimise writing to SD, use RAM disk - lots of customisation * Use a different sort of drive - how easy is this on a Pi Zero? * Anything else? -- Chris Green ·
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: David Taylor
Date: Tue, 01 Dec 2026 10:04
Date: Tue, 01 Dec 2026 10:04
21 lines
2065 bytes
2065 bytes
On 01/12/2026 09:42, Chris Green wrote: > 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? > * Minimise writing to SD, use RAM disk - lots of customisation > * Use a different sort of drive - how easy is this on a Pi Zero? > * Anything else? It hasn't been my experience with the Zero 2W, but you can find more reliable cards on e.g. Amazon with a search string like "long life micro sd cards". Do look for software which uses RAM as much as possible. Perhaps your software uses so much RAM that it pages all the time on the Zero (0.5 GB RAM) and not on the 2B (1 GB RAM)? Cheers, David -- David Web: https://www.satsignal.eu
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Chris Green
Date: Tue, 01 Dec 2026 11:27
Date: Tue, 01 Dec 2026 11:27
33 lines
2290 bytes
2290 bytes
David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: > On 01/12/2026 09:42, Chris Green wrote: > > 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? > > * Minimise writing to SD, use RAM disk - lots of customisation > > * Use a different sort of drive - how easy is this on a Pi Zero? > > * Anything else? > > It hasn't been my experience with the Zero 2W, but you can find more reliable > cards on e.g. Amazon with a search string like "long life micro sd cards". > But do you believe an Amazon ad with "long life micro sd card" in it? They advertise 128Tb memory sticks there too! :-) That's the trouble, a real SSD on a USB stick would do what I need but how do I actually find an "SSD USB drive" that is **really** an SSD not just a bog-standard flash drive? > Do look for software which uses RAM as much as possible. Perhaps your software > uses so much RAM that it pages all the time on the Zero (0.5 GB RAM) and not on > the 2B (1 GB RAM)? > I doubt it, 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. -- Chris Green ·
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Theo
Date: Tue, 01 Dec 2026 11:52
Date: Tue, 01 Dec 2026 11:52
35 lines
2495 bytes
2495 bytes
Chris Green <cl@isbd.net> wrote: > David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: > > On 01/12/2026 09:42, Chris Green wrote: > > > 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? > > > * Minimise writing to SD, use RAM disk - lots of customisation > > > * Use a different sort of drive - how easy is this on a Pi Zero? > > > * Anything else? > > > > It hasn't been my experience with the Zero 2W, but you can find more reliable > > cards on e.g. Amazon with a search string like "long life micro sd cards". > > > But do you believe an Amazon ad with "long life micro sd card" in it? > They advertise 128Tb memory sticks there too! :-) Look for 'high endurance' (designed for CCTV cameras which do lots of writes) and even better 'industrial' cards (designed for factories etc) from major brands - Samsung, Sandisk, etc. Only buy 'Sold and shipped by Amazon' to avoid all the shady 'marketplace' sellers. Or buy from another major retailer that has their own stock. > That's the trouble, a real SSD on a USB stick would do what I need but > how do I actually find an "SSD USB drive" that is **really** an SSD not > just a bog-standard flash drive? Sandisk Extreme sticks are a proper SATA SSD behind a SATA-USB converter. Or just buy a SATA or M.2 SSD and put it into a USB case. Although the annoyance with the Zero2W is that takes your only USB port. Theo
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: The Natural Philosopher
Date: Tue, 01 Dec 2026 12:21
Date: Tue, 01 Dec 2026 12:21
47 lines
2952 bytes
2952 bytes
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
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Chris Green
Date: Tue, 01 Dec 2026 12:30
Date: Tue, 01 Dec 2026 12:30
48 lines
3057 bytes
3057 bytes
Theo <theom+news@chiark.greenend.org.uk> wrote: > Chris Green <cl@isbd.net> wrote: > > David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: > > > On 01/12/2026 09:42, Chris Green wrote: > > > > 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? > > > > * Minimise writing to SD, use RAM disk - lots of customisation > > > > * Use a different sort of drive - how easy is this on a Pi Zero? > > > > * Anything else? > > > > > > It hasn't been my experience with the Zero 2W, but you can find more reliable > > > cards on e.g. Amazon with a search string like "long life micro sd cards". > > > > > But do you believe an Amazon ad with "long life micro sd card" in it? > > They advertise 128Tb memory sticks there too! :-) > > Look for 'high endurance' (designed for CCTV cameras which do lots of > writes) and even better 'industrial' cards (designed for factories etc) from > major brands - Samsung, Sandisk, etc. > > Only buy 'Sold and shipped by Amazon' to avoid all the shady 'marketplace' > sellers. Or buy from another major retailer that has their own stock. > > > That's the trouble, a real SSD on a USB stick would do what I need but > > how do I actually find an "SSD USB drive" that is **really** an SSD not > > just a bog-standard flash drive? > > Sandisk Extreme sticks are a proper SATA SSD behind a SATA-USB converter. > > Or just buy a SATA or M.2 SSD and put it into a USB case. > > Although the annoyance with the Zero2W is that takes your only USB port. > Thanks for the ideas. If Sandisk Extreme are really SSDs then maybe I'll try one of them. Trouble is that I have no need at all for 'large', the system would fit on a 4Gb stick (though of course more space does make it more robust) and speed doesn't matter either. I guess a Sandisk Extreme 128Gb is only £22, though that's still more than the Pi cost! :-) -- Chris Green ·
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Chris Green
Date: Tue, 01 Dec 2026 12:38
Date: Tue, 01 Dec 2026 12:38
23 lines
1713 bytes
1713 bytes
Chris Green <cl@isbd.net> wrote: > David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: > [snip] > > Do look for software which uses RAM as much as possible. Perhaps your software > > uses so much RAM that it pages all the time on the Zero (0.5 GB RAM) and not on > > the 2B (1 GB RAM)? > > > I doubt it, 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. > I just looked, top reports:- MiB Mem : 415.0 total, 96.9 free, 195.7 used, 180.7 buff/cache MiB Swap: 415.0 total, 413.5 free, 1.5 used. 219.3 avail Mem So I doubt it's banging away at swap. -- Chris Green ·
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: The Natural Philosopher
Date: Tue, 01 Dec 2026 12:45
Date: Tue, 01 Dec 2026 12:45
47 lines
3205 bytes
3205 bytes
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. 1. If you are swapping, turn off swap. If there isn't enough memory rewrite your code in something efficient like 'C' or buy a bigger Pi 2. make sure no atimes are added to partitions. mount noatime in /etc/fstab 3. Stop all logging possible, and what cannot be stopped feed to a ram disk you create. Mine is /var/ramlog. There will be an irreducible residue in /var/log, but that's life There are utilities that can be installed to monitor and track disk activity. Your target should be zero writes at all, ever *unless* you want to preserve some moveable data between boots Hopefully that suppresses uneccesary wear levelling as well. Treat the SD care as a ROM that can occasionally be tweaked here is a systemd config edit ## fuck with shitsemd sed -i "s/#Storage=auto/Storage=volatile/" /etc/systemd/journald.conf sed -i "s/#RuntimeMaxUse=/RuntimeMaxUse=25M/" /etc/systemd/journald.conf sed -i "s/#ForwardToConsole=yes/ForwardToConsole=no/" /etc/systemd/journald.conf sed -i "s/#ForwardToWall=yes/ForwardToWall=no/" //etc/systemd/journald.conf Remember a Pi Zero is not a full blown linux computer and there is much that can safely be uninstalled or turned off. Use ps to see what is running and investigate why it is use find to find any files that are being modified Write it all down so you have s script to run for a fresh install -- "Nature does not give up the winter because people dislike the cold." ― Confucius
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: The Natural Philosopher
Date: Tue, 01 Dec 2026 12:53
Date: Tue, 01 Dec 2026 12:53
60 lines
3788 bytes
3788 bytes
On 01/12/2026 12:30, Chris Green wrote: > Theo <theom+news@chiark.greenend.org.uk> wrote: >> Chris Green <cl@isbd.net> wrote: >>> David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: >>>> On 01/12/2026 09:42, Chris Green wrote: >>>>> 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? >>>>> * Minimise writing to SD, use RAM disk - lots of customisation >>>>> * Use a different sort of drive - how easy is this on a Pi Zero? >>>>> * Anything else? >>>> >>>> It hasn't been my experience with the Zero 2W, but you can find more reliable >>>> cards on e.g. Amazon with a search string like "long life micro sd cards". >>>> >>> But do you believe an Amazon ad with "long life micro sd card" in it? >>> They advertise 128Tb memory sticks there too! :-) >> >> Look for 'high endurance' (designed for CCTV cameras which do lots of >> writes) and even better 'industrial' cards (designed for factories etc) from >> major brands - Samsung, Sandisk, etc. >> >> Only buy 'Sold and shipped by Amazon' to avoid all the shady 'marketplace' >> sellers. Or buy from another major retailer that has their own stock. >> >>> That's the trouble, a real SSD on a USB stick would do what I need but >>> how do I actually find an "SSD USB drive" that is **really** an SSD not >>> just a bog-standard flash drive? >> >> Sandisk Extreme sticks are a proper SATA SSD behind a SATA-USB converter. >> >> Or just buy a SATA or M.2 SSD and put it into a USB case. >> >> Although the annoyance with the Zero2W is that takes your only USB port. >> > Thanks for the ideas. If Sandisk Extreme are really SSDs then maybe I'll > try one of them. > > Trouble is that I have no need at all for 'large', the system would fit > on a 4Gb stick (though of course more space does make it more robust) and > speed doesn't matter either. > > I guess a Sandisk Extreme 128Gb is only ÂŁ22, though that's still more > than the Pi cost! :-) > As I said, no need for that I am running my always up pi-Z on I think a 16GB card which was the smallest I could get Its hard to find small ones any more and prices are in silly territory. I cant get a Pi-Z under $20 or thereabouts anywhere -- Any fool can believe in principles - and most of them do!
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Chris Green
Date: Tue, 01 Dec 2026 12:58
Date: Tue, 01 Dec 2026 12:58
44 lines
2900 bytes
2900 bytes
Theo <theom+news@chiark.greenend.org.uk> wrote: > Chris Green <cl@isbd.net> wrote: > > David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: > > > On 01/12/2026 09:42, Chris Green wrote: > > > > 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? > > > > * Minimise writing to SD, use RAM disk - lots of customisation > > > > * Use a different sort of drive - how easy is this on a Pi Zero? > > > > * Anything else? > > > > > > It hasn't been my experience with the Zero 2W, but you can find more reliable > > > cards on e.g. Amazon with a search string like "long life micro sd cards". > > > > > But do you believe an Amazon ad with "long life micro sd card" in it? > > They advertise 128Tb memory sticks there too! :-) > > Look for 'high endurance' (designed for CCTV cameras which do lots of > writes) and even better 'industrial' cards (designed for factories etc) from > major brands - Samsung, Sandisk, etc. > > Only buy 'Sold and shipped by Amazon' to avoid all the shady 'marketplace' > sellers. Or buy from another major retailer that has their own stock. > > > That's the trouble, a real SSD on a USB stick would do what I need but > > how do I actually find an "SSD USB drive" that is **really** an SSD not > > just a bog-standard flash drive? > > Sandisk Extreme sticks are a proper SATA SSD behind a SATA-USB converter. > > Or just buy a SATA or M.2 SSD and put it into a USB case. > > Although the annoyance with the Zero2W is that takes your only USB port. > Ah, oh dear. The SD card that is failing now is a Sandisk HIGH Endurance microSD Card, I bought it in August this year to replace the previous SD card that had failed. So I'm not so sure about Sandisk now. -- Chris Green ·
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: The Natural Philosopher
Date: Tue, 01 Dec 2026 13:09
Date: Tue, 01 Dec 2026 13:09
34 lines
2598 bytes
2598 bytes
On 01/12/2026 12:38, Chris Green wrote: > Chris Green <cl@isbd.net> wrote: >> David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: >> > [snip] >>> Do look for software which uses RAM as much as possible. Perhaps your software >>> uses so much RAM that it pages all the time on the Zero (0.5 GB RAM) and not on >>> the 2B (1 GB RAM)? >>> >> I doubt it, 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. >> > I just looked, top reports:- > > MiB Mem : 415.0 total, 96.9 free, 195.7 used, 180.7 buff/cache > MiB Swap: 415.0 total, 413.5 free, 1.5 used. 219.3 avail Mem > > So I doubt it's banging away at swap. > > Any swap is bad news. Turn it off or map it to a ramdisk. You clearly do not need it -- “People believe certain stories because everyone important tells them, and people tell those stories because everyone important believes them. Indeed, when a conventional wisdom is at its fullest strength, one’s agreement with that conventional wisdom becomes almost a litmus test of one’s suitability to be taken seriously.” Paul Krugman
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: The Natural Philosopher
Date: Tue, 01 Dec 2026 13:11
Date: Tue, 01 Dec 2026 13:11
58 lines
3838 bytes
3838 bytes
On 01/12/2026 12:58, Chris Green wrote: > Theo <theom+news@chiark.greenend.org.uk> wrote: >> Chris Green <cl@isbd.net> wrote: >>> David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: >>>> On 01/12/2026 09:42, Chris Green wrote: >>>>> 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? >>>>> * Minimise writing to SD, use RAM disk - lots of customisation >>>>> * Use a different sort of drive - how easy is this on a Pi Zero? >>>>> * Anything else? >>>> >>>> It hasn't been my experience with the Zero 2W, but you can find more reliable >>>> cards on e.g. Amazon with a search string like "long life micro sd cards". >>>> >>> But do you believe an Amazon ad with "long life micro sd card" in it? >>> They advertise 128Tb memory sticks there too! :-) >> >> Look for 'high endurance' (designed for CCTV cameras which do lots of >> writes) and even better 'industrial' cards (designed for factories etc) from >> major brands - Samsung, Sandisk, etc. >> >> Only buy 'Sold and shipped by Amazon' to avoid all the shady 'marketplace' >> sellers. Or buy from another major retailer that has their own stock. >> >>> That's the trouble, a real SSD on a USB stick would do what I need but >>> how do I actually find an "SSD USB drive" that is **really** an SSD not >>> just a bog-standard flash drive? >> >> Sandisk Extreme sticks are a proper SATA SSD behind a SATA-USB converter. >> >> Or just buy a SATA or M.2 SSD and put it into a USB case. >> >> Although the annoyance with the Zero2W is that takes your only USB port. >> > Ah, oh dear. The SD card that is failing now is a Sandisk HIGH Endurance > microSD Card, I bought it in August this year to replace the previous SD > card that had failed. > > So I'm not so sure about Sandisk now. > Then that route will not work for you, You have to investigate *why* its failing. Either its just a bad card or you are writing to it all the time Stop doing that, -- “People believe certain stories because everyone important tells them, and people tell those stories because everyone important believes them. Indeed, when a conventional wisdom is at its fullest strength, one’s agreement with that conventional wisdom becomes almost a litmus test of one’s suitability to be taken seriously.” Paul Krugman
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: John R Walliker
Date: Tue, 01 Dec 2026 13:52
Date: Tue, 01 Dec 2026 13:52
27 lines
2296 bytes
2296 bytes
On 01/12/2026 12:38, Chris Green wrote: > Chris Green <cl@isbd.net> wrote: >> David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote: >> > [snip] >>> Do look for software which uses RAM as much as possible. Perhaps your software >>> uses so much RAM that it pages all the time on the Zero (0.5 GB RAM) and not on >>> the 2B (1 GB RAM)? >>> >> I doubt it, 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. >> > I just looked, top reports:- > > MiB Mem : 415.0 total, 96.9 free, 195.7 used, 180.7 buff/cache > MiB Swap: 415.0 total, 413.5 free, 1.5 used. 219.3 avail Mem > > So I doubt it's banging away at swap. > > I have had a zero2w running for a couple of years data logging every 10 seconds onto a 32Gbyte Samsung high endurance card without any problems. John
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: David Taylor
Date: Tue, 01 Dec 2026 14:44
Date: Tue, 01 Dec 2026 14:44
11 lines
1633 bytes
1633 bytes
On 01/12/2026 11:27, Chris Green wrote: > But do you believe an Amazon ad with "long life micro sd card" in it? > They advertise 128Tb memory sticks there too! 🙂 If it's the SanDisk ones, yes I would! Of course, there are some fakes out there! -- David Web: https://www.satsignal.eu
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: David Higton
Date: Tue, 01 Dec 2026 14:48
Date: Tue, 01 Dec 2026 14:48
19 lines
1684 bytes
1684 bytes
In message <0dh2um-0ht8.ln1@q957.zbmc.eu>
Chris Green <cl@isbd.net> wrote:
> So why does my Zero 2W kill SD cards so quickly and how can one improve
> things?
I don't know what OS you're using, but I'm using a Pi 1 for my heating
controller, on RISC OS, and it's been running on the original SD card
for some years now.
All logging is done to RAM filing system.
The only writes to the SD card are changes to the configuration of the
system; clearly these have to be non-volatile in case of power cuts.
You may be able to use a NAS or an NVME drive for storage and only
boot from SD.
David
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: The Natural Philosopher
Date: Tue, 01 Dec 2026 14:49
Date: Tue, 01 Dec 2026 14:49
14 lines
1729 bytes
1729 bytes
On 01/12/2026 14:44, David Taylor wrote: > On 01/12/2026 11:27, Chris Green wrote: >> But do you believe an Amazon ad with "long life micro sd card" in it? >> They advertise 128Tb memory sticks there too! 🙂 > > If it's the SanDisk ones, yes I would! > > Of course, there are some fakes out there! > Far too many. Too easy to repackage rejects -- To ban Christmas, simply give turkeys the vote.
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: The Natural Philosopher
Date: Tue, 01 Dec 2026 14:56
Date: Tue, 01 Dec 2026 14:56
35 lines
2171 bytes
2171 bytes
On 01/12/2026 14:48, David Higton wrote: > In message <0dh2um-0ht8.ln1@q957.zbmc.eu> > Chris Green <cl@isbd.net> wrote: > >> So why does my Zero 2W kill SD cards so quickly and how can one improve >> things? > > I don't know what OS you're using, but I'm using a Pi 1 for my heating > controller, on RISC OS, and it's been running on the original SD card > for some years now. > You too :-) > All logging is done to RAM filing system. > You too :-) > The only writes to the SD card are changes to the configuration of the > system; clearly these have to be non-volatile in case of power cuts. > You too :-):-) > You may be able to use a NAS or an NVME drive for storage and only > boot from SD. > The questions is why any writing is necessary at all. > David -- In a Time of Universal Deceit, Telling the Truth Is a Revolutionary Act. - George Orwell
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Doc OLeary
Date: Tue, 01 Dec 2026 19:47
Date: Tue, 01 Dec 2026 19:47
17 lines
1813 bytes
1813 bytes
For your reference, records indicate that 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. As many have responded, I’m not seeing any such Zero issues myself, and I use fairly generic SD cards. My first suggestion would be to check the power supply. If swapping that for a better, known good one doesn’t resolve the problem, try swapping in a different Zero. -- "Also . . . I can kill you with my brain." River Tam, Trash, Firefly
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Chris Green
Date: Tue, 01 Dec 2026 20:24
Date: Tue, 01 Dec 2026 20:24
25 lines
2175 bytes
2175 bytes
Doc O'Leary , <droleary.usenet@2023.impossiblystupid.com> wrote: > For your reference, records indicate that > 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. > > As many have responded, I’m not seeing any such Zero issues myself, and > I use fairly generic SD cards. My first suggestion would be to check > the power supply. If swapping that for a better, known good one doesn’t > resolve the problem, try swapping in a different Zero. > OP here. Yes, I'm wondering if it may be an issue with my particular Pi Zero 2W. The first Sd card that got corrupted was definitely a failed card, it had errors in other systems too and wouldn't re-format. However the current problem seems more down to WiFi failure, the SD Card seems OK and the systme reboots but after a short while loses its WiFi connection again. This sort of issue seems not uncommon on Pi Zero. I'm trying a watchdog to reboot if the WiFi/Network goes down, if that works then it would appear to be some abstruse WiFi issue this time around. -- Chris Green ·
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Alexander Schreiber
Date: Tue, 01 Dec 2026 21:29
Date: Tue, 01 Dec 2026 21:29
45 lines
2752 bytes
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
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Scott Alfter
Date: Tue, 01 Dec 2026 21:39
Date: Tue, 01 Dec 2026 21:39
28 lines
2090 bytes
2090 bytes
In article <4Aw*606WA@news.chiark.greenend.org.uk>, Theo <theom+news@chiark.greenend.org.uk> wrote: >> That's the trouble, a real SSD on a USB stick would do what I need but >> how do I actually find an "SSD USB drive" that is **really** an SSD not >> just a bog-standard flash drive? > >Sandisk Extreme sticks are a proper SATA SSD behind a SATA-USB converter. > >Or just buy a SATA or M.2 SSD and put it into a USB case. > >Although the annoyance with the Zero2W is that takes your only USB port. USB hubs are available to take care of that, such as this 4-port hub that stacks underneath: https://link.amazon/B0aZpWhuR I used one when I moved my print server from an OG Raspberry Pi to a Zero 2W when I lost the wired network in the room where my printers are located. So far, it works like a champ, my printers (a laser printer and a thermal label printer) are accessible over WiFi, and the server boots much faster with the faster processor. -- _/_ / v \ Scott Alfter (remove the obvious to send mail) (IIGS( https://alfter.us/ Top-posting! \_^_/ >What's the most annoying thing on Usenet?
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Andy Burns
Date: Wed, 02 Dec 2026 00:13
Date: Wed, 02 Dec 2026 00:13
12 lines
1588 bytes
1588 bytes
Chris Green wrote: > OP here. Yes, I'm wondering if it may be an issue with my particular Pi > Zero 2W. The first Sd card that got corrupted was definitely a failed > card, it had errors in other systems too and wouldn't re-format. However > the current problem seems more down to WiFi failure, the SD Card seems OK > and the systme reboots but after a short while loses its WiFi connection > again. This sort of issue seems not uncommon on Pi Zero. I'm trying a > watchdog to reboot if the WiFi/Network goes down, if that works then it > would appear to be some abstruse WiFi issue this time around. another hint to replace the PSU?
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Lawrence D’Oliveiro
Date: Wed, 02 Dec 2026 01:20
Date: Wed, 02 Dec 2026 01:20
6 lines
1414 bytes
1414 bytes
On Tue, 1 Dec 2026 09:42:24 +0000, Chris Green wrote: > My Pi Zero 2W seems to eat SD cards. You could try leaving something like dstat running for a few hours or days to see if a lot of write activity is happening from somewhere.
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: Lawrence D’Oliveiro
Date: Wed, 02 Dec 2026 01:42
Date: Wed, 02 Dec 2026 01:42
14 lines
1922 bytes
1922 bytes
On Tue, 1 Dec 2026 20:24:15 +0000, Chris Green wrote: > Yes, I'm wondering if it may be an issue with my particular Pi Zero > 2W. The first Sd card that got corrupted was definitely a failed > card, it had errors in other systems too and wouldn't re-format. I think it is possible for defective card readers to cause damage to cards. I have a cheap USB multiformat card reader that I bought a long time ago, that I was using in my desktop machine to write to SD cards, and more recently, trying to write a few gigabytes at once would very quickly lead to failures. Currently I am using the SD card reader in my laptop, and that has worked so far without problems.
Re: Reliable sd card (or alternative) for Pi Zero 2W
Author: mm0fmf
Date: Wed, 02 Dec 2026 06:53
Date: Wed, 02 Dec 2026 06:53
17 lines
1985 bytes
1985 bytes
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. > I have a Pi Zero W that has been running using 3x Nextbase 8GB cards since 2018 and the Pi runs 24/7. Every 6 months I remove a card, clone it to the next card and use that. A card gets used for 6months every 18months. I mounted most of /var on the ramdisk and rather than figure out how to ensure the ramdisk didn't fill up, I reboot once / day. It's dumb and if stuff starts crashing, you probably don't have logs. But the proof is a long SD life and it does what I need perfectly. YMMV
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads