[CentOS] Resize Logical Volume
Max Hetrick
maxhetrick at verizon.net
Thu Feb 14 20:06:48 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ivan Arteaga wrote:
> I have a CentOS 4.4 running on a server with a 136GB hard drive, i have
> three different logical volumens and i would like to resize one of them
> ( / ) with some idle space remaining in the hard drive. Can i do it with
> the server running or should i use the boot cd in order to do that?
Hi, Ivan.
You can extend it while running, but can't decrease the size while running.
To extend.
lvextend -L+1G /dev/yourvg/volume
resize2fs /dev/yourvg/volume
Regards,
Max
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFHtJ9XIXSX/6LmsXkRAkWnAKCQ3izIdYUklHBE90PKEtGJcrfuTgCffa6/
und0G4izWwrFvXms0tetO9U=
=tBw8
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list