[Bug 1806272] Re: resize2fs results in ext4 filesystem with warning/errors

Tor Stenvaag tor at agromatic.no
Mon Dec 3 08:24:07 UTC 2018


The maint branch indeed fixed the problem. Output attached. Thanks for
your effort.

(There is still a "warning" about "extent tree (at level 1) could be
narrower.  Fix<y>? yes" when running e2fsck after resize. When selecting
yes and running the e2fsck once more the warning is still present.)

root at vedlikehold:~# lvresize --resizefs -l 11776 /dev/skole-vg/root
fsck from util-linux 2.31.1
/dev/mapper/skole--vg-root: clean, 139206/8331264 files, 3274416/33294336 blocks
resize2fs 1.44.4 (18-Aug-2018)
Resizing the filesystem on /dev/mapper/skole--vg-root to 12058624 (4k) blocks.
The filesystem on /dev/mapper/skole--vg-root is now 12058624 (4k) blocks long.

  Size of logical volume skole-vg/root changed from <127.01 GiB (32514 extents) to 46.00 GiB (11776 extents).
  Logical volume skole-vg/root successfully resized.
root at vedlikehold:~# e2fsck -f /dev/skole-vg/root
e2fsck 1.44.4 (18-Aug-2018)
Pass 1: Checking inodes, blocks, and sizes
Inode 8 extent tree (at level 1) could be narrower.  Fix<y>? yes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/skole-vg/root: 139206/3014656 files (0.2% non-contiguous), 2938632/12058624 blocks

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1806272

Title:
  resize2fs results in ext4 filesystem with warning/errors

Status in e2fsprogs package in Ubuntu:
  New

Bug description:
  Resized (downsized) an offline ext4 filesystem on LVM. Before
  resizing, I confirmed filesystem was clean with e2fsck. After
  resizing, several warnings/errors were found. Tried first with version
  1.44.1 from Ubuntu 18.04.1 LTS. Then I compiled the 1.44.4 source, but
  the error was still present. Using ESXi 6.7 and starts with a fresh
  copy of the filesystem before each run.

  root at vedlikehold:~# e2fsck -f /dev/skole-vg/root 
  e2fsck 1.44.4 (18-Aug-2018)
  Pass 1: Checking inodes, blocks, and sizes
  Pass 2: Checking directory structure
  Pass 3: Checking directory connectivity
  Pass 4: Checking reference counts
  Pass 5: Checking group summary information
  /dev/skole-vg/root: 139206/8331264 files (0.2% non-contiguous), 3274416/33294336 blocks
  root at vedlikehold:~# resize2fs -P /dev/skole-vg/root
  resize2fs 1.44.4 (18-Aug-2018)
  Estimated minimum size of the filesystem: 3337578
  root at vedlikehold:~# lvresize --resizefs -l 11776 /dev/skole-vg/root
  fsck from util-linux 2.31.1
  /dev/mapper/skole--vg-root: clean, 139206/8331264 files, 3274416/33294336 blocks
  resize2fs 1.44.4 (18-Aug-2018)
  Resizing the filesystem on /dev/mapper/skole--vg-root to 12058624 (4k) blocks.
  The filesystem on /dev/mapper/skole--vg-root is now 12058624 (4k) blocks long.

    Size of logical volume skole-vg/root changed from <127.01 GiB (32514 extents) to 46.00 GiB (11776 extents).
    Logical volume skole-vg/root successfully resized.
  root at vedlikehold:~# e2fsck -f /dev/skole-vg/root 
  e2fsck 1.44.4 (18-Aug-2018)
  Pass 1: Checking inodes, blocks, and sizes
  Inode 8 extent tree (at level 1) could be narrower.  Fix<y>? yes
  Inode 44075 extent block passes checks, but checksum does not match extent
  	(logical block 10240, physical block 421888, len 8691)
  Fix<y>? yes
  Inode 44083 extent block passes checks, but checksum does not match extent
  	(logical block 51200, physical block 3414016, len 10293)
  Fix<y>? yes
  Inode 44087 extent block passes checks, but checksum does not match extent
  	(logical block 34816, physical block 3444736, len 574)
  Fix<y>? yes
  Inode 44091 extent block passes checks, but checksum does not match extent
  	(logical block 28672, physical block 4087808, len 7804)
  Fix<y>? yes
  Inode 44093 extent block passes checks, but checksum does not match extent
  	(logical block 26624, physical block 4030464, len 351)
  Fix<y>? yes
  Inode 44106 extent block passes checks, but checksum does not match extent
  	(logical block 49152, physical block 1308672, len 8370)
  Fix<y>? yes
  Inode 44112 extent block passes checks, but checksum does not match extent
  	(logical block 69632, physical block 1607680, len 16969)
  Fix<y>? yes
  Inode 44116 extent block passes checks, but checksum does not match extent
  	(logical block 2848, physical block 7861156, len 178)
  Fix<y>? yes
  Inode 44117 extent block passes checks, but checksum does not match extent
  	(logical block 1592, physical block 7862368, len 98)
  Fix<y>? yes
  Inode 44119 extent block passes checks, but checksum does not match extent
  	(logical block 2150, physical block 15663, len 134)
  Fix<y>? yes
  Inode 44120 extent block passes checks, but checksum does not match extent
  	(logical block 24934, physical block 5329460, len 1014)
  Fix<y>? yes
  Inode 44122 extent block passes checks, but checksum does not match extent
  	(logical block 734, physical block 3257320, len 44)
  Fix<y>? yes
  Pass 2: Checking directory structure
  Pass 3: Checking directory connectivity
  Pass 4: Checking reference counts
  Pass 5: Checking group summary information
  /dev/skole-vg/root: 139206/3014656 files (0.2% non-contiguous), 2938632/12058624 blocks
  root at vedlikehold:~#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1806272/+subscriptions



More information about the foundations-bugs mailing list