[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] making scsi disks visible to RHEL 5 guest



Hi,
  I tried this on Oracle VM 3.0 which is based on xen

sles11sp1:~ # sg_persist /dev/sg1
>> No service action given; assume Persistent Reserve In command
>> with Read Keys service action
  ATA       QEMU HARDDISK     0.10
  Peripheral device type: disk
PR in: command not supported
sles11sp1:~ # sg_readcap /dev/sg1
Read Capacity results:
   Last logical block address=31457279 (0x1dfffff), Number of blocks=31457280
   Logical block length=512 bytes
Hence:
   Device size: 16106127360 bytes, 15360.0 MiB, 16.11 GB
sles11sp1:~ # lsmod | grep scsi
scsi_tgt               12875  0
vmw_pvscsi             18562  0
scsi_mod              183796  6 scsi_tgt,vmw_pvscsi,sg,sr_mod,sd_mod,libata
sles11sp1:~ # lsmod | grep pv
vmw_pvscsi             18562  0
ipv6                  323245  50
scsi_mod              183796  6 scsi_tgt,vmw_pvscsi,sg,sr_mod,sd_mod,libata

sles11sp1:~ # uname -a
Linux sles11sp1 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200
x86_64 x86_64 x86_64 GNU/Linux

xen version = 2.6.32.21-41xen


Any hints why scsi reservation commands are failing ?


On Mon, Jan 16, 2012 at 5:46 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
> On Mon, Jan 16, 2012 at 7:11 PM, K Mehta <kiranmehta1981@xxxxxxxxx> wrote:
>> Ok.
>>
>> 1. So does it mean that installing some recent version of Redhat/SuSE
>> will make (fibre channel) scsi3 disks visible
>>   as scsi3 in the guest
>
> See the wiki link. If the OS has a kernel & xen version that supports
> pvscsi, then it should be so
>
>>
>> 2. Or does it mean that guest OS will never be able to see fibre
>> channel scsi3 disks (made visible from Dom0) as scsi3 whatever OS
>> version I install ?
>
> Nope.
>
>> 3. If i make scsi3 disks visible to guest directly (not through Dom0),
>> will guest be expected to see it as scsi3 ? (I think it should !!!)
>
> Probably, but you'd need to passthru the whole controller (PCI
> passthru). Which I doubt you can.
>
> --
> Fajar

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.