Getting the error "resize2fs: New size too large to be expressed in 32 bits" while trying to resize ext3 or ext4 filesystem
Issue
- Extended an existing Logical Volume to a size larger than 16 TiB and getting the following error while attempting to resize an ext3 or ext4 filesystem on top of it:
# resize2fs /dev/vg00/lv00
resize2fs 1.41.12 (17-May-2010)
resize2fs: New size too large to be expressed in 32 bits
- The
lvdisplay
andvgdisplay
commands shows the logical volume size as 16TiB.
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
lv00 vg00 -wi-ao---- 16.00t /dev/sdg(0)
LV Path /dev/vg00/lv00
LV Name lv00
VG Name vg00
LV UUID mjcvWA-u750-sCi9-ZQEJ-cMvS-6Foe-8pqSYm
LV Write Access read/write
LV Creation host, time test, 2013-04-11 15:52:49 -0700
LV Status available
# open 2
LV Size 16.00 TiB
Current LE 4194558
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:5
Environment
- Red Hat Enterprise Linux 6
- Logical Volume Management (LVM2)
- Ext3 and ext4 Filesystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.