Resize2fs command is unable to on-line extend a mounted ext2 filesystem in Red Hat Enterprise Linux 5 & 6

Solution Verified - Updated -

Issue

  • Resize2fs command is unable to on-line extend a mounted ext2 filesystem. When executing the resize2fs command to on-line extend an ext2 filesystem, following error messages are seen:
  • RHEL 5:
        # cat etc/fstab |grep lv01

        /dev/mapper/vg00-lv01 on /mnt type ext2 (rw)

        # resize2fs /dev/vg00/lv01 
        resize2fs 1.39 (29-May-2006)
        Filesystem at /dev/vg00/lv01 is mounted on /mnt; on-line resizing required
        resize2fs: Filesystem does not support online resizing
  • RHEL 6:
        # cat etc/fstab |grep lv01

        /dev/mapper/vg00-lv01 on /mnt type ext2 (rw)

        # resize2fs /dev/vg00/lv01 
        resize2fs 1.41.12 (17-May-2010)
        Filesystem at /dev/vg00/lv01 is mounted on /mnt; on-line resizing required 
        old desc_blocks = 1, new_desc_blocks = 1
        resize2fs: Kernel does not support online resizing

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content