Centos6 安装growpart

1年前 ( 02-20 ) 1023阅读 0评论
这篇文章最后更新于455天前,您需要注意相关的内容是否还可用,如有疑问请联系作者!

https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/Packages/c/cloud-utils-growpart-0.27-10.el6.x86_64.rpm

[root@localhost ~]# rpm -qa | grep cloud-initcloud-init-0.7.5-10.el6.centos.2.x86_64
[root@localhost ~]# rpm -qa | grep growpart
[root@localhost ~]# rpm -qa | grep growroot[root@localhost ~]#
  1. Download cloud-utils-growpart-0.27-10.el6.x86_64.rpm and upload it to the VM as instructed in Upload Required Software Packages.

    You can download the package from:

    https://dl.fedoraproject.org/pub/epel/

  2. Run the following command to install cloud-utils-growpart:

    rpm -ivh cloud-utils-growpart-0.27-10.el6.x86_64.rpm

    [root@localhost redhat]# rpm -ivh cloud-utils-growpart-0.27-10.el6.x86_64.rpmPreparing...                 ############################### [100%]
       1:cloud-utils-growpart    ############################### [100%]
    [root@localhost redhat]#
  3. Install dracut-modules-growroot.

    1. Run the following command:

      yum install -y https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/epel-release-6-8.noarch.rpm

    2. Run the yum install dracut-modules-growroot command to install dracut-modules-growroot online.

      Enter y when the message Is this ok [y/N] is displayed.

    3. Run the dracut -f command to update the kernel.

  4. Run the commands in 1 again to check whether cloud-init, cloud-utils-growpart and dracut-modules-growroot are successfully installed.

image.png

文章版权声明:除非注明,否则均为IT技术交流分享 IDC管理计费系统 私有云管理系统 PVE管理系统 私有云系统原创文章,转载或复制请以超链接形式并注明出处。
取消
支付宝二维码
支付宝二维码
微信二维码