Hacker News new | ask | show | jobs
by li2uR3ce 1243 days ago
That's not been my experience with the original Pis. We ended up mounting cards as read only because they wouldn't last otherwise. Syslog and various other processes, even with light IO would render the cards useless after a month or two.
2 comments

Were they high-endurance SD cards? In my experience, people usually aren't aware there is a difference between standard and high-endurance SD cards. The former should last years on a light I/O raspberry pi workload.
Okay, so don't use 90% of SD cards.
Also: a lot of OS distributions aimed at SBCs with microSD storage forgetting to set noatime/relatime on their file systems, to avoid thousands upon thousands of writes for access time updates whenever files are read. It's only just recently that OS vendors finally woke up and realized what was going on.
relatime is default option since forever. (certainly since before rpi was even a thing)

https://elixir.bootlin.com/linux/v2.6.30/source/fs/namespace... (some random old kernel)

That's good info and news to me. "relatime" is unfortunately a silent killer as well, albeit nowhere near as intense as "strictatime".