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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] blktap on debian
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 16 Apr 2007 19:05:03 +0100
Cc: Jonathan Selander <jonathan@xxxxxxxxx>, "Daniel P. Berrange" <berrange@xxxxxxxxxx>, Itamar Reis Peixoto <itamar@xxxxxxxxxxxxxxxx>
Delivery-date: Mon, 16 Apr 2007 11:03:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <0a3201c77ee6$b2142130$fe00a8c0@ispbrasil>
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> <0a3201c77ee6$b2142130$fe00a8c0@ispbrasil>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Nb.  just to clarify, you do not need the blktap module in the domU kernel.  
From the guest's PoV there's no difference.

Cheers,
Mark

On Saturday 14 April 2007 23:46, Itamar Reis Peixoto wrote:
> 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

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

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