CentOS ARM or EulerOS ARM
For CentOS ARM and EulerOS ARM, you must install three packages to enable the root partition to automatically expand disk capacity: Cloud-Init, cloud-utils-growpart, and gdisk. Cloud-Init has been installed in section Installing Cloud-Init.
This section uses CentOS 7.6 ARM as an example to describe how to install the packages. The procedure also applies to other OSs.
- Check whether Cloud-Init and cloud-utils-growpart are installed. If not, perform subsequent operations in this section to install them.
[root@localhost ~]# rpm -qa | grep cloud-init cloud-init-0.7.5-10.el7.centos.1.x86_64 [root@localhost ~]# rpm -qa | grep growpart [root@localhost ~]#
- Run the following command to install cloud-utils-growpart:
- Check whether gdisk is installed.
[root@localhost ~]# rpm -qa | grep gdisk [root@localhost ~]#
If not, run the yum install gdisk command to install the gdisk package.
- After the installation is complete, check whether the installation is successful.
[root@localhost ~]# rpm -qa | grep growpart cloud-utils-growpart-0.29-2.el7.noarch [root@localhost ~]# rpm -qa | grep gdisk gdisk-0.8.10-3.el7.x86_64
Last Article: CentOS 7, Red Hat 7, and Oracle Linux 7
Next Article: EulerOS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.