How to Extend the /home Volume on a Utixo CentOS 7 VPS (WHM) Print

  • 4

 

How to Extend the /home Volume on a Utixo CentOS 7 VPS (WHM)

This guide outlines the steps to extend the /home volume on a Utixo VPS running CentOS 7 standard with WHM/cPanel interface.

 

1. Extend the physical disk from VMware console

Log in to the VMware control panel and increase the disk size allocated to the virtual machine.

 

2. Resize the partition using GParted

  1. Mount the GParted ISO image to the VPS.
  2. Reboot the server and boot from the ISO.
  3. Use the GParted interface to extend the physical partition corresponding to /home.
  4. Once complete, detach the ISO and reboot the VPS normally.

 

3. Extend the logical volume

Access the VPS via console and log in as root.

Check disk and volume information

df -h

Note the exact logical volume name associated with /home (e.g., /dev/cl/home).

Extend the logical volume

lvextend -l +100%FREE /dev/cl/home

Replace the volume name if different.

Resize the XFS file system

xfs_growfs /dev/cl/home

This command resizes the file system to use the newly available space.

 

📌 Important

This procedure is valid only for Utixo WHM servers running CentOS 7 with the XFS file system and LVM-based storage.

 


Was this answer helpful?

« Back