I am new in gce and try to grow my /dev/sda disk. As my data would break the persistent disk's limit, I want to grow it.
how can I do that? I have added 200Gb disk to my instance, then make file system on it. this is fdisk -lu result:
Disk /dev/sda: 10.7 GB, 10737418240 bytes
4 heads, 32 sectors/track, 163840 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0004a990
Device Boot Start End Blocks Id System
/dev/sda1 2048 20969472 10483712+ 83 Linux
Disk /dev/sdb: 214.7 GB, 214748364800 bytes
86 heads, 25 sectors/track, 195083 cylinders, total 419430400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x70f99a87
Device Boot Start End Blocks Id System
/dev/sdb1 2048 419430399 209714176 83 Linux
But when I am running df -h, the result is:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 998M 8.4G 11% /
tmpfs 851M 0 851M 0% /dev/shm
what should I do? Please help.. thanks..