Re: Resize Logical Volume

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



-----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-----
_______________________________________________
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