NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RPi4 died SD card weirdness?





El 24/8/26 a las 11:07, Niels Dettenbach escribió:
Am Sonntag, 23. August 2026, 19:40:24 UTC+00:00:01 schrieben Sie:
Yes, I am starting to hate solid state devices, I have had  problems  in
the last couple of years with two SD cards and a Kingston SSD drive.

I do not remember so much problems with HDD drives during my life 🙂 or
perhaps my memory is getting old as I am...
SSDs are not build for high write counts contrary to spindles. Reducing the
amount of write ops to the SSD (i.e. by larger RAM for filesystem caching,
using a more fitting filesystem and filesystem parameters) is crucial to
reach a longer lifetime. Doing a regular FSTRIM is important too to free
unused blocks (NetBSD seems a bit intransparent to me in this regard).

Beside this there are SD Cards with "crippeled" or buggy wear leveling /
electronic leading to corrupted cards when driven with more complex access /
SCSI commands. Most are sold for "tyoical" applications like saving photo or
video files in cameras or provide a mostly "read only" medium (i.e. jus hold
some firmware) - means much less (random) write actions.

SDCards (as SSDs) which can take much higher amounts of write ops usually
cost significantly more, because they have to bring with a lot of spare
memory for wear leveling over lifetime.

So, it highlöy depends from:
  - usage (write access behaviuor)
  - SSD card "quality"


Thanks Niels for the explanation. I indeed think that I have stressed the filesystem very much, compiling the base system and packages many times, deleting and uncompresing sources and packages tree. I also use heavily thunderbird with hundreds of emails through VNC sessions. I have here a spare SD card, I will reinstall NetBSD and see how it lasts, I do not plan to buy anything now but an USB SSD drive will be far more reliable as you have pointed out (it is not a critical system here)..

Thanks so much
Regards.







hth,


niels.




Home | Main Index | Thread Index | Old Index