[CentOS] Changing ext3 Partition Size

Barry Brimer lists at brimer.org
Fri Feb 8 17:24:59 UTC 2008


Quoting Scott Moseman <scmoseman at gmail.com>:

> I have an ext3 partition from our SAN.  The size was increased.
> I am attempting to re-size this specific ext3 partition, obviously.
>
> I unmount the partition, run fdisk, change the cyls, and save...
>
> WARNING: Re-reading the partition table failed with error 22: Invalid
> argument.
> The kernel still uses the old table.
> The new table will be used at the next reboot.
>
> And that is the message that I receive after I attempt the save.
> I did attempt a reboot to see if it did anything, but it did not help.

What version of CentOS?

If you have already resized the partition, you then need to extend the
filesystem.

For CentOS 4, use ext2online, for CentOS 5, use resize2fs.

Barry



More information about the CentOS mailing list