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

[Xen-users] Virtual SCSI

Tankyou Pasi, so I need to change platform. My requirements is to assign 2 SATA device to PV guest.

On Mar 14, 2010, at 3:10 PM, Pasi Kärkkäinen wrote:

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
<Prev in Thread] Current Thread [Next in Thread>