[CentOS] Need resize a partition LVM2
jmarc1 at jemconsult.biz
Thu Nov 30 17:04:33 UTC 2006
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)?
----- Original Message -----
From: Barry L. Kline <blkline at attglobal.net>
To: CentOS mailing list <centos at centos.org>
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-----
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...
Extend the logical partition "logical_name" by 100Mb:
lvextend -L+100M /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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-----END PGP SIGNATURE-----
CentOS mailing list
CentOS at centos.org
More information about the CentOS