public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Maxim Levitsky <maximlevitsky@gmail.com>
To: Parag Warudkar <parag.lkml@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>, tytso@mit.edu
Subject: Re: ext4 increased intolerance to unclean shutdown?
Date: Fri, 16 Oct 2009 08:31:01 +0200	[thread overview]
Message-ID: <1255674661.14475.3.camel@localhost.localdomain> (raw)
In-Reply-To: <f7848160910152128h96237b7ga103915082d6412b@mail.gmail.com>

On Fri, 2009-10-16 at 00:28 -0400, Parag Warudkar wrote:
> So I have been experimenting with various root file systems on my
> laptop running latest git. This laptop some times has problems waking
> up from sleep and that results in it needing a hard reset and
> subsequently unclean file system.
> 
> Initially I had ext3 on and never really had any visible filesystem
> issues for quite some time even with hard resets after wakeup. Then I
> switched to ext4 and first time it failed to wakeup from sleep fsck
> took me through quite a bit of errors - but after fixing them it
> immediately went and hit EXT4-fs error and it was unusable there
> onwards until (if I recall correctly) I found the file path associated
> with the inode relating to that message and used debugfs to delete the
> file only to have segfaults on subsequent boot. That was some time
> ago.
> 
> Meanwhile I was running xfs root and had the laptop fail to wakeup a
> fair number of times with no visible file system related issue.
> 
> This evening I needed to secure erase the abused SSD and that gave me
> a chance to retry ext4. But as bad luck would have it, the laptop just
> failed to wakeup and had to be reset. Sure enough, a ton of errors
> needed to be fixed when fsck went through the ext4 root fs. I had
> /boot as 8gb ext3 on same disk and that one showed no errors. But the
> bad part was it still failed to boot to desktop (GDM could not write
> to authorization file) after repairing the ext4 root fs. I forced
> another fsck on the root fs and it (again) found another handful of
> things to fix. So now it boots to desktop but some startup service
> still fails to start or stop.
> 
> So what's going on? I understand all bets are off when you have to
> hard reset - but based on my anecdotal experience it seems to me like
> ext4 has grown more intolerant to unclean shutdowns. Is this to be
> expected or it's just sheer coincidence?
> 
> Curious to understand the reason if any - don't care about the data
> loss part, as I had purposefully not kept anything important on the
> filesystems.

I had similar experience, and I say it all begin in 2.6.32.
see, http://marc.info/?l=linux-kernel&m=125486358632602&w=2

In fact I had never seen ext3/4 fsck in action before.


Best regards,
	Maxim Levitsky





> 
> Thanks
> 
> Parag
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


  reply	other threads:[~2009-10-16  6:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-16  4:28 ext4 increased intolerance to unclean shutdown? Parag Warudkar
2009-10-16  6:31 ` Maxim Levitsky [this message]
2009-10-16  9:15 ` [Bug 14354] " Theodore Tso
2009-10-16 13:06   ` Theodore Tso
2009-10-16 19:16   ` Ric Wheeler
2009-10-25  6:22     ` Pavel Machek
2009-10-26 13:49       ` Ric Wheeler
2009-10-16 22:24   ` Parag Warudkar
2009-10-27 10:15   ` Aneesh Kumar K.V
2009-10-29 20:10     ` Mingming
2009-10-29 21:25     ` Parag Warudkar
2009-10-29 21:38       ` Eric Sandeen
2009-10-30  8:16         ` Theodore Tso
2009-10-30 13:54           ` Eric Sandeen
2009-10-30 19:56         ` Andreas Dilger
2009-10-31  9:15           ` Theodore Tso
2009-10-31 15:24             ` Aneesh Kumar K.V
2009-10-29 21:42       ` Theodore Tso
2009-10-29 21:52         ` Parag Warudkar

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=1255674661.14475.3.camel@localhost.localdomain \
    --to=maximlevitsky@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=parag.lkml@gmail.com \
    --cc=tytso@mit.edu \
    /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