sudo fdisk /dev/sda
# Press the following keyboard commands...
# c [enter]
# u [enter]
# p [enter]
# note the "Id" number, often "83"
# d [enter]
# n [enter]
# p [enter]
# 1 [enter]
# [enter] for default of 2048
# [enter] for default of end of disk
# p [enter] and confirm that the "Id" is the same as it was earlier, often "83"
# w [enter]
sudo reboot
我也在找这个,在official documentation page找到了答案。我认为最好创建一个这样的持久磁盘,然后创建一个快照,并在创建新的20GB实例时使用它。在
虽然GCE启动脚本不是自动的,但您可以手动执行。在
创建大于默认值10GB的引导磁盘时,以下是如何获得所有磁盘空间的方法:
重新登录,然后。。。在
^{pr2}$在前后运行
df -hT
以查看应用的差异。在相关问题 更多 >
编程相关推荐