本节我们通过日志详细讨论 instance 的 snapshot 操作。 有时候操作系统损坏得很严重,通过 Rescue 操作无法修复,那么我们就得考虑通过备份恢复了。当然前提是我们之前对instance做过备份。 Nova 备份的操作叫 Snapshot,其工作原理是对 instance 的镜像文 ...
分类:
其他好文 时间:
2016-05-20 07:29:09
阅读次数:
142
本节我们讨论Suspend/Resume和Rescue/Unrescue这两组操作。Suspend/Resume有时需要长时间暂停instance,可以通过Suspend操作将instance的状态保存到宿主机的磁盘上。当需要恢复的时候,执行Resume操作,从磁盘读回instance的状态,使之继续运行。这里需要对Suspend和Pause操作..
分类:
其他好文 时间:
2016-05-18 11:01:08
阅读次数:
206
本节我们讨论 Suspend/Resume 和 Rescue/Unrescue 这两组操作。 Suspend/Resume 有时需要长时间暂停 instance,可以通过 Suspend 操作将 instance 的状态保存到宿主机的磁盘上。当需要恢复的时候,执行 Resume 操作,从磁盘读回 i ...
分类:
其他好文 时间:
2016-05-18 06:52:00
阅读次数:
167
【PAT】Emergency(最短路条数-SPFA)
As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of res...
分类:
其他好文 时间:
2016-05-13 04:29:41
阅读次数:
415
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1026
Problem Description
The Princess has been abducted by the BEelzebub feng5166, our hero Ignatius has to rescue our pretty Princess. Now he ge...
分类:
其他好文 时间:
2016-05-12 21:42:34
阅读次数:
205
As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each city and the le...
分类:
其他好文 时间:
2016-05-12 18:31:00
阅读次数:
139
用还是用ls (hd0,X)/grub命令查看每个盘里面的内容, 情况一 :如果你是在/boot/grub这个目录下找到的 grub rescue>root=(hd0,9) grub rescue>prefix=/boot/grub //grub路径设置 grub rescue>set root=( ...
分类:
系统相关 时间:
2016-05-03 21:50:13
阅读次数:
224
两道较为典型的单源最短路径问题,采用dijkstra解法 本来是四道练习题,后来发现后面两道用dijkstra来解的话总觉得有点冗余了,因此暂且分成三篇博客(本篇以及后两篇)。 ZOJ1053(POJ1122)-FDNY to the Rescue! ZOJ1053-Transport Goods ...
分类:
其他好文 时间:
2016-05-02 15:41:32
阅读次数:
408
Rescue Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24608 Accepted Submission(s): 8686 Problem ...
分类:
其他好文 时间:
2016-04-26 14:15:49
阅读次数:
125
Linuxgrub2恢复步骤:开机提示grubrescue>由于MBR被修改或者Windows下使用了启动菜单工具,导致Linux系统引导失败。(个人为Centos7) 1. 如果有U盘系统或者光盘可以先进入Rescue模式df-lh查看boot分区的磁盘分区号(个人查询后为sda6). 2. 重启进入grubrescue>ls查看当前是..
分类:
系统相关 时间:
2016-04-25 01:06:20
阅读次数:
315