file system corruption
David Woodhouse
dwmw2 at infradead.org
Mon Jul 12 02:56:05 EDT 2004
On Mon, 2004-07-12 at 06:39 +0100, Achuth Kamath wrote:
> I had a jffs2 file system on my flash of one
> device. After some changes, and restart, it looks like
> the file system is corrupted. It says something like
> this:
> jffs2_scan_inode_mode(): Data CRC failed on node at
> 0x...
So you get just one of these messages, or many of them along with other
messages? Do you have actual data corruption or loss, or are you just
scared by the message?
It's perfectly normal to see a few of these messages if you make a habit
of restarting the machine while garbage collection is in progress. It
happens when the garbage-collector is writing out a new node as a
replacement for an older copy of the same data which just happened to be
in the wrong place. If we get interrupted before completing the write,
the CRC of the new node fails and we ignore it -- but no data are lost
because the old node still exists.
--
dwmw2
More information about the linux-mtd
mailing list