免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: leaf1981
打印 上一主题 下一主题

Centos5.4 xen虚拟化技术应用 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2011-02-21 16:27 |只看该作者
回复 1# leaf1981


    在提示符下之下如下命令:
#virt-install -n centos5 -r 256 --vcpus=2 --file=centos.img --file=swap.img --nographics --location=http://192.168.205.170/wolf


Starting install...
Retrieving file .treeinfo...                             |  417 B     00:00     
Retrieving file vmlinuz...                               | 2.0 MB     00:00     
Retrieving file initrd.img...                            | 7.7 MB     00:00     
ERROR    POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: (4, \'Out of memory\', "xc_dom_boot_mem_init: can\'t allocate low memory for domain\\n")')
Domain installation may not have been
successful.  If it was, you can restart your domain
by running 'virsh start centos5'; otherwise, please
restart your installation.
ERROR    POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: (4, \'Out of memory\', "xc_dom_boot_mem_init: can\'t allocate low memory for domain\\n")')
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 889, in ?
    main()
  File "/usr/sbin/virt-install", line 751, in main
    start_time, guest.start_install)
  File "/usr/sbin/virt-install", line 813, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.4/site-packages/libvirt.py", line 974, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: (4, \'Out of memory\', "xc_dom_boot_mem_init: can\'t allocate low memory for domain\\n")')
然后就停止了,一直无法找到解决的办法,求解!

论坛徽章:
0
12 [报告]
发表于 2011-03-03 14:09 |只看该作者
楼主很好很强大~!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP