Online resize2fs hangs on RHEL5 and 6

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 5.5 or older
    • kernel versions < 2.6.18-194.el5
  • Red Hat Enterprise Linux 6.4 or older
    • kernel version < 2.6.32-358.el6

Issue

  • Online resize of an ext3 fs fails
  • System keeps working normally for a few minutes, then freezes
  • It is possible to log in on the console or via ssh, but never gets to the prompt (ctrl-c or ctrl-z doesn't help either)

Resolution

Apply following errata update which provides the updated version of kernel containing the fix for this bug:

Root Cause

RHEL 5: See bug 525100 for more information on this issue.

Diagnostic Steps

The following is the call trace of the problematic resize2fs process:

    localhost kernel: resize2fs     D ffff81000103e980     0  7145 
     3014                6274 (NOTLB)
    ...
    localhost kernel: Call Trace:
    localhost kernel:  [<ffffffff88035fc7>] :jbd:journal_cancel_revoke+0x8e/0xb5
    localhost kernel:  [<ffffffff88032002>] :jbd:start_this_handle+0x2e5/0x36c
    localhost kernel:  [<ffffffff8009db21>] autoremove_wake_function+0x0/0x2e
    localhost kernel:  [<ffffffff880312e8>] :jbd:__journal_file_buffer+0x13e/0x243
    localhost kernel:  [<ffffffff88058491>] :ext3:extend_or_restart_transaction+0x31/0x6b
    localhost kernel:  [<ffffffff8805942a>] :ext3:ext3_group_add+0x8ac/0x11c3
    localhost kernel:  [<ffffffff8009db4f>] wake_bit_function+0x0/0x23
    localhost kernel:  [<ffffffff8805138c>] :ext3:ext3_ioctl+0x4f8/0x588
    localhost kernel:  [<ffffffff80063097>] thread_return+0x62/0xfe
    localhost kernel:  [<ffffffff80041b62>] do_ioctl+0x55/0x6b
    localhost kernel:  [<ffffffff8002fd1e>] vfs_ioctl+0x248/0x261
    localhost kernel:  [<ffffffff8004c0a3>] sys_ioctl+0x59/0x78
    localhost kernel:  [<ffffffff8005d28d>] tracesys+0xd5/0xe0

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.