DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: &

     在 RHEL-5.8 安装 XEN 时报错如下:


ERROR    POST操作失败: xend_post:来自 xen 守护进程的错误:(xend.err \'Device 0 (vif) could not be connected. Hotplug scripts not working.\')
域安装似乎没有成功。
如果是这样,您可以运行 \'virsh start vm02\' 
重启您的域,否则请重
新开始安装。
ERROR    POST操作失败: xend_post:来自 xen 守护进程的错误:(xend.err \'Device 0 (vif) could not be connected. Hotplug scripts not working.\')
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 895, in ?
    main()
  File "/usr/sbin/virt-install", line 757, in main
    start_time, guest.start_install)
  File "/usr/sbin/virt-install", line 819, 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 1277, in createLinux
    if ret is None:raise libvirtError(\'virDomainCreateLinux() failed\', conn=self)
libvirtError: POST操作失败: xend_post:来自 xen 守护进程的错误:(xend.err \'Device 0 (vif) could not be connected. Hotplug scripts not working.\')


     到 /var/log/xen/xend.log 查阅、发现:


     DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: \'/dev/xvda\'


     解决方法如下:


     mknod /dev/xvda b 220 0

转载于:http://blog.itpub.net/26515977/viewspace-1208066/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值