public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: Jeffrey Merkey <jeffmerkey@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: EXT3 File System Corruption 2.6.34
Date: Mon, 07 Jun 2010 17:04:26 -0400	[thread overview]
Message-ID: <21412.1275944666@localhost> (raw)
In-Reply-To: Your message of "Mon, 07 Jun 2010 14:45:38 MDT." <AANLkTinQatQEYahpkN3bT-S5C41HqRoH--gTrvIbGs_c@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2145 bytes --]

On Mon, 07 Jun 2010 14:45:38 MDT, Jeffrey Merkey said:
> Still seeing file system corruption after journal recovery in EXT3.

Are you getting bit by one of these mount options? (from 'man mount')
There were changes a few releases ago, might want to check what
your kernel build defaulted it to in your 2.6.34.

       data={journal|ordered|writeback}
              Specifies  the  journalling  mode  for  file  data.  Metadata is
              always journaled.  To use modes other than ordered on  the  root
              filesystem,  pass the mode to the kernel as boot parameter, e.g.
              rootflags=data=journal.

              journal
                     All data is committed into the  journal  prior  to  being
                     written into the main filesystem.

              ordered
                     This  is  the  default mode.  All data is forced directly
                     out to the main file system prior to its  metadata  being
                     committed to the journal.

              writeback
                     Data ordering is not preserved - data may be written into
                     the main filesystem after its metadata has been committed
                     to  the  journal.   This  is  rumoured to be the highest-
                     throughput option.   It  guarantees  internal  filesystem
                     integrity,  however  it  can  allow old data to appear in
                     files after a crash and journal recovery.

       barrier=0 / barrier=1
              This enables/disables barriers.   barrier=0  disables  it,  bar‐
              rier=1 enables it.  Write barriers enforce proper on-disk order‐
              ing of journal commits, making volatile disk write  caches  safe
              to  use,  at some performance penalty.  The ext3 filesystem does
              not enable write barriers by default.  Be sure to enable  barri‐
              ers  unless  your  disks  are battery-backed one way or another.
              Otherwise you risk filesystem corruption in case of power  fail‐
              ure.


[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]

      parent reply	other threads:[~2010-06-07 21:04 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
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 [this message]

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=21412.1275944666@localhost \
    --to=valdis.kletnieks@vt.edu \
    --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