Configuring Nodes with CentOS 7
This configuration is part of the configuration of the virtual machines in your Azure cloud infrastructure, which you will use for subsequent CloudBlue Commerce cloud deployment.
For nodes with CentOS 7, resize disk partitions to use all the available disk space:
-
To actualize the size of the partition, install
cloud-utils-growpart
:# sudo yum install -y cloud-utils-growpart
-
Find the partition of the root mount point:
# df --output=source /
-
Resize the partition which you found. For example:
# sudo growpart /dev/sda 2
Where
/dev/sda2
is the found root mountpoint -
Reallocate the partition. For example:
# sudo xfs_growfs -d /dev/sda2
-
Reboot the node:
# reboot
-
Check to make sure that the partition has the right size:
# df -h