Zmiana dyska VM GCP
$ sudo apt install -y cloud-utils # Debian jessie
$ sudo apt install -y cloud-guest-utils # Debian stretch, Ubuntu
$ yum install -y cloud-utils # CentOS
$ sudo growpart /dev/sda 1
$ sudo resize2fs /dev/sda1
if this happen:
resize2fs: Bad magic number in super-block while trying to open /dev/sda1
Couldn't find valid filesystem superblock.
run this: $ xfs_growfs /dev/sda1
hirohito