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] blktap on debian

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>, "Jonathan Selander" <jonathan@xxxxxxxxx>
Subject: Re: [Xen-users] blktap on debian
From: "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx>
Date: Sat, 14 Apr 2007 20:46:05 -0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 14 Apr 2007 15:45:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <46214D7E.9000202@xxxxxxxxx> <20070414223537.GA8444@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
after changing your kernel config

CONFIG_XEN_BLKDEV_TAP=m

config should be

disk = [ 'tap:aio:/var/xen/domains/ac/disk.img,xvda1,w', 'tap:aio:/var/xen/domains/ac/swap.img,xvda2,w' ]

update your fstab of domU too.

for me works fine with this config.

--------------------

Itamar Reis Peixoto

e-mail: itamar@xxxxxxxxxxxxxxxx
msn: itamarjp@xxxxxxxxxxxxx
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message ----- From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
To: "Jonathan Selander" <jonathan@xxxxxxxxx>
Cc: <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Saturday, April 14, 2007 8:35 PM
Subject: Re: [Xen-users] blktap on debian


On Sat, Apr 14, 2007 at 11:54:06PM +0200, Jonathan Selander wrote:
Hello,

I run xen 3.0.3 on Debian 4.0 and so far I've got 5 guests. I've read in
the user documentation that it's better to use blktap than loopback,
because of performance reasons, so i decided to switch to it. However,
the root device isn't found by the guest system. I read something about
CONFIG_XEN_BLKDEV_TAP being needed in the kernel for it to work, is that
true? I have

CONFIG_XEN_BLKDEV_BACKEND=y
# CONFIG_XEN_BLKDEV_TAP is not set
CONFIG_XEN_BLKDEV_FRONTEND=y

Yeah, I believe it should be set to

 CONFIG_XEN_BLKDEV_TAP=m

If it was working, you'd also get a 'blktapctrl' daemon spawned by Xen. If
you look at syslog you'll probably find blktapctrl trying to start and
failing to initialize if blktap support was missing in kernel.

The guest config disk line looks like this:

disk    = [ 'tap:aio:/var/xen/domains/ac/disk.img,sda1,w',
'tap:aio:/var/xen/domains/ac/swap.img,sda2,w' ]

That's the correct config file syntax.

Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: .cpan.org/~danberr/ -=| |=- Projects: at.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 505 -=|

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