Filesystem corruption on NAND with A-20 Olinuxino LIME

Started by haydn87, May 20, 2015, 06:30:56 PM

Previous topic - Next topic

haydn87

Hello, I have a question regarding filesystem corruption.

The devices I have been using are A20-Olinuxino LIME borads, with a Linux Debian image booted from NAND.

I know that filesystem corruption can take place when power goes down abruptly. In order to avoid this I decided to mount linux rootfs in read-only mode, with the following fstab settings:

/dev/nandc    /   ext4   ro,relatime,data=ordered    0   0


The problem is that even with this configuration I have encountered filesystem corruption, which had led to some unbootable devices.

The rootfs on these devices was previous mounted writeable and they have encountered several hard reset without any noticeable problem.

Can this corruption be caused by undetected previous filesystem errors, generated by hard

resets when the filesystem was still in write mode or is it possible to have filesystem

corruption even with read-only rootfs, caused maybe by faulty NAND?


Thank you.