yum install -y cloud-utils-growpart df -h(以/dev/sda1这个盘为准) growpart /dev/sda 1 (上面1前面有个空格) resize2fs /dev/sda1