Quantcast
Viewing all articles
Browse latest Browse all 2586

Raspberry Pi OS • Re: Reliability strategies for SD card filesystems. What do you do?

I think that given you are only writing very infrequently to the SD card, chances of SD corruption are miniscule if you in addition ensuring that Linux is writing logs to a tmpfs.

Even when writing a lot to the cards, our tests have shown that random shutdowns on, for example our card, have never caused SD card corruption (20k random shutdowns while card is being written and read). So the chances of corruption when writing only small things is very very very small.

With regard to tmpfs, yes, that can use swap if it needs to but that is quite unlikely unless for some reason you are writing a lot to the tmpfs , so to avoid any SD card access, you would also turn off the swap partition. Or mount the tmpfs with the noswap option.

Statistics: Posted by jamesh — Thu Feb 06, 2025 12:07 pm



Viewing all articles
Browse latest Browse all 2586

Trending Articles