[CentOS] Resize Logical Volume

Ivan Arteaga iarteaga at cwpanama.net
Thu Feb 14 22:02:49 UTC 2008


Max Hetrick wrote:
> -----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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>   
Max,

Thank you so much!!! I will try it and post any further inquiry.

Regards,

--Ivan.



More information about the CentOS mailing list