Segmentation fault when running resize2fs (RHEL4) on 12TBs

Mike Hanby mhanby at uab.edu
Mon Dec 7 15:26:48 UTC 2009


I did find a reply by Nigel Wade earlier this year that seems to indicate that in RHEL4, resize2fs is only for offline ext2 filesystems and not ext3?

" In RH4 you can use ext2online to expand a live partition. With RH5 this facility has been 
rolled into resize2fs which can expand a live ext3 partition (note that this is in direct 
contradiction to the information in the link you posted). resize2fs can only resize an 
ext2 partition offline."

Reading the man file gave the impression that resize2fs supports both ext2 and ext3 "resize2fs -ext2/ext3 file system resizer". The rest of the man file only references ext2, however.

Looks like ext2online may be the way to go.

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Mike Hanby
Sent: Monday, December 07, 2009 9:21 AM
To: General Red Hat Linux discussion list
Subject: Segmentation fault when running resize2fs (RHEL4) on 12TBs

I added 8 additional TB to a virtual disk on our SAN bringing its size to 12TB.

The disk is the single member of a volume group (vg00) which then has a single logical volume (lv00) that I'm trying to grow to use all 12TB.

The OS is RHEL4 x86_64 and the file system is ext3. lvdisplay confirms that the logical volume has been expanded to the new number of extents.

I've made sure to run fsck.ext3 on /dev/vg00/lv00 before running resize2fs

When I attempt to run resize2fs (should I be running something else?), with the file system unmounted, it will segfault after a while.

# resize2fs -p /dev/vg00/lv00 
resize2fs 1.35 (28-Feb-2004)
Resizing the filesystem on /dev/vg00/lv00 to -1366295552 (4k) blocks.
Begin pass 1 (max = 52136)
Extending the inode table     XXXXXXXXXXXXXXXXXXXXXSegmentation fault-

Should I instead mount it and use ext2online to resize it?

Thanks for any suggestions,

Mike
=================================
Mike Hanby
mhanby at uab.edu
Information Systems Specialist II
IT HPCS / Research Computing



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list