7

Making SD card corruption-proof

view full story
linux-howto

http://serverfault.com – My embedded linux device uses an SD card for saving certain diagnostics data, far too copious for internal flash. The problem is if the device is switched off unexpectedly, the filesystem (FAT32) on the card is formatted. There is no way to prevent unexpected power outages or user switching it off like that, and the device should be relatively maintenance-free. Worse, the data is written continuously, so the corruptions are very frequent, and Linux upon detecting faulty FS remounts it read-only silently. What methods would you suggest to mitigate this? Will running fsck.vfat automatically o (HowTos)