cPanel¶
Your virtual server will be provisioned with 2 virtual disks, one with 10 GB capacity (vda) and one with the disk size you’ve ordered (vdb).
By default, cPanel uses the /home folder to store the data, which is on the root filesystem on the first virtual drive vda with a capacity of 10GB, so you may need to change the mount point of this directory to the ordered disk space on vdb to use the ordered full storage space.
There are two possible options:
1. You can reinstall your server manually and use vdb as the root partition. You can find our guides here: http://kb.ultravps.eu/kvm-cloud-server/installation/index.html
2. In case that cPanel is already installed, you can stop the cPanel services and move your data to your virtual drive vdb and then mount it to the path where cpanel stores its data. You can use the following guide on CentOS 7:
Backup your data! First of all, please backup your data!
Stop the services:
systemctl stop tailwatchd
systemctl stop cpanel
systemctl stop httpd
systemctl stop mysql
systemctl stop exim
systemctl stop dovecot
Move all data from /home to /data:
mv /home/* /data
mv /home/.cp* /data
Unmount /data (vdb1):
umount /data
Edit /etc/fstab to change the mount point:
Old:
/dev/vdb1 /data ext4 defaults 0 0
New:
/dev/vdb1 /home ext4 defaults 0 0
Save the file and mount all partitions:
mount -a
Verify that vdb is now mounted as /home:
df -h
Example output:
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
devtmpfs 486M 0 486M 0% /dev
tmpfs 496M 0 496M 0% /dev/shm
tmpfs 496M 50M 446M 11% /run
tmpfs 496M 0 496M 0% /sys/fs/cgroup
/dev/vda3 8,6G 5,6G 3,0G 66% /
/dev/vdb1 30G 13G 17G 43% /home
Start cPanel services again:
systemctl start tailwatchd
systemctl start cpanel
systemctl start httpd
systemctl start mysql
systemctl start exim
systemctl start dovecot
Done! Please verify that everything is ok from your end.
Please note also, that we don’t provide software support for cPanel. If you need further assistance for the installation/configuration, you can contact cPanel support.