resize2fs hang bug still lingering

Bug #1682639 reported by Þór Sigurðsson on 2017-04-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
e2fsprogs (Ubuntu)
Undecided
Unassigned

Bug Description

This bug is flagged numerous times in 1321958 and repeatedly marked cleared. It's still there though.

root@uneca-fs:~# cat /etc/issue | grep -i ubuntu && uname -a && aptitude show e2fsprogs | grep -i version
Ubuntu 14.04.5 LTS \n \l
Linux uneca-fs 3.19.0-65-generic #73~14.04.1-Ubuntu SMP Wed Jun 29 21:05:22 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Version: 1.42.9-3ubuntu1.3

root@uneca-fs:~# lvdisplay /dev/vg_data/lv_wodroot | grep "LV Size" && df -h /exports/wodroot
  LV Size 50.82 TiB
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_data-lv_wodroot 45T 42T 605G 99% /exports/wodroot

running "resize2fs -p /dev/mapper/gv_data-lv_wodroot" will cause it to hang in ~100% cpu.

An strace shows that it opens up the device, sets the flags and then hangs on a read.

Unfortunately I can't find older e2fsprogs packages to install :/

Theodore Ts'o (tytso) wrote :

I would recommend doing an on-line resize. That code path should work for you.

As far as why the off-line resize is hanging, you would need to run it with debugging symbols under gdb and then stop it and submit a stack trace so we can see where it is hanging.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers