I'm running Debian on an TS-7260, booting to an SD card via an initrd
image stored in the on-board flash. The SD cards are becoming
corrupted (binaries won't execute, files becoming garbled, attempts to
login result in "Login: exec format error", etc.) Does anyone else
have these issues? I've converted to an ext3 (ordered) kernel and
filesystem from ext2 in an attempt to correct the problem, and while
it has helped to reduce the frequency of corruption it still occurs.
My application writes a small amount of data continually to a file
on the SD card (~4k every few seconds). I can understand that a sudden
power loss could contribute to corruption of that file, but how could
it corrupt the entire file system in such a dramatic way?
Can anyone recommend a solution or other steps I can take to reduce
the potential for damage? In absence of a solution, are there
any strategies for enabling auto-recovery of a corrupt SD card (i.e.,
anything I can do in the initrd image to detect and fix/replace the
image?) or perhaps create another read-only partition for most of the
Debian distribution? I'm not confident the latter solution would help
given the catastrophic nature of the failures I'm seeing, I could
imagine that even a read-only partition could become corrupt...
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|