[CentOS] is it safe to resize root, on an LVM system, online?

Gordon Messmer yinyang at eburg.com
Mon Jul 12 20:56:57 UTC 2010


On 07/12/2010 05:15 AM, Max Hetrick wrote:
> There should be no issues doing it live.
>
> # lvextend -L+1G /dev/myvg/myvol
> # resize2fs /dev/myvg/myvol
>    

Though I'm late to the party, I'd like to note that "fsadm" can be used 
as well:

fsadm -e -y resize /dev/myvg/myvol 4G




More information about the CentOS mailing list