重新启动后删除的Google Cloud VM文件

编程入门 行业动态 更新时间:2024-10-10 02:22:01
本文介绍了重新启动后删除的Google Cloud VM文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我重新启动了我的VM实例,发现我的所有文件都被删除了.我的VM有一个10 GB的SSD永久性增强磁盘和一个额外的50 GB的SSD永久性磁盘. VM仅在当前会话中保存文件吗?

I've restarted my VM instance and found that all of my files are deleted. My VM has a 10 GB SSD persistent boost disk and an additional 50GB SSD persistent disk. Do VM's only save files within the current session?

谢谢!

推荐答案

Google重启后不会删除数据.确保已装载包含数据的磁盘.也许您是在手动安装&后重新启动的磁盘不再挂载.您可能还一直在使用云外壳,而不是使用">终止实例后,您在$ HOME之外对该实例所做的任何修改都将丢失."根据John Hanley的评论,您还应该检查控制台日志以查看重新启动时发生的情况.最后,请确保您没有任何可能已删除的启动脚本数据.

Google does not delete data upon restart. Be sure the disk containing your data is mounted. Perhaps you restarted after manually mounting & the disk is no longer mounted. You may have also been using the cloud shell instead of your VM which "After the instance is terminated, any modifications that you made to it outside your $HOME are lost." As per John Hanley's comment, you should also check the console log to see what happened on restart. Lastly, be sure you don't have any start-up scripts that may have deleted data.

更多推荐

重新启动后删除的Google Cloud VM文件

本文发布于:2023-10-17 09:23:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1500461.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:重新启动   文件   Cloud   Google   VM

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!