Re: [CentOS] Need resize a partition LVM2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks for the reply but I'm still a bit confused... My filesystem was ext3 not ext2. I realize that many of the ext2 filesystem commands can be used with ext3 filesystems but they need to specify that the file system is ext3... I believe I had tried several of these commands but couldn't figure out how to specify that I wanted to do it to ext3. Can this be done while the file system is mounted (I have an AIX background which uses LVM and jfs which has been possible for years)?

Thanks,

james
----- Original Message -----
From: Barry L. Kline <blkline@xxxxxxxxxxxxx>
To: CentOS mailing list <centos@xxxxxxxxxx>
Sent: Thursday, November 30, 2006 11:55:24 AM GMT-0500 US/Eastern
Subject: Re: [CentOS] Need resize a partition LVM2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


James Marcinek wrote:
> Can you give an example of the resize2fs command with an ext3 file system?
> Several months ago I was able to extend the logical volume but killed my file system while trying to extend the it...
> 
> Thanks,
> 

Extend the logical partition "logical_name" by 100Mb:

lvextend -L+100M /dev/vg0/logical_name

ext2online /dev/vg0/logical_name

That's all there is to it.  You of course have to use your own volume
group and logical partition names.

Barry



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFFbwz8CFu3bIiwtTARAsl+AJ4qSSyXovGSa92AOWSC1T91Hewc+QCdHu9S
u31dQZdkW09JktZQv7+dwR4=
=vLM+
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux