Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

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

$
0
0
Thank all of you for your replies, those are great ideas.

I do have to emphasize my intention to automate everything and have it be as "hands off" a solution as possible, because physical access is complicated and would involve hiring someone who will very likely lack the technical expertise to run, for example, dd.

dd is a good idea still, I've sent a fresh image of the system like this to install across the ocean. But for regular operation gets hard/costly.

The network solution sounds like a great plan down the line, but it would be best if it didn't wholly depend on it and self-repair as much as possible in case the location doesn't have reliable (or any) wifi. Good call to call sync to flush the writes, too.

I may not be able to avoid doing maintenance if the OS itself gets corrupted or the SD somehow breaks, but hopefully mounting it with overlayfs will minimize risk of OS issues and everything else should be somehow restorable.

My fear with RAID1 is that it may botch both writes on power failure if writing happens at nearly the same time. Not sure if SD cards can write in parallel or if serial multiple blocks need to finish all to make any of those writes valid.

- Do you know any FOSS scripts or apps that do this or similar (CRC, check, restore)? I think I'll end up needing to roll my own.

Thanks again for the feedback.

Statistics: Posted by 2bam — Thu Feb 06, 2025 10:10 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles