[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] blktap2 does not work


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Niccolò Belli <darkbasic4@xxxxxxxxx>
  • Date: Tue, 22 Jun 2010 21:47:39 +0200
  • Delivery-date: Tue, 22 Jun 2010 12:48:46 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.