New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Increasing the disk space

Started by anandmys, October 26, 2026, 08:16:05 AM

Previous topic - Next topic

anandmys

I am running AL 8.10 with cwp 1.27

I am using an VPS with 200GB Disk Space

What is the process to increase the disk allocation if I upgrade my storage?

Currently my /dev/sda2   / is 85% used

Update


Fdisk info:
Disk /dev/sda: 400 GiB, 429496729600 bytes, 838860800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7300f1ed

Device     Boot   Start       End   Sectors  Size Id Type
/dev/sda1  *       2048   2050047   2048000 1000M 83 Linux
/dev/sda2       2050048 838860766 836810719  399G 83 Linux
Software RAID:
Personalities :
unused devices:
Partition info:
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        3.8G     0  3.8G   0% /dev
tmpfs           3.8G     0  3.8G   0% /dev/shm
tmpfs           3.8G   19M  3.8G   1% /run
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/sda2       195G  155G   31G  84% /
/dev/sda1       966M  266M  634M  30% /boot
tmpfs           770M     0  770M   0% /run/user/0

anandmys

I could complete this with following steps.

lsblk

echo 1 > /sys/class/block/sda/device/rescan


yum install cloud-utils-growpart -y

growpart /dev/sda 2

lsblk to verify

Check filesystem type

df -Th /

As mine was ext4

resize2fs /dev/sda2

df -Th /

verify that changes are done

overseer

Yes, that is workable -- I've done that in the past. Of course, it all depends on if you are using traditional partitions or LVM. If traditional partitions, you have to recreate the partition with fdisk, then grow the filesystem. With LVM, you have to use appropriate LVM tools. And I am more used to XFS than EXT4, but either one is doable. First step is to do a FULL image backup before proceeding, in case something goes awry.