Resize2fs command is unable to on-line extend a mounted ext2 filesystem in Red Hat Enterprise Linux 5 & 6
Issue
- Resize2fs command is unable to on-line extend a mounted
ext2filesystem. When executing theresize2fscommand to on-line extend anext2filesystem, 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
