I have a disk which I resized to 500 GB from 10 Gb.
sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 10G 0 disk
└─sda1 8:1 0 10G 0 part /var/lib/docker/aufs
sdb 8:16 0 5G 0 disk
└─sdb1 8:17 0 5G 0 part /home
zram0 254:0 0 768M 0 disk [SWAP]
However, it seems that the disk does not automatically repartition, even though the documentation says so:
https://cloud.google.com/compute/docs/disks/create-root-persistent-disks#repartitionrootpd
My GC runs on Debian, and the description for Debian says that it automatically repartitions.
I also tried running this command:
sudo resize2fs /dev/[DISK_ID]
entering test1 for DISK_ID.
Still, nothing happens, and my partition stays the same size.
Could anyone please help?
Thanks, Matthew