h1

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?

Resolution:

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
About these ads

One comment

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

    http://www.digitalinux.com/2010/11/lvm-logical-volume-manager.html



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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: