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:24:23 -0700 (PDT)
Cc: James Harper <james.harper@xxxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 14 Mar 2010 07:25:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1268576664; bh=r5IfdUqp9dpRP4KiZ+GA9+PqAM2G90dI3Vk6M2RQfEY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=nlNb/c20kcG6I28TJzMkH1/N9hh9YASMEvi3o06juRLPbIdAzk+vW5b+T6IzMH4m9eWI/sp7tAxSXPGdEhRPu6fZoZE7aEeMvcs6g3ocqmqIZC38uTNwos34+7uhsObUIOVN63Zi5t+fmdgM5Vv7NjETK6RlWRPfaIy1pyB2ejA=
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=4PgEYM9AeAt7LFKE0FZ+I7R7Ru4E//nqFO8mfaAdWedGHoQK3MBcZ3Uv1GR46XWfg6rXj2Bor5PgM2ZYnItqyB2oZOzfWbEXIOpBTwqQJagh88vOxINnhVSM5ZpedX/fPioDiYJDC6rJ5tryQQejapjV6/X4ilna/cDRr9ShY84=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100314141016.GK1878@xxxxxxxxxxx>
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
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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>