public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Jeffrey Merkey <jeffmerkey@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Fwd: EXT3 File System Corruption 2.6.34
Date: Mon, 07 Jun 2010 21:05:44 -0500	[thread overview]
Message-ID: <4C0DA578.9010709@sandeen.net> (raw)
In-Reply-To: <AANLkTil7toVuTbCExPtGMOqzqBVG3hG5JeEqzS6ZZ8T6@mail.gmail.com>

Jeffrey Merkey wrote:

> OK.  I will set this up.  You may want to make this option the default
> in the build scripts.  here is a corrupted file.  

It was default, but Linus changed it a while back.

> This was a .gif
> image file I saved THEN AFTER SAVING THE FILE I pulled the power to
> the machine and during recovery the file was FUCKED.  

I assume your application did not sync the data, and buffered data
loss is expected on a power loss.

> At any rate,
> this does not happen with 2.6.28.

that I can't explain for sure.... different timing perhaps.

> I dumped the file with xdump a util I use internally for my own use so
> you could see the file contents as text and I could post it here.
> This was an image file but look what ended up in it -- directory
> blocks and such.  Take a look:

As I said, stale blocks exposed due to data=writeback.  Known behavior,
unfortunately the default for ext3.  If you find similar problems
when mounted data=ordered, it's a more interesting report.

-Eric

>           0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
> 00000000  6C 73 0A 63 64 20 2E 2E 0A 63 6C 73 0A 6C 73 0A  ls.cd ...cls.ls.
> 00000010  63 64 20 6C 69 6E 75 78 2D 32 2E 36 2E 33 34 2D  cd linux-2.6.34-
> 00000020  6D 64 62 2F 0A 63 6C 73 0A 6C 73 0A 63 64 20 2E  mdb/.cls.ls.cd .
> 00000030  2E 0A 63 6C 73 0A 6C 73 0A 63 64 20 6C 69 6E 75  ..cls.ls.cd linu

<giant snip>

  reply	other threads:[~2010-06-08  2:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-07 20:45 EXT3 File System Corruption 2.6.34 Jeffrey Merkey
2010-06-07 20:59 ` Eric Sandeen
     [not found]   ` <AANLkTik1T2nJxsoK9UGIVy6q6pfSxniFfJXJY0InmuUh@mail.gmail.com>
2010-06-07 23:55     ` Fwd: " Jeffrey Merkey
2010-06-08  1:10       ` Eric Sandeen
     [not found]         ` <AANLkTilrmEnLrxRSYNnwr8vFaZi7R9U5vY39NmBWUEMy@mail.gmail.com>
2010-06-08  1:55           ` Fwd: " Jeffrey Merkey
2010-06-08  2:05             ` Eric Sandeen [this message]
2010-06-10 21:04             ` Bill Davidsen
2010-06-11 16:23               ` Jeffrey Merkey
2010-06-08  1:57           ` Jeffrey Merkey
     [not found]           ` <C4177A0B-9A74-40E6-9A58-64418034232C@sandeen.net>
     [not found]             ` <AANLkTinzZkN9agekI5eqzA9hERsghI7yDJyAy1O755dr@mail.gmail.com>
2010-06-08  2:14               ` Jeffrey Merkey
2010-06-08 11:14                 ` Theodore Tso
2010-06-08 13:33                   ` Török Edwin
2010-06-09  0:49                     ` david
     [not found]               ` <4C0DA955.7020802@sandeen.net>
2010-06-08  2:37                 ` Jeffrey Merkey
2010-06-08  5:40                   ` Valdis.Kletnieks
2010-06-08 14:44                     ` Jeffrey Merkey
2010-06-07 21:04 ` Valdis.Kletnieks

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=4C0DA578.9010709@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=jeffmerkey@gmail.com \
    --cc=linux-kernel@vger.kernel.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