Knowledge Base

HomepageKnowledge BaseCentos 7 How to do a Centos 7 disk expansion...

How to do a Centos 7 disk expansion ?

Hello, in this article we will show you how to do Centos 7 disk expansion in a very short time and in a simple way. If you enter the following commands sequentially, the disk expansio

  • parted /dev/sda --script mkpart primary $(parted /dev/sda print | grep lvm | awk '{print $3}') 100%
  • pvcreate /dev/sda3
  • vgextend cl /dev/sda3
  • lvextend /dev/cl/root /dev/sda3
  • xfs_growfs /dev/cl/root

n process will be provided without any problems.

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(48 times viewed / 1 people found it helpful)