Aug 132014
Fedora 20にKVMゲストとしてCentOS 7をインストールしようとしたところ、768MBではメモリ不足になってしまいました。
[root@localhost ~]# virt-install --connect qemu:///system -n centos7 --memory 768 --disk /dev/vg00/centos7_root --graphics none -x 'console=tty0 console=ttyS0,115200n8 serial' -l http://mirror.centos.org/centos-7/7/os/x86_64/
“gzip invoked oom-killer”となって中断してしまいます。
[ OK ] Started dracut initqueue hook. Starting dracut pre-mount hook... [ OK ] Started dracut pre-mount hook. [ OK ] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [ OK ] Started Reload Configuration from the Real Root. [ OK ] Reached target Initrd File Systems. Starting dracut mount hook... [ 77.580372] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null) [ OK ] Started dracut mount hook. [ OK ] Reached target Initrd Default Target. [ 100.166000] gzip invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0 [ 100.167946] gzip cpuset=/ mems_allowed=0 [ 100.168981] CPU: 0 PID: 927 Comm: gzip Not tainted 3.10.0-123.el7.x86_64 #1 [ 100.170716] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 100.172176] ffff88002fad4fa0 00000000602dc3bc ffff8800123a3798 ffffffff815e19ba [ 100.174333] ffff8800123a3828 ffffffff815dd02d ffffffff810b68f8 ffff88002f57d4b0 [ 100.176493] ffffffff00000202 ffffffff00000000 0000000000000000 ffffffff81102e03 [ 100.178655] Call Trace: [ 100.179335] [] dump_stack+0x19/0x1b [ 100.180646] [ ] dump_header+0x8e/0x214
OOMですのでメモリ増やせば回避できます。
[root@localhost ~]# virt-install --connect qemu:///system -n centos7 --memory 1024 --disk /dev/vg00/centos7_root --graphics none -x 'console=tty0 console=ttyS0,115200n8 serial' -l http://mirror.centos.org/centos-7/7/os/x86_64/
にしても「1GBかー」と思ってたら公式にも必要メモリは最低1GBなのですね。
リリースノートの「第3章 能力および制限」にもちゃんと1GBと記載されていました。
Sorry, the comment form is closed at this time.