public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Achuth Kamath <achuth_m_kamath@yahoo.co.in>
Cc: linux-mtd@lists.infradead.org
Subject: Re: file system corruption
Date: Mon, 12 Jul 2004 07:56:05 +0100	[thread overview]
Message-ID: <1089615365.4217.19.camel@localhost.localdomain> (raw)
In-Reply-To: <20040712053939.97681.qmail@web8302.mail.in.yahoo.com>

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

  reply	other threads:[~2004-07-12  6:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-12  5:39 file system corruption Achuth Kamath
2004-07-12  6:56 ` David Woodhouse [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-27 11:41 Ensar Gul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1089615365.4217.19.camel@localhost.localdomain \
    --to=dwmw2@infradead.org \
    --cc=achuth_m_kamath@yahoo.co.in \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox