growpart: no tools available to resize disk with 'gpt'

If you get the following message while trying to resize GPT partition:


[root@localhost ~]# growpart /dev/sda 1
no tools available to resize disk with 'gpt'
FAILED: failed to get a resizer for id ''
 
This is because you are missing the package: gdisk
 
Install it, and the problem is solved:
 
[root@localhost ~]# yum -y install gdisk