From: Tao Ma <tm@tao.ma>
To: George Spelvin <linux@horizon.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: metadata_csum + unclean shutdown = failure to boot
Date: Sun, 07 Oct 2012 21:39:04 +0800 [thread overview]
Message-ID: <507185F8.3040700@tao.ma> (raw)
In-Reply-To: <20121007050427.6711.qmail@science.horizon.com>
Hi George,
On 10/07/2012 01:04 PM, George Spelvin wrote:
> Feeling a bit adventurous, I enabled metadata_csum on many of
> my daily-use file systems.
>
> I have now noticed a problem in the event of an unclean shutdown.
>
> On reboot, the kernel complains about a bad superblock checksum, suggests
> e2fsck, and then fails to mount the root filesystem.
>
> This makes running e2fsck a bit problematic.
>
> I can fix it manually, but it makes automatic reboots *extremely*
> problematic.
>
> Is it possible to fix the kernel code to be a bit more forgiving?
Interesting. In general, metadata checksum should be updated with the
same content it checksums. So could you please answer my questions first?
1. your kernel version please?
2. what do you mean a *unclean* shutdown?
3. what do you find in your /var/log/messages except the bad superblock
checksum error?
Thanks
Tao
next prev parent reply other threads:[~2012-10-07 13:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-07 5:04 metadata_csum + unclean shutdown = failure to boot George Spelvin
2012-10-07 13:39 ` Tao Ma [this message]
2012-10-07 15:09 ` George Spelvin
2012-10-07 18:10 ` Theodore Ts'o
2012-10-07 20:18 ` George Spelvin
2012-10-07 22:54 ` Theodore Ts'o
2012-10-08 1:05 ` George Spelvin
2012-10-08 1:25 ` George Spelvin
2012-10-08 2:41 ` Theodore Ts'o
2012-10-08 3:17 ` George Spelvin
2012-10-08 4:03 ` Tao Ma
2012-10-08 11:35 ` George Spelvin
2012-11-01 1:05 ` ext4: fix metadata checksum calculation for the superblock George Spelvin
2012-11-01 1:13 ` Darrick J. Wong
2012-11-01 1:50 ` Theodore Ts'o
2012-11-01 3:22 ` Darrick J. Wong
2012-11-01 6:12 ` George Spelvin
2012-11-01 6:49 ` Darrick J. Wong
2012-11-01 7:07 ` George Spelvin
2012-11-01 7:18 ` Darrick J. Wong
2012-11-01 7:28 ` George Spelvin
2012-11-02 0:05 ` Darrick J. Wong
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=507185F8.3040700@tao.ma \
--to=tm@tao.ma \
--cc=linux-ext4@vger.kernel.org \
--cc=linux@horizon.com \
/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;
as well as URLs for NNTP newsgroup(s).