Answers for "resize disk vm gcp"

1

resize disk 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
Posted by: Guest on July-22-2021
0

resize disk gcp

# if you has been resizing disk capacity, try rebooting your server/instance by running:
sudo reboot
Posted by: Guest on July-22-2021

Browse Popular Code Answers by Language