扩展gpt分区报错no tools available to resize disk with ‘gpt’

  • A+
所属分类:Linux

扩展gpt分区报错no tools available to resize disk with 'gpt'

growpart /dev/sda 1
no tools available to resize disk with 'gpt'
FAILED: failed to get a resizer for id ''

要解决no tools available to resize disk with ‘gpt’问题,我们需要安装gdisk软件包,gpt分区管理需要此软件包。使用以下命令安装gdisk软件包。

针对CentOS/RHEL/Fedora系统:

$ sudo yum -y install cloud-utils-growpart gdisk

针对Ubuntu/Debian系统:

$ sudo apt install cloud-guest-utils gdisk

安装gdisk工具之后,您现在应该可以使用growpart扩展磁盘的大小

 

 

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: