如何在谷歌计算引擎上发展sda?

时间:2014-02-14 18:58:47

标签: linux centos

我是gce的新手,并试图扩展我的/ dev / sda磁盘。 我怎样才能做到这一点? 我已经为我的实例添加了200Gb磁盘,然后在其上创建文件系统。 这是fdisk -lu结果:

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

但是当我运行df -h时,结果是:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             9.9G  998M  8.4G  11% /
tmpfs                 851M     0  851M   0% /dev/shm

我该怎么办? 请帮忙.. 感谢..

0 个答案:

没有答案