Nicholas A. Bellinger
2013-Aug-21 09:40 UTC
Re: [libvirt-users] Oracle RAC in libvirt+KVM environment
On Wed, 2013-08-21 at 11:09 +0200, Paolo Bonzini wrote:> Il 21/08/2013 04:11, Timon Wang ha scritto: > > From the fedora 19 host: > > [root@fedora ~]# sg_inq /dev/sdc > > standard INQUIRY: > > PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3] > > [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=0 > > SCCS=1 ACC=0 TPGS=1 3PC=0 Protect=0 [BQue=0] > > EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0 > > [RelAdr=0] WBus16=1 Sync=1 Linked=0 [TranDis=0] CmdQue=1 > > length=36 (0x24) Peripheral device type: disk > > Vendor identification: MacroSAN > > Product identification: LU > > Product revision level: 1.0 > > Unit serial number: fd01ece6-8540-f4c7-0000-fe170142b300 > > > > From the fedora 19 vm: > > [root@fedoravm ~]# sg_inq /dev/sdb > > standard INQUIRY: > > PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3] > > [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=0 > > SCCS=1 ACC=0 TPGS=1 3PC=0 Protect=0 [BQue=0] > > EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0 > > [RelAdr=0] WBus16=1 Sync=1 Linked=0 [TranDis=0] CmdQue=1 > > length=36 (0x24) Peripheral device type: disk > > Vendor identification: MacroSAN > > Product identification: LU > > Product revision level: 1.0 > > Unit serial number: fd01ece6-8540-f4c7-0000-fe170142b300 > > > > The result from fedora 19 host and fedora 19 vm are the same. It's > > that means I got a wrong windows vm scsi pass-through driver? > > Or is there any tool like sg_inq in windows 2008? > > Yeah, there's something weird in the Windows VM. > > sg_inq should be available for Windows too, but I don't know where to > get a precompiled binary from. >AFAIK, the latest sg3-utils build for MSFT is here: http://sg.danny.cz/sg/p/sg3_utils-1.36exe.zip --nab
Timon Wang
2013-Aug-22 07:46 UTC
Re: [libvirt-users] Oracle RAC in libvirt+KVM environment
Thanks Nicholas. I found that scsicmd can't pass all the scsi3_test but the result of sg_inq is the same as it in the host. I am absolutely confused about this situation. Am I missed some information about it? On Wed, Aug 21, 2013 at 5:40 PM, Nicholas A. Bellinger <nab@linux-iscsi.org> wrote:> On Wed, 2013-08-21 at 11:09 +0200, Paolo Bonzini wrote: >> Il 21/08/2013 04:11, Timon Wang ha scritto: >> > From the fedora 19 host: >> > [root@fedora ~]# sg_inq /dev/sdc >> > standard INQUIRY: >> > PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3] >> > [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=0 >> > SCCS=1 ACC=0 TPGS=1 3PC=0 Protect=0 [BQue=0] >> > EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0 >> > [RelAdr=0] WBus16=1 Sync=1 Linked=0 [TranDis=0] CmdQue=1 >> > length=36 (0x24) Peripheral device type: disk >> > Vendor identification: MacroSAN >> > Product identification: LU >> > Product revision level: 1.0 >> > Unit serial number: fd01ece6-8540-f4c7-0000-fe170142b300 >> > >> > From the fedora 19 vm: >> > [root@fedoravm ~]# sg_inq /dev/sdb >> > standard INQUIRY: >> > PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3] >> > [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=0 >> > SCCS=1 ACC=0 TPGS=1 3PC=0 Protect=0 [BQue=0] >> > EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0 >> > [RelAdr=0] WBus16=1 Sync=1 Linked=0 [TranDis=0] CmdQue=1 >> > length=36 (0x24) Peripheral device type: disk >> > Vendor identification: MacroSAN >> > Product identification: LU >> > Product revision level: 1.0 >> > Unit serial number: fd01ece6-8540-f4c7-0000-fe170142b300 >> > >> > The result from fedora 19 host and fedora 19 vm are the same. It's >> > that means I got a wrong windows vm scsi pass-through driver? >> > Or is there any tool like sg_inq in windows 2008? >> >> Yeah, there's something weird in the Windows VM. >> >> sg_inq should be available for Windows too, but I don't know where to >> get a precompiled binary from. >> > > AFAIK, the latest sg3-utils build for MSFT is here: > > http://sg.danny.cz/sg/p/sg3_utils-1.36exe.zip > > --nab > >-- Focus on: Server Vitualization, Network security,Scanner,NodeJS,JAVA,WWW Blog: http://www.nohouse.net
Paolo Bonzini
2013-Aug-22 09:02 UTC
Re: [libvirt-users] Oracle RAC in libvirt+KVM environment
Il 22/08/2013 09:46, Timon Wang ha scritto:> Thanks Nicholas. > > I found that scsicmd can't pass all the scsi3_test but the result of > sg_inq is the same as it in the host. > > I am absolutely confused about this situation. Am I missed some > information about it?I am also confused. You need to understand the limitations that the clustering software is putting. Can you also try using the megaraid sas controller ("lsisas1078" in libvirt) instead of virtio-scsi? Paolo