[CentOS] Need resize a partition LVM2
Barry L. Kline
blkline at attglobal.net
Thu Nov 30 16:55:24 UTC 2006
-----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-----
More information about the CentOS
mailing list