我正在使用Google Compute引擎,我得到了一个众所周知的问题,无法通过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
答案 0 :(得分:1)
经过几次不同的尝试,我能够解决问题:
创建磁盘快照并创建具有增加的持久存储的新实例,数据存在,磁盘大小增加,全部设置。