Hi all,
I installed ArchLinux on an Olimex board Olinuxino Maxi (ARM CPU, root filesystem on SD card) about 4 months ago.
The device is meant to be a bridge from an apparatus with serial port and the Internet. This is done by using the integrated ethernet port and a Usb-to-serial dongle plugged in the Olinuxino. This device runs a kind of web server written by me, and an ssh server for administration purposes. All was working very well.
Last week, i.e. after 4 months from install, the device stopped working. I went to see, and I found the SDcard was unmountable because of FS errors. The kernel was loading fine, though. I took out the old SDcard and put in place a new one, with the latest image of ArchLinux for Olinuxino on it. The board went up normally and the day after, using ssh, I reconfigured all the things and reloaded my software.
Then I decided to investigate the broken SDcard. Plugged in my PC and attempted to mount it. It worked, but the whole directory /etc was missing... Unmounted, and fsck found a LOT of errors. Corrected, and still other errors. I am not sure if I want to try again to fsck it, or format it again, or both or neither.
Then I looked better at the new SDcard, working fine in its place, and I noticed that the root file system was an EXT4 with JOURNALING enabled. I think that journaling is no good for a flash device, so I turned it off (not very simple, from remote).
Now I want to know:
1. If somebody knows better than me how can journaling impact on a SDcard which works very little (the only duty of the board is to run a ssh server and a web server which writes only a little log of accesses on disk), she/he could tell me more.
2. If I am true thinking that journaling is no good for a board like Olimex Olinuxino, than the Archlinux team should consider to NOT enable journaling by default. I can say that my SDcard was a Kingston (good brand?), new or semi-new.
Thank you in advance,
Linuxfan