RE: Segmentation fault when running resize2fs (RHEL4) on 12TBs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, to answer my question, since I have a backup of the data I figured I'd give the ext2online a try and it appears to have completed successfully.

I'd be interested in hearing if the EL4 version of resize2fs is only meant for ext2 or if there is a size limitation that could be causing the segfault.

Regards

Mike

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

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@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxx
Information Systems Specialist II
IT HPCS / Research Computing



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

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

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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux