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

Re: [Xen-users] RE: blktap2 does not work


  • To: darkbasic4@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, eXeC001er <execooler@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Fri, 9 Jul 2010 04:43:12 -0700 (PDT)
  • Cc:
  • Delivery-date: Fri, 09 Jul 2010 04:45:02 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=NVLYrPuUM55l4rqJheELAsZAKIQGgJE0RxYizVvQXVOddr2ZChpaDwHdSWVpSD5Ayr1kGGaIjH2IotuXhTQxcumMur6ZayEJWIxBdReluBTsCBVC7b3jaRpY74Bo9sRas7zvFMehkTa5BvpP6MWI2KEad5+kKIPpjgi/uFQzVA8=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> blktap2 works in current xen-testing-4.x and xen-unstable, but you should be use >tap2:tapdisk:aio:...... (I do not know why it is not displayed in the documentation, but the > code works the way). 

Yes. Both patches work fine, in my case for NexentaStor 3.0.2 xen image


> My configuration: "Opensolaris + pygrub + VHD" work fine for me.

I still have trouble with b134.  First time  DomU  loads well . SMF configuration phase.
Afterwards one more DHCP request is required to obtain IP

Boris.


--- On Wed, 6/23/10, eXeC001er <execooler@xxxxxxxxx> wrote:

From: eXeC001er <execooler@xxxxxxxxx>
Subject: [Xen-users] RE: blktap2 does not work
To: darkbasic4@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, June 23, 2010, 10:07 AM

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

blktap2 works in current xen-testing-4.x and xen-unstable, but you should be use tap2:tapdisk:aio:...... (I do not know why it is not displayed in the documentation, but the code works the way). 

My configuration: "Opensolaris + pygrub + VHD" work fine for me.

Thanks.

-----Inline Attachment Follows-----

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

_______________________________________________
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®.