Operating System - Linux
1823986 Members
4024 Online
109667 Solutions
New Discussion

Re: failed to extend the Linux ext3 filesystem using ext2online & resize2fs commands

 
SOLVED
Go to solution
S.S.
Super Advisor

failed to extend the Linux ext3 filesystem using ext2online & resize2fs commands

Hi,

 

Linux OS:  RHEL 4.2

 

I've successfully extended the existing VG with a new physical volume of size 500GB.  There is only 1 Logical Volume for that VG and successfully extended the existing LV with 500GB.

Now the LV size is as 1TB (previous size) + 500GB (increase size) = 1.47 TB ~ 1.5 TB (new size)

 

Thereafter, i proceeded to execute the last step to extend the filesystem size using ext2online command.

Initially it was error out that filesystem with errors and recommended to run e2fsck.

 

According to that ran e2fsck and then the filesystem is in Clean and hence proceeded to extend filesystem using ext2online, gives as below:

******************************************************

ext2online v1.1.18 - 2001/03/18 for EXT2FS 0.5b
ext2online: new size is same as current (262142976)

******************************************************

 

Later proceeded to do resizing by offline process using resize2fs.

resize2fs also gives as below:

 

****************************************************************************************

resize2fs 1.35 (28-Feb-2004)
The filesystem is already 262142976 blocks long.  Nothing to do!

*****************************************************************************************

 

Kindly help me how do i extend the filesystem??

 

Thank you very much in advance!!

 

 

1 REPLY 1
S.S.
Super Advisor
Solution

Re: failed to extend the Linux ext3 filesystem using ext2online & resize2fs commands

I was successfully extended the filesystem after server reboot.

Might be due to lower RHEL OS version, the online extension didn't work previously.

 

Problem solved!!