Compact Flash write cycle
I believe there are quite a number of embedded systems that run on compact flash. I have an application that does quite a number of logging, so far i can only think of disable the swap partition and enable it when the memory is low, mount only /var as rw and others as ro.
Is there any other ways to reduce the chances of a compact flash from wearing out? I wanna solve this because i have 2 defected compact flash most likely due to wearing out (exceeded write cycles).
These are the messages that i get from dmesg :
1) EXT3-fs error (device sdc1): ext3_get_inode_loc: unable to read inode block - inode=32065, block=65540
2) end_request: I/O error, dev sdc, sector 4049
EXT3-fs error (device sdc1): ext3_find_entry: reading directory #11 offset 0
3) EXT3-fs error (device sdc2): ext3_journal_start_sb: Detected aborted journal
4) EXT3-fs error (device sdc1): ext3_readdir: directory #19 contains a hole at offset 0
5) Buffer I/O error on device sdc, logical block 0