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

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

To: darkbasic4@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, eXeC001er <execooler@xxxxxxxxx>
Subject: Re: [Xen-users] RE: blktap2 does not work
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1278675793; bh=bOTREp2fvHv56H4k3JQSwiETL4dNPAeO7UGBRgWB1Pc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vzuUd3gyBSFJssxDSacJmgeu/Mk2lwOimnm0bHcP3ktFC8/LuyS7gYE9F0sFcf3lDA/7aKJRyEIA8ItH5tLgsA7CwRuQTyIzf1auB8t+5REjzzZUti5U1d+W4KXYp5wHyOuHKFuhksImrGm+N6PGyaSspgDdrnRfroQT6J/+uec=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinnOy8J7mO_-znExIziN6XDWxQO2WsyBkB62_7a@xxxxxxxxxxxxxx>
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
> 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
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] RE: blktap2 does not work, Boris Derzhavets <=