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] Virtual SCSI

To: Paolo Rivetti <natecult@xxxxxx>, Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Virtual SCSI
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sun, 14 Mar 2010 07:35:03 -0700 (PDT)
Cc: James Harper <james.harper@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 14 Mar 2010 07:36:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1268577304; bh=37ickAWtbKG47AlnRvN/8Eo6z8MK/UHb7u2yLSQYQbA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=HjTKw8dzdbg0m7mES/3XYjLmPGE1LLTMDlNp++aXhXQ6eD1iESqHXVy5rUGdRdRomVGu08JQ+YowHGydYSKwhp970juTaiUTrYpk5wuOQuBzSbP4Ws67F1DhUiJ20IXWPTIXu/J/TpWyx7+E/ynucZPF+YMQwPjutcQpSXxWZyk=
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:Cc:In-Reply-To:MIME-Version:Content-Type; b=AiLhYE2tdFGDHTcbD3ZEUgPRso1/ngsJDEXPUup6ysv0QbPNGyC3HHFXB2KAWNgpQXopAiZOj4W1D0IgWf/2pq8XTQ1JvakFYa3BVHv7iN0GpEcINi/AZJsfaBTawLWdowCJ06Zy6OugwQHOlwpBuI7G9aQTQAMCEBb5Gm4ljZI=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <482398.21179.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
Sorry , http://www.gitco.de/repo

--- On Sun, 3/14/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Virtual SCSI
To: "Paolo Rivetti" <natecult@xxxxxx>, "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Sunday, March 14, 2010, 10:31 AM

Sorry, http://gitco.de/repo

--- On Sun, 3/14/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Virtual SCSI
To: "Paolo Rivetti" <natecult@xxxxxx>, "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Sunday, March 14, 2010, 10:24 AM

Xen Hypervisor on CentOS 5.X  may be upgraded to 3.4.2 via http://gitco.com/repo
Xenified kernel will stay matching current status in repos 2.6.18-128el5xen or something
like that.

Boris.

--- On Sun, 3/14/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:

From: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Virtual SCSI
To: "Paolo Rivetti" <natecult@xxxxxx>
Cc: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Sunday, March 14, 2010, 10:10 AM

On Sun, Mar 14, 2010 at 02:30:58PM +0100, Paolo Rivetti wrote:
>        I'm trying to assign 2 SATA devices to a PV guest.
>
>        Command lsscsi:
>
>        [0:0:0:0] disk ATA WDC WD3200AAJS-0 12.0 / dev / sda
>
>        [2:0:0:0] disk ATA WDC WD10EADS-00L 01.0 / dev / sdb
>
>        [3:0:0:0] disk ATA WDC WD10EADS-00L 01.0 / dev / sdc
>
>        Therefore my configuration:
>
>        vscsi = [ '/ dev / sdb, 2:0:0:0', '/ dev / sdc, 3:0:0:0']
>
>        The PV guest starts correctly but there are no disks sdb and sdc.
>
>        Where am I wrong? Thanks
>
>      There shouldn't be spaces between the '/'s. Are they just an artefact of
>      the cut & paste to email?
>
>    It was only a mistake of copy pasting. This is my configuration:
>    name = "of0"
>    memory = "512"
>    disk = [ 'phy:/dev/vg1/of0,xvda,w' ]
>    #, 'phy:/dev/sdb,xvdb,w', 'phy:/dev/sdc,xvdc,w' ]
>    vif = [ 'mac=00:01:4F:FC:00:00,bridge=xenbr0' ]
>    bootloader="/usr/bin/pygrub"
>    vcpus=2
>   
>   
>    kernel="/boot/vmlinuz-2.6.18-164.el5xen"
>    root ="/dev/xvda ro"
>    vscsi = [ '/dev/sdb, 2:0:0:0', '/dev/sdc, 3:0:0:0' ]
>
>      Other things to consider:
>      1. is the pvscsi module loaded? Is it definitely supported by your
>      version of xen? The fact that it silently doesn't do anything is
>      suspicious
>
>    What is the module to load? With the command "dmesg | grep pvscsi" prompt
>    returns nothing. How can I check if the version of Xen supports this
>    module? My version is this:
>    xen-3.0.3-94.el5
>    xen-libs-3.0.3-94.el5
>    kernel-xen-2.6.18-164.el5
>

I don't think RHEL5 version of Xen has PVSCSI support.

You need to have the pvscsi backend driver (scsiback) in dom0 kernel,
and the pvscsi frontend driver (scsifront) in the domU kernel.

Also Xen tools in dom0 need to have the support for handling PVSCSI.
iirc PVSCSI first appeared on Xen 3.3.0.

-- Pasi


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


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

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


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