有一些应用程序,EC2小实例,太大了.因此,微型实例的宣布正是医生所要求的.
我想获取一个小实例的EBS卷,将其分离,并将其与微实例配对.在某些时候,走另一条路并将微型实例升级到小型或更高级别可能会很棒.
对于这个失败的实验,我试过:
奇怪的是,在我断电之前没有控制台日志输出.然后我看到了一切.
[ 0.000000] Reserving virtual address space above 0xf5800000
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
...
[ 1.221261] VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
[ 1.221261] VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
[ 1.222164] devtmpfs: mounted
[ 1.222202] Freeing unused kernel memory: 216k freed
[ 1.223409] Write protecting the kernel text: 4328k
[ 1.223760] Write protecting the kernel read-only data: 1336k
init: console-setup main process (63) terminated with status 1
%Ginit: plymouth main process (45) killed by SEGV signal
init: plymouth-splash main process (196) terminated with status 2
cloud-init running: Thu, 09 Sep 2010 17:37:54 +0000. up 2.61 seconds
mountall: Disconnected from Plymouth
init: hwclock-save main process (291) terminated with status 1
Checking for running unattended-upgrades: * Asking all remaining processes to terminate...
[80G
[74G[ OK ]
* All processes ended within 1 seconds....
[80G
[74G[ OK ]
* Deconfiguring network interfaces...
[80G
[74G[ OK ]
* Deactivating swap...
[80G
[74G[ OK ]
* Unmounting local filesystems...
[80G
[74G[ OK ]
* Will now halt
[ 185.599636] System halted.
Run Code Online (Sandbox Code Playgroud)
这种交换方法在过去相同大小的实例之间运行良好,这是我第一次尝试在不同大小之间进行此操作.这是不可能的,还是我错过了EC2知识的基本内容?
即使这可能会迁移到服务器故障,我今天早些时候遇到了与此实例完全相同的问题.
看来这个图像假设存在短暂存储,当微实例上没有时.要解决此问题,请在/ etc/fstab中注释掉以下行:
/dev/sda2 /mnt auto defaults,comment=cloudconfig 0 0
Run Code Online (Sandbox Code Playgroud)
这应该可以防止实例在启动时挂起,或者至少它对我来说是ami-1234de7b.
| 归档时间: |
|
| 查看次数: |
3165 次 |
| 最近记录: |