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

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


2. does xenstore-ls /local/domain/<domid>/device show anything scsi?

This is the result:
xenstore-ls /local/domain/26/device

vbd = ""
 51712 = ""
  virtual-device = "51712"
  device-type = "disk"
  protocol = "x86_64-abi"
  backend-id = "0"
  state = "4"
  backend = "/local/domain/0/backend/vbd/26/51712"
  ring-ref = "8"
  event-channel = "9"
vif = ""
 0 = ""
  mac = "00:01:4F:FC:00:00"
  handle = "0"
  protocol = "x86_64-abi"
  backend-id = "0"
  state = "4"
  backend = "/local/domain/0/backend/vif/26/0"
  tx-ring-ref = "768"
  rx-ring-ref = "769"
  event-channel = "10"
  request-rx-copy = "0"
  feature-rx-notify = "1"
  feature-sg = "1"
  feature-gso-tcpv4 = "1"

3. is the module definitely loaded in the front end?
4. I can't get it working at the moment with anything other than
/dev/sgX. /dev/nstX etc doesn't work for me.

I tried to change my configuration in this way, but the result is vain!
from: vscsi = [ '/dev/sdb, 2:0:0:0', '/dev/sdc, 3:0:0:0' ]
to: vscsi = [ '/dev/sgb, 2:0:0:0', '/dev/sgc, 3:0:0:0' ]

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