All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Andrew Morton <akpm@osdl.org>, Jiri Slaby <jirislaby@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	sct@redhat.com, adilger@clusterfs.com,
	linux-ext4@vger.kernel.org
Subject: Re: 2.6.18-mm2: ext3 BUG?
Date: Sun, 08 Oct 2006 11:53:25 +0159	[thread overview]
Message-ID: <4528CAAC.6070406@gmail.com> (raw)
In-Reply-To: <20061008084816.GF30283@lug-owl.de>

Jan-Benedict Glaw wrote:
> On Sun, 2006-10-08 08:33:30 +0200, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
>> dd bs=1M count=200 if=/dev/zero of=test0
>> while :; do
>> 	echo "cp 0-1"; cp test0 test1 || break
>> 	echo "cp 1-2"; cp test1 test2 || break
>> 	echo "cp 2-3"; cp test2 test3 || break
>> 	echo "cp 3-4"; cp test3 test4 || break
>> 	echo "od 0" ; od test0 || break
>> 	echo "rm 1"; rm test1 || break
>> 	echo "rm 2"; rm test2 || break
>> 	echo "rm 3"; rm test3 || break
>> 	echo "rm 4"; rm test4 || break
>> done
> 
> Just tested again and got *exactly* the same error message, bit
> already cleared for block 194810, but this time after only 20min:
> 
>> EXT3-fs error (device dm-5): ext3_free_blocks_sb: bit already cleared for block 194810
>> Aborting journal on device dm-5.
>> ext3_abort called.
>> EXT3-fs error (device dm-5): ext3_journal_start_sb: Detected aborted journal
>> Remounting filesystem read-only
>> EXT3-fs error (device dm-5) in ext3_reserve_inode_write: Journal has aborted
>> EXT3-fs error (device dm-5) in ext3_truncate: Journal has aborted
>> EXT3-fs error (device dm-5) in ext3_reserve_inode_write: Journal has aborted
>> EXT3-fs error (device dm-5) in ext3_orphan_del: Journal has aborted
>> EXT3-fs error (device dm-5) in ext3_reserve_inode_write: Journal has aborted
>> __journal_remove_journal_head: freeing b_committed_data
>> __journal_remove_journal_head: freeing b_committed_data
>> __journal_remove_journal_head: freeing b_committed_data
>>
>>
>> Last echoes from the testcase above:
>>
>> rm 1
>> rm 2
>> rm: cannot remove `test2': Read-only file system
> 
> ...and with exactly the same position it broke again.
> 
>> kolbe34-backup:/mnt# dumpe2fs /dev/kolbe34_backup/ext3crash 2>/dev/null | grep features
>> Filesystem features:      has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file
> 
> However, fsck looks a bit different this time:
> 
> kolbe34-backup:/mnt# e2fsck -jy /dev/kolbe34_backup/ext3crash
> e2fsck 1.39 (29-May-2006)
> /dev/kolbe34_backup/ext3crash: recovering journal
> /dev/kolbe34_backup/ext3crash contains a file system with errors, check forced.
> Pass 1: Checking inodes, blocks, and sizes
> Deleted inode 49154 has zero dtime.  Fix<y>?
> 
> /dev/kolbe34_backup/ext3crash: e2fsck canceled.
> 
> /dev/kolbe34_backup/ext3crash: ***** FILE SYSTEM WAS MODIFIED *****
> 
> /dev/kolbe34_backup/ext3crash: ********** WARNING: Filesystem still has errors **********
> 
> kolbe34-backup:/mnt# e2fsck -fy /dev/kolbe34_backup/ext3crash
> e2fsck 1.39 (29-May-2006)
> Pass 1: Checking inodes, blocks, and sizes
> Deleted inode 49154 has zero dtime.  Fix? yes
> 
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> Block bitmap differences:  -(107533--124927) -(178242--194673)
> Fix? yes
> 
> Free blocks count wrong for group #3 (7686, counted=25081).
> Fix? yes
> 
> Free blocks count wrong for group #5 (1933, counted=18366).
> Fix? yes
> 
> Free blocks count wrong (15196903, counted=15230731).
> Fix? yes
> 
> Inode bitmap differences:  -49154
> Fix? yes
> 
> Free inodes count wrong for group #3 (16379, counted=16380).
> Fix? yes
> 
> Free inodes count wrong (7864304, counted=7864305).
> Fix? yes
> 
> 
> /dev/kolbe34_backup/ext3crash: ***** FILE SYSTEM WAS MODIFIED *****
> /dev/kolbe34_backup/ext3crash: 15/7864320 files (6.7% non-contiguous), 497909/15728640 blocks

Just to confirm: these are errors I got.

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

  reply	other threads:[~2006-10-08  9:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05 21:35 2.6.18-mm2: ext3 BUG? Jiri Slaby
2006-10-05 21:50 ` Andrew Morton
2006-10-05 23:17   ` Jiri Slaby
2006-10-06  0:14     ` Andrew Morton
2006-10-06  9:33       ` Jiri Kosina
2006-10-08  6:33       ` Jan-Benedict Glaw
2006-10-08  7:14         ` Jan-Benedict Glaw
2006-10-08  8:48         ` Jan-Benedict Glaw
2006-10-08  9:54           ` Jiri Slaby [this message]
2006-10-10  7:09         ` Jan-Benedict Glaw
2006-10-11 10:42           ` Jan Kara
2006-10-23  8:13             ` Jan-Benedict Glaw
2006-10-23 10:41               ` Jan Kara

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=4528CAAC.6070406@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=adilger@clusterfs.com \
    --cc=akpm@osdl.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sct@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.