Forum Navigation
You need to log in to create posts and topics.

Resize root volume without rebooting – centos7 / centos8


User wants to extended root volume ( lvm system must be configured and used ) without rebooting the operating system


login as root or use sudu

Add additional disk ( physical  or virtual  )

reboot the system or follow this post ”Add extra disk without rebooting”

check that the new disk available ( the following command will show you disk sizes )

fdisk -l

Assuming the device you added is /dev/sdb add physical volume

pvcreate /dev/sdb

list volumegroups and find the vg you want to add


extended it with the new disk ( add the new disk to the volume group )

vgextend centos /dev/sdc

extended entire diskspace of  logical volume

lvextend -l+100%FREE /dev/centos/root

resizing ext2/ext3/ext4

resize2fs -p /dev/centos/root

resizing extfs

xfs_growfs /




Uploaded files: