For more details, please see ourCookie Policy.


Info & Feedback

Reply
New Contributor
Posts: 3
Registered: ‎02-21-2019

Windows Initiators Errors When Connecting to Linux Targets

[ Edited ]

So I'm having a problem I just cannot figure out.  We have two QLogic 5800v switches connected together with two 10Gb uplinks ports.

 

Windows Initiators thrown an error in the Disk Management and the diskpart tools when doing anything with the disk with the error of "The parameter is incorrect".  So far I've tested Server 2012 R2 (QLE2562) and Win 7 Ultimate (QLE2460).  I've updated the driver and the firmware on the 2012 R2 box.

 

A CentOS 6 initiator connects to the SCST Target just fine using a QLE2562 card.

 

Just for giggles I tried TargetCli as well and it had the same behavior.

 

SCST is running on a Devuan Ascii (Debian Stretch) libvirt kvm machine with the QLE2562 card passed through to the VM.  Same behavior happened on native hardware as well.  Just moved it to a VM to do more testing as I ended up crashing the main box once.  Intention is to create a target of a very large ZFS ZVOL of 115TB.

 

Googling for days has not resulted in any solutions.  Any idea on what might be causing this behavior?  I've tried a blocksize of 4096 as well without success. 

 

My scst.conf file:

HANDLER vdisk_blockio {
        DEVICE ZVol_Production {
                filename /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_zvol_production
        }
        DEVICE ZFS_Test_20GB {
                filename /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_ZFS_Test_20GB
        }
}
TARGET_DRIVER qla2x00t {
        TARGET 21:00:00:24:ff:23:ec:86 {
                enabled 1

                GROUP Production_Volumes {
                        LUN 0 ZVol_Production
                        LUN 1 ZFS_Test_20GB

                        INITIATOR 21:00:00:e0:8b:9b:7b:76
                        INITIATOR 21:00:00:24:ff:24:7e:6e
                        INITIATOR 21:00:00:24:ff:25:0b:a8
                {
        }
} 

 

Regular Contributor
Posts: 171
Registered: ‎03-20-2018

Re: Windows Initiators Errors When Connecting to Linux Targets

Uh... There is no such thing as a Linux Target. Targets are specifically storage devices. A Linux device would be an initiator, thus, this looks like initiator to initiator zoning, which won't work.

New Contributor
Posts: 3
Registered: ‎02-21-2019

Re: Windows Initiators Errors When Connecting to Linux Targets

Actually, Linux can be used for storage devices.  TargetCli and SCST (SCSI Target) are the two software implementations that enable Linux to act as Target.  But the issue with Windows Initiators is happening under both TargetCli and SCST.  I'm going to be working on this again today.

Regular Contributor
Posts: 171
Registered: ‎03-20-2018

Re: Windows Initiators Errors When Connecting to Linux Targets

Interesting. I've never seen this. I imagine that there has to be a setting on the "target" HBA that will allow it to accept requests from initiators. What setting that is, I have no idea. I'm curious if you come across a solution.

New Contributor
Posts: 3
Registered: ‎02-21-2019

Re: Windows Initiators Errors When Connecting to Linux Targets

For TargetCLI sofware, it's just passing a parmeter to the qla2xx module:

http://linux-iscsi.org/index.php/Fibre_Channel

 

SCST uses their own Kernel modules and they are compiled againt the kernel:

http://scst.sourceforge.net/qla2x00t-howto.html

 

I used TargetCli for iscsi before to Windows Initiators.  Just having problems getting FC to work work with Windows right now.

 

Going to try ESOS today in a VM to see if they home some kind of configuration for SCST that works with Windows.

http://www.esos-project.com/

 

 

External Moderator
Posts: 5,679
Registered: ‎02-23-2004

Re: Windows Initiators Errors When Connecting to Linux Targets

@Ryushin 

 

@ussenterprise-bda 

 

you are here neither in QLOGIC nor in any Linux or Windows community.

 

please post such question on they vendor forum/community

TechHelp24

Join the Broadcom Support Community

Get quick and easy access to valuable resources across the Broadcom Community Network.