mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@clusterfs.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Linux-Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Ext2 vs. ext3 recovery after crash
Date: Tue, 2 Apr 2002 23:37:50 -0700	[thread overview]
Message-ID: <20020403063750.GQ4735@turbolinux.com> (raw)
In-Reply-To: <Pine.LNX.3.96.1020402225256.9671A-100000@gatekeeper.tmr.com>

On Apr 02, 2002  23:02 -0500, Bill Davidsen wrote:
> I have a laptop (Dell Inspiron C600) which, like most Dell laptops,
> crashes every time I log out of X. On some occasions on reboot I get a
> message about replaying the journal, while occasionally I get a full ext2
> style multi-pass 12 minute recovery. I don't see why the ext3 isn't always
> used, I know it's going to crash, I always do a sync and wait ten seconds
> for journal writes, etc, to take place.

You should be able to see easily if it is being checked by a forced
fsck, from a message like "maximal mount count reached, forcing fsck".

You can use the "tune2fs -c" option to increase the number of mounts
between full checks (or "tune2fs -c 0" to turn it off, and then use
"tune2fs -i 1m" to reduce the interval between checks to once a month or
whatever).  Note that it is _strongly_ recommended NOT to turn off both
mount- and time-based forced fscks on your filesystem, because things
like bad kernels, bad disks, RAM, cables, etc can still cause corruption.

Note also that some laptops can lose data at shutdown (even on a clean
shutdown) because their disks have problems with flushing the cache.

Cheers, Andreas
--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert


  parent reply	other threads:[~2002-04-03  6:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-03  4:02 Bill Davidsen
2002-04-03  5:46 ` Jauder Ho
2002-04-03 10:05   ` Bill Davidsen
2002-04-03 10:25     ` Andreas Dilger
2002-04-04  2:54       ` Bill Davidsen
2002-04-03  6:37 ` Andreas Dilger [this message]
2002-04-03  6:38 ` AW: " Dipl.-Inform. Guus Leeuw jr.
2002-04-03 11:33 ` Dell laptop crashes -- data point (was Re: Ext2 vs. ext3 recovery after crash) Sean Neakums
2002-04-03 11:41 ` Ext2 vs. ext3 recovery after crash Alan Cox
2002-04-03 14:52 ` Andreas Jellinghaus
2002-04-04  2:42   ` Bill Davidsen
2002-04-04  7:34     ` Andreas Jellinghaus

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=20020403063750.GQ4735@turbolinux.com \
    --to=adilger@clusterfs.com \
    --cc=davidsen@tmr.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

all inboxes | Powered by JetHome®