top | item 45013092

(no title)

MortyWaves | 6 months ago

Sadly it doesn’t seem to be able to fix the several SD cards killed by the raspberry pis I have.

discuss

order

ab71e5|6 months ago

Pro tip: Use a read only rootfs and use overlayfs to write any changes to ram instead of the SD. Then you just gotta put your state on a USB drive, network etc.

rbanffy|6 months ago

You can also mount /var/log as a tmpfs. Worked for the Debian based OS but not so well with Fedora (on an eMMC volume).

Neywiny|6 months ago

Likely worn out sectors. Sadly such products are easy in that they don't have a read only file system, but for the majority of users that would help. Maybe there should be a simple script called "finalize" that turns it read only

smaudet|6 months ago

Didn't there use to be a physical read lock on SD cards?

I know "modern" cards have no space, but if it's important to you, you can still use the full size adapters which should (all?) have the physical lock. Super glue that in place...

bmh|6 months ago

The latest Pi OS writes all logs to RAM, which might change your experience.

MisterTea|6 months ago

SD cards do not make good SSDs. For Plan 9 I only put the kernel on the SD card and pull root from another source e.g. a file server via tcp/tls.