Resize an ext2 or ext3 filesystem on Red Hat Enterprise Linux 4?

June 3, 2006

Is it possible to resize an ext2 or ext3 filesystem on Red Hat Enterprise Linux 4?


It is possible to resize an ext2 or ext3 filesystem in Red Hat Enterprise Linux 4.

Currently the only way to do so is by using the ext2online command. This can only be done when the filesystem is online (mounted) and where the the filesystem is on a resizable logical volume. Red Hat Enterprise Linux 4 sets up the root filesystem (/) on LVM2 logical volumes by default during system installation.

It may be necessary to add physical volumes to the logical volumes and the volume group, as well as extend the logical volume before resizing the filesystem.

Also note that there are restrictions on what you are able to do with the ext2online program:

  • Currently you can only increase the size of the filesystem. It is not possible to reduce a filesystem's size
  • The filesystem currently may be increased in size by the order of 1000. For example an original filesystem created at 100MB in size can only be increased up to 1000 times it's original size:100MB x 1000 = 100000MB


  1. Thank you for making this awesome and wonderful works of yours!!keep it up!
    You can get more information from the below url,

  2. Felt so hopeless looking for answers to my qu..niotss.euntil now.

  3. and couldn’t agree more. Glad to see you’ve joined the blogger ranks too. Hope all’s well and hopefully bump into you again soon. Oh, and congratulations on becoming a grandfather – you must be proud as punch. Thanks, Mark

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: