2017-08-05 107 views
0

我使用谷歌計算引擎,我得到什麼是常見問題不能通過SSH連接或任何手段due to Disk is too full。我已經調整了磁盤多次甚至x10的大小,但在計算引擎中可以看到更改,但ssh仍然無法連接,並且日誌仍然顯示磁盤已滿。磁盤太滿,調整大小沒有幫助或生效[谷歌計算引擎]

有沒有其他方法可以解決這個問題,我在那個引擎中有重要的數據/ mongodb?

  • 逐步調整幾次,並沒有幫助
  • 增加額外的磁盤,並沒有幫助
  • 試圖通過startup-script刪除一些文件,並沒有幫助

的某些部分錯誤信息...

Traceback (most recent call last): File "/usr/bin/cloud-init", line 618, in <module> sys.exit(main()) File "/usr/bin/cloud-init", line 614, in main get_uptime=True, func=functor, args=(name, args)) File "/usr/lib/python2.7/dist-packages/cloudinit/util.py", line 1900, in log_time ret = func(*args, **kwargs) File "/usr/bin/cloud-init", line 489, in status_wrapper atomic_write_json(status_path, status) File "/usr/bin/cloud-init", line 434, in atomic_write_json raise e IOError: [Errno 28] No space left on device Aug 5 04:46:15 backend google: startup script found in metadata. /usr/share/google/fetch_script: line 30: echo: write error: No space left on device Aug 5 04:46:15 backend startupscript: Running startup script /var/run/google.startup.script Aug 5 04:46:15 backend startupscript: Finished running startup script /var/run/google.startup.script ... accounts-from-metadata: WARNING Could not update /home/ubuntu/.ssh/authorized_keys due to Disk is too full

回答

1

After few diff erent嘗試通過以下方式修復問題:

創建磁盤快照並使用增加的持久性存儲創建新實例,數據在那裏,並且磁盤大小增加,所有設置均會增加。