Skip to contentSkip to conversation

2.6.27-rc1 - ext4 e2fsck false prompting for fixing i_size of Inode

BUG Kamalesh Babulal 1 participant 1 message Aug 13, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

While running e2fsck over the partition which was ext4 mounted, the e2fsck suggest fixing the Inode with the same i_size value as the existing one.

The partition is of size 135GB, I created 13 files each of 10GB using dd if=/dev/zero of=<filename> bs=1024 count=10485760 and filesystem check on the partition prompts for following fixing

/usr/local/e2fsprogs/sbin/e2fsck -fnv /dev/sdb5
e2fsck 1.41.0 (10-Jul-2008)
Pass 1: Checking inodes, blocks, and sizes
Inode 12, i_size is 10737418240, should be 10737418240. Fix? no Inode 524289, i_size is 10737418240, should be 10737418240. Fix? no Inode 655361, i_size is 10737418240, should be 10737418240. Fix? no

Inode 1835009, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 2490369, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 2621441, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 3801089, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 4587521, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 4587522, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 4587523, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 4587524, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 4587525, i_size is 10737418240, should be 10737418240.  Fix? no
Inode 4587526, i_size is 10737418240, should be 10737418240.  Fix? no

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

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

      24 inodes used (0.00%)
       1 non-contiguous inode (4.2%)
         # of inodes with ind/dind/tind blocks: 13/13/13

34689232 blocks used (96.80%)
0 bad blocks
14 large files

13 regular files
2 directories
0 character device files
0 block device files
0 fifos
0 links
0 symbolic links (0 fast symbolic links)
0 sockets
--------
15 files

# /usr/local/e2fsprogs/sbin/e2fsck -V
e2fsck 1.41.0 (10-Jul-2008)
        Using EXT2FS Library version 1.41.0, 10-Jul-2008
Signature · 4 lines
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.