[CentOS] Need resize a partition LVM2

Fri Dec 1 10:17:25 UTC 2006
Peter Kjellstrom <cap at nsc.liu.se>

On Thursday 30 November 2006 11:54, Ferdinando Santacroce wrote:
> Hi all..
> On my little test server I have 40GB hard disk.
> I use LVM2, with 4 partitons: /boot, /home, /usr, /var
> I set Apache to work in /var/www.
> Now I added a 30GB hard disk to extend /var.
> I regularly extended my volume group and the logical volume where /var
> stay. Now I need to umount /var to run a resize2fs to extend the /var

As I understand it ext2online is just as supported for resizing ext3 
filesystems as resize2fs (assuming Centos-4). No need to unmount, just run:
 ext2online /var

I have done this successfully more than one time.

/Peter

> partiton, but I see ever the same message: "device is busy"
> I tried to switch to runlevel 1, but no luck.
> My var uses quota, and the fs is ext3.
>
> Someone can help me?
> Thank you a lot guys!
>
> Nando
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20061201/5a08f40e/attachment-0002.sig>