lvextend --resize does not resize ext4 based underlying filesystem
Issue
- After executing the 'lvextend' command with the '-r' option:
#lvextend -L <size> -r -v /name/of/logical-volume
- The ext4 filesystem should Auto-resize itself instead of manually performing 'resize2fs' after performing 'lvextend'.
- While checking for filesystem features:
# tune2fs -l /name/of/logical-volume
tune2fs 1.39 (29-May-2006)
tune2fs: Filesystem has unsupported feature(s) while trying to open /name/of/logical-volume
Couldn't find valid filesystem superblock.
Environment
- Red Hat Enterprise Linux (RHEL5)
- Logical Volume Manager (LVM2) managed volumes
- LVM2 version prior to lvm2-2.02.88-7.el5
- Ext4 filesystem
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.
