public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@clusterfs.com>
To: "Albert D. Cahalan" <acahalan@cs.uml.edu>, linux-kernel@vger.kernel.org
Subject: Re: implementing soft-updates
Date: Tue, 9 Apr 2002 21:46:56 -0600	[thread overview]
Message-ID: <20020410034656.GE424@turbolinux.com> (raw)
In-Reply-To: <20020409184605.A13621@cecm.usp.br> <200204100041.g3A0fSj00928@saturn.cs.uml.edu> <20020409225854.A15883@cecm.usp.br>

On Apr 09, 2002  22:58 -0300, Alexis S. L. Carvalho wrote:
> OK, but if something scribbles on random unrelated parts of the disk
> there's not much you can do besides praying that fsck will fix it.

Well, the fact that ext2 uses fixed areas of the disk for specific
purposes (e.g. inode table) and it has backups of a lot of metadata
makes it very possible to recover from random data corruption.

> Note that if you were running a journalling fs, fsck wouldn't be run at
> all.

Note that this is incorrect.  Even with ext3, e2fsck is run on each
boot.  While in the normal case all it does is journal recovery (takes
a few seconds at most) and do a superficial check of the superblock.
This is incredibly useful, however, if there was a filesystem error,
since e2fsck has a chance to check and cleanup the filesystem before
it is put into use.

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/


  reply	other threads:[~2002-04-10  3:48 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-09 21:46 implementing soft-updates Alexis S. L. Carvalho
2002-04-09 22:17 ` Mike Fedyk
2002-04-09 22:23   ` Dominik Kubla
2002-04-09 23:36     ` Mike Fedyk
2002-04-10  0:41 ` Albert D. Cahalan
2002-04-10  1:58   ` Alexis S. L. Carvalho
2002-04-10  3:46     ` Andreas Dilger [this message]
2002-04-10  2:55   ` Andreas Dilger
2002-04-10 11:48     ` Peter Wächtler
2002-04-11 12:45     ` Bill Davidsen
2002-04-10  9:28   ` Dominik Kubla
2002-04-10 18:07     ` Albert D. Cahalan
2002-04-08 20:34       ` Pavel Machek
2002-04-10 18:13     ` Andreas Dilger
     [not found] <20020409184605.A13621@cecm.usp.br.suse.lists.linux.kernel>
     [not found] ` <200204100041.g3A0fSj00928@saturn.cs.uml.edu.suse.lists.linux.kernel>
     [not found]   ` <20020410092807.GA4015@duron.intern.kubla.de.suse.lists.linux.kernel>
2002-04-10 19:24     ` Andi Kleen
2002-04-08 20:35       ` Pavel Machek
2002-04-15 20:25         ` Andi Kleen
2002-04-15 20:47         ` Andreas Dilger
2002-04-16 10:45         ` Wichert Akkerman
2002-04-16 18:55           ` Mike Fedyk
  -- strict thread matches above, loose matches on Subject: below --
2002-04-11 16:35 James Bottomley

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=20020410034656.GE424@turbolinux.com \
    --to=adilger@clusterfs.com \
    --cc=acahalan@cs.uml.edu \
    --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