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] blktap2 does not work

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] blktap2 does not work
From: Niccolò Belli <darkbasic4@xxxxxxxxx>
Date: Tue, 22 Jun 2010 21:47:39 +0200
Delivery-date: Tue, 22 Jun 2010 12:48:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=GPmSr/GFHtHN2tup+PCelM+lNzxxKBChSBwql2yw5OA=; b=iinWqF1AlCBoALrtQcVeC4E78tMZp76cfM/+zZYtxuj8cOUc/KGHqjL0ZYmoDzaG9u PdMA795Yl4ICYLevW4sQm5nVIqaihIvpiWQ0Kh34U+oGCd4xLLOu8DSxwuTj+Opo9Tx4 JSfvx+54FDjugiJr1s8z6IOZ1GoZKmJMvWOAs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wNvne3hSsaFfX332DTPMmlV2gYg3t4g4JlDEYEh6LRPPiG4FiBgnqDAub6iN/ZyTY7 fucOukSX3xwuNeOt0f/DaOiCBygvT77WNVFQuVd9wZLMG51Id6F7OVBwdhPa51k47p1C gaFwKYFhc3oNRMv4Q68gZXwL5GYDCbRtTwARk=
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
Distro: debian unstable
Xen version: 4.0.0-2

This is the config:
#HVM
#still no qemu-dm in debian

#kernel = "/usr/lib/xen-4.0/boot/hvmloader"
#builder = 'hvm'
#memory = 2048
#name = "webserver"
#vif = ['bridge=eth0']
#disk = 
['tap:tapdisk:aio:/srv/xen/webserver.img,xvda,w','phy:/dev/cdrom,xvdb:cdrom,r']
#device-model = '/usr/lib/xen-4.0/bin/qemu-dm'
#vnc = 1
#boot = 'd'


#PV

name = "webserver"
memory = 2048
bootloader = "/usr/lib/xen-4.0/bin/pygrub"
vif = ['bridge=eth0']
disk = [ "tap:tapdisk:aio:/srv/xen/webserver.img,xvda,w" ]
vnc = 1

When I run xm create /srv/xen/profiles/webserver.cfg I get:
Using config file "/srv/xen/profiles/webserver.cfg".
Error: [Errno 2] No such file or directory: 'aio:/srv/xen/webserver.img'

I created the image with dd:
# dd if=/dev/zero of=/srv/xen/webserver.img oflag=direct bs=1M seek=4095 count=1
# dd if=/dev/zero of=/srv/xen/webserver.img oflag=direct bs=1M count=4096

Darkbasic

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>