I have a Pi Zero 2 W logging data once an hour, it's a 1Mb database
that gets updated each hour. It has killed its SD card twice in less
than a year and I'm wondering why.
I have a similar logging system using a venerable Pi 2 that's been
running for much longer and writing somewhat more data without any
problems.
The Pi Zero 2 W replaced a Beaglebone Black that had run for several
years without any problems.
Is the Pi Zero 2 W more fussy about its SD card, does it work the card harder. or have I just been unlucky?
I'd welcome any recommendations for cards that last well.
On 03/08/2026 15:45, Chris Green wrote:
I have a Pi Zero 2 W logging data once an hour, it's a 1Mb database
that gets updated each hour. It has killed its SD card twice in less
than a year and I'm wondering why.
I have a similar logging system using a venerable Pi 2 that's been
running for much longer and writing somewhat more data without any problems.
The Pi Zero 2 W replaced a Beaglebone Black that had run for several
years without any problems.
Is the Pi Zero 2 W more fussy about its SD card, does it work the card harder. or have I just been unlucky?
I'd welcome any recommendations for cards that last well.
Samsung and Sandisk sell high endurance SD cards intended for
security camera and dashcam applications. These are not
particularly fast, but are designed to survive continuous
writing of data.
Samsung and Sandisk sell high endurance SD cards intended for
security camera and dashcam applications. These are not
particularly fast, but are designed to survive continuous
writing of data.
in the true 'if i wanted to go there i wouldn't be starting from here' tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change configurations,. Everything that writes is either stopped from writing
or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out which
I have a Pi Zero 2 W logging data once an hour, it's a 1Mb database
that gets updated each hour. It has killed its SD card twice in less
than a year and I'm wondering why.
I have a similar logging system using a venerable Pi 2 that's been
running for much longer and writing somewhat more data without any
problems.
The Pi Zero 2 W replaced a Beaglebone Black that had run for several
years without any problems.
Is the Pi Zero 2 W more fussy about its SD card, does it work the card harder. or have I just been unlucky?
I'd welcome any recommendations for cards that last well.
s|b <me@privacy.invalid> wrote:
On Mon, 3 Aug 2026 18:29:55 +0100, The Natural Philosopher wrote:What would be more helpful would be some guidance on how to implement
in the true 'if i wanted to go there i wouldn't be starting from here'
tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change
configurations,. Everything that writes is either stopped from writing
or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out >>> which
This is helpful.
it! :-)
E.g. how do you stop systemd's logging from writing to 'hard' disk?
It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk writing, if so I'd like to know about them.
On Mon, 3 Aug 2026 18:29:55 +0100, The Natural Philosopher wrote:
in the true 'if i wanted to go there i wouldn't be starting from here' tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change configurations,. Everything that writes is either stopped from writing
or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out which
This is helpful.
s|b <me@privacy.invalid> wrote:
On Mon, 3 Aug 2026 18:29:55 +0100, The Natural Philosopher wrote:What would be more helpful would be some guidance on how to implement
in the true 'if i wanted to go there i wouldn't be starting from here'
tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change
configurations,. Everything that writes is either stopped from writing
or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out >> > which
This is helpful.
it! :-)
E.g. how do you stop systemd's logging from writing to 'hard' disk?
It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk writing, if so I'd like to know about them.
On Tue, 4 Aug 2026 10:15:29 +0100, Chris Green wrote:
s|b <me@privacy.invalid> wrote:
This is helpful.
What would be more helpful would be some guidance on how to implement
it! :-)
Exactly my point.
E.g. how do you stop systemd's logging from writing to 'hard' disk?
It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk
writing, if so I'd like to know about them.
Maybe he's just 'not interested' in explaining.
s|b <me@privacy.invalid> wrote:
This is helpful.
What would be more helpful would be some guidance on how to implement
it! :-)
E.g. how do you stop systemd's logging from writing to 'hard' disk?
It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk writing, if so I'd like to know about them.
On 2026-08-04, Chris Green <cl@isbd.net> wrote:
s|b <me@privacy.invalid> wrote:
On Mon, 3 Aug 2026 18:29:55 +0100, The Natural Philosopher wrote:What would be more helpful would be some guidance on how to implement
in the true 'if i wanted to go there i wouldn't be starting from here' >> > tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change
configurations,. Everything that writes is either stopped from writing >> > or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out
which
This is helpful.
it! :-)
E.g. how do you stop systemd's logging from writing to 'hard' disk?
It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk writing, if so I'd like to know about them.
Wot I do:
Replace /sbin/init with a shell script that sets up the minimal necessary
Ian
<${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:
Replace /sbin/init with a shell script that sets up the minimal
necessary
So you don't run systemd? While that may be a 'good idea' in some
ways it does require a **lot** of customisation.
Ian <${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:
On 2026-08-04, Chris Green <cl@isbd.net> wrote:
s|b <me@privacy.invalid> wrote:
On Mon, 3 Aug 2026 18:29:55 +0100, The Natural Philosopher wrote:What would be more helpful would be some guidance on how to implement
in the true 'if i wanted to go there i wouldn't be starting from here' >> >> > tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change
configurations,. Everything that writes is either stopped from writing >> >> > or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out
which
This is helpful.
it! :-)
E.g. how do you stop systemd's logging from writing to 'hard' disk?
It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk
writing, if so I'd like to know about them.
Wot I do:
Replace /sbin/init with a shell script that sets up the minimal necessary
So you don't run systemd? While that may be a 'good idea' in some ways
it does require a **lot** of customisation.
... and current stable Debian is 13, I don't think I want to go back
as far as you are! :-)
On 2026-08-04, Chris Green <cl@isbd.net> wrote:
Ian <${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:
On 2026-08-04, Chris Green <cl@isbd.net> wrote:So you don't run systemd? While that may be a 'good idea' in some ways
s|b <me@privacy.invalid> wrote:
On Mon, 3 Aug 2026 18:29:55 +0100, The Natural Philosopher wrote:What would be more helpful would be some guidance on how to implement
in the true 'if i wanted to go there i wouldn't be starting from here' >>>>>> tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change
configurations,. Everything that writes is either stopped from writing >>>>>> or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out >>>>>> which
This is helpful.
it! :-)
E.g. how do you stop systemd's logging from writing to 'hard' disk?
It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk >>>> writing, if so I'd like to know about them.
Wot I do:
Replace /sbin/init with a shell script that sets up the minimal necessary >>
it does require a **lot** of customisation.
Absolutely not :)
It's not a general-purpose computer, it's a device that runs a single program (wot I wrote), and it isn't going to change, ever. Yes, figuring out how to get things like wifi and sshd to run took a few iterations, but now that's a solved problem.
... and current stable Debian is 13, I don't think I want to go back
as far as you are! :-)
This was created many moons ago. It works, it isn't accessible from any public
network, and I have no reason to keep chasing the dragon updating it "just because".
Ultimately it may be replaced, but that will be a complete replacement with something else, not an update.
Something very similar should be possible with later versions, unless they've finally integreted systemd into the kernel!
On 2026-08-04, Chris Green <cl@isbd.net> wrote:
Ian <${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:
On 2026-08-04, Chris Green <cl@isbd.net> wrote:
s|b <me@privacy.invalid> wrote:
On Mon, 3 Aug 2026 18:29:55 +0100, The Natural Philosopher wrote:What would be more helpful would be some guidance on how to implement
in the true 'if i wanted to go there i wouldn't be starting from here'
tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change
configurations,. Everything that writes is either stopped from writing
or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out
which
This is helpful.
it! :-)
E.g. how do you stop systemd's logging from writing to 'hard' disk?
It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk >> > writing, if so I'd like to know about them.
Wot I do:
Replace /sbin/init with a shell script that sets up the minimal necessary
So you don't run systemd? While that may be a 'good idea' in some ways
it does require a **lot** of customisation.
Absolutely not :)
It's not a general-purpose computer, it's a device that runs a single program (wot I wrote), and it isn't going to change, ever. Yes, figuring out how to get things like wifi and sshd to run took a few iterations, but now that's a solved problem.
Ian <${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:
On 2026-08-04, Chris Green <cl@isbd.net> wrote:Ah, that's a bit different from my situation, I need a familiar OS on
Ian <${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:
On 2026-08-04, Chris Green <cl@isbd.net> wrote:So you don't run systemd? While that may be a 'good idea' in some ways
s|b <me@privacy.invalid> wrote:
On Mon, 3 Aug 2026 18:29:55 +0100, The Natural Philosopher wrote:What would be more helpful would be some guidance on how to implement >>>>> it! :-)
in the true 'if i wanted to go there i wouldn't be starting from here' >>>>>>> tradition if its a 2W why not send its data to somewhere more
interesting and secure?
My Pi zero W never writes to its SD car at all unless i change
configurations,. Everything that writes is either stopped from writing >>>>>>> or writes to ram discs.
Some SD cards are better than others, I am not interested in finding out
which
This is helpful.
E.g. how do you stop systemd's logging from writing to 'hard' disk? >>>>> It would need a **lot** of reconfiguration before it would use a
reasonable amount of space such as is available on a RAM drive.
Maybe there are versions of the OS that are optimised for minimal disk >>>>> writing, if so I'd like to know about them.
Wot I do:
Replace /sbin/init with a shell script that sets up the minimal necessary >>>
it does require a **lot** of customisation.
Absolutely not :)
It's not a general-purpose computer, it's a device that runs a single program
(wot I wrote), and it isn't going to change, ever. Yes, figuring out how to >> get things like wifi and sshd to run took a few iterations, but now that's a >> solved problem.
the system in question.
| Sysop: | Eric Oulashin |
|---|---|
| Location: | Beaverton, Oregon, USA |
| Users: | 100 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 07:08:59 |
| Calls: | 8,828 |
| Calls today: | 5 |
| Files: | 9,537 |
| D/L today: |
598 files (1,003M bytes) |
| Messages: | 421,152 |
| Posted today: | 7 |