WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] NBD not working?

To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] NBD not working?
From: "Chen Peng" <chenpenghit@xxxxxxxxx>
Date: Mon, 31 Aug 2009 13:49:06 +0800
Delivery-date: Sun, 30 Aug 2009 22:49:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type; bh=gnpVhwrzirf9K9D5Zy2p7za/Q7nVJOW+dFJ3Dyqt/5E=; b=V0OZQzGnbwjC3PLAoG+9WLKJ4J2Ub5TvB5NgRzOm4oFX/3AysIYGwqq/7S/iqIpojC n6R9HJGdFN8P9nlq0+hk18bG8MbXdBK0MufLkhq2KrGiEwKPM52LzZJ9oj14svrk79B1 MkUYxYVyrzrXrxES2sS/keXOGrTf/jtWtLp+g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=U9sVPRjnGTxYhJrS9/bFv1HvIpel8XMZ1WFEWljZjSH37TdpXUkQdhuA2go7wmv53O MuFK5Xf4bRcNyEuSQkcZ5CV0XvUl18m/t7sz7K2X0g2AAYS9zHXnQzkMwQ8ZL+QCl4zl z52SUQ9QEQlLYzjDOC9f80Bd2cXnSXuw05DnM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, all
 
I'm using NBD to install HVM in xen 3.4.0, the following is my HVM config file.
#cat /etc/xen/hvm1conf
import os, re
arch_libdir = 'lib'
arch = os.uname()[4]
if os.uname()[0] == 'Linux' and re.search('64', arch):
    arch_libdir = 'lib64'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
name = "hvm1"
vif = [ 'type=ioemu, bridge=eth0' ]
disk = [ 'file:/home/chenpeng/tmp/hvm1disk,hda,w', 'nbd:192.168.1.109 9000,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="d"
sdl=0
opengl=1
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
vncpasswd=''
stdvga=0
serial='pty'
usb=1
usbdevice='mouse'
usbdevice='tablet'
 
On my nbd-server, I have exported an iso file on port 9000.
When I type #xm cr /etc/xen/hvm1conf, I got the following error message.
Error: Device 5632 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected.
 
 
2009-08-31

Chen Peng
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] NBD not working?, Chen Peng <=