2008-08-11 10:20:55

by Kamalesh Babulal

[permalink] [raw]
Subject: [BUG] 2.6.27-rc1 - Filesystem warning on ext4 with e2fsck

Hi,

After running the fsx linux test on the ext4 partition mounted with
-o errors=panic,journal_async_commit, filesystem check is reporting
warning

# /usr/local/e2fsprogs/sbin/e2fsck -fnv /dev/sda6
e2fsck 1.41.0 (10-Jul-2008)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found. Create? no

Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/sda6: ********** WARNING: Filesystem still has errors **********


63 inodes used (0.00%)
2 non-contiguous inodes (3.2%)
# of inodes with ind/dind/tind blocks: 12/11/11
463336 blocks used (1.77%)
0 bad blocks
1 large file

31 regular files
23 directories
0 character device files
0 block device files
0 fifos
0 links
0 symbolic links (0 fast symbolic links)
0 sockets
--------
54 files

# /usr/local/e2fsprogs/sbin/e2fsck -V
e2fsck 1.41.0 (10-Jul-2008)
Using EXT2FS Library version 1.41.0, 10-Jul-2008

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


2008-08-11 14:27:12

by Eric Sandeen

[permalink] [raw]
Subject: Re: [BUG] 2.6.27-rc1 - Filesystem warning on ext4 with e2fsck

Kamalesh Babulal wrote:
> Hi,
>
> After running the fsx linux test on the ext4 partition mounted with
> -o errors=panic,journal_async_commit, filesystem check is reporting
> warning
>
> # /usr/local/e2fsprogs/sbin/e2fsck -fnv /dev/sda6
> e2fsck 1.41.0 (10-Jul-2008)
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> /lost+found not found. Create? no
>
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
>
> /dev/sda6: ********** WARNING: Filesystem still has errors **********

Was lost+found manually removed between mkfs & fsck? (did you do an rm
-rf * or similar ?) That'd produce exactly the above warning, since you
told e2fsck "-n" ...

-Eric

2008-08-11 15:49:35

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: [BUG] 2.6.27-rc1 - Filesystem warning on ext4 with e2fsck

Eric Sandeen wrote:
> Kamalesh Babulal wrote:
>> Hi,
>>
>> After running the fsx linux test on the ext4 partition mounted with
>> -o errors=panic,journal_async_commit, filesystem check is reporting
>> warning
>>
>> # /usr/local/e2fsprogs/sbin/e2fsck -fnv /dev/sda6
>> e2fsck 1.41.0 (10-Jul-2008)
>> Pass 1: Checking inodes, blocks, and sizes
>> Pass 2: Checking directory structure
>> Pass 3: Checking directory connectivity
>> /lost+found not found. Create? no
>>
>> Pass 4: Checking reference counts
>> Pass 5: Checking group summary information
>>
>> /dev/sda6: ********** WARNING: Filesystem still has errors **********
>
> Was lost+found manually removed between mkfs & fsck? (did you do an rm
> -rf * or similar ?) That'd produce exactly the above warning, since you
> told e2fsck "-n" ...
>
> -Eric
> --
Hi Eric,

Yes, the test program does a rm -rf * of the partition and
usr/local/e2fsprogs/sbin/e2fsck -fvp /dev/sda6 helps. Sorry
for the noise.

--
Thanks & Regards,
Kamalesh Babulal.