[CentOS] What iSCSI is used in Centos 5 and RHEL6?

Sat Mar 12 18:51:47 UTC 2011
Ray Van Dolson <rayvd at bludgeon.org>

On Sun, Mar 13, 2011 at 02:41:07AM +0800, Emmanuel Noobadmin wrote:
> I was looking up on iSCSI in preparation and became aware that there
> are different iSCSI software/drivers/whatever-is-the-correct-term
> available. e.g.
> 
> IET http://iscsitarget.sourceforge.net/
> 
> SCST http://scst.sourceforge.net/
> 
> STGT http://stgt.berlios.de/
> 
> LIO http://linux-iscsi.org/
> 
> Based on what I can see, it seems to be STGT because the site provides
> a link to Redhat advisory which seems to imply that it's what's being
> used in RHEL.
> 
> Does anybody know for sure?

STGT is used in both RHEL5:

$ rpm -qi scsi-target-utils
Name        : scsi-target-utils            Relocations: (not relocatable)
Version     : 0.0                               Vendor: Red Hat, Inc.
Release     : 5.20080917snap.el5            Build Date: Fri 19 Sep 2008 10:33:12 AM PDT
Install Date: Wed 28 Jan 2009 08:14:48 AM PST      Build Host: hs20-bc1-5.build.redhat.com
Group       : System Environment/Daemons    Source RPM: scsi-target-utils-0.0-5.20080917snap.el5.src.rpm
Size        : 274831                           License: GPLv2
Signature   : DSA/SHA1, Mon 15 Dec 2008 03:01:02 PM PST, Key ID 5326810137017186
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://stgt.berlios.de
Summary     : The SCSI target daemon and utility programs
Description :
The SCSI target package contains the daemon and tools to setup a SCSI targets.
Currently, software iSCSI targets are supported.

and RHEL6:

# rpm -qi scsi-target-utils
Name        : scsi-target-utils            Relocations: (not relocatable)
Version     : 1.0.4                             Vendor: Red Hat, Inc.
Release     : 3.el6_0.1                     Build Date: Tue 18 Jan 2011 02:30:36 PM PST
Install Date: Sat 12 Mar 2011 10:42:14 AM PST      Build Host: x86-004.build.bos.redhat.com
Group       : System Environment/Daemons    Source RPM: scsi-target-utils-1.0.4-3.el6_0.1.src.rpm
Size        : 377828                           License: GPLv2
Signature   : RSA/8, Mon 24 Jan 2011 10:55:21 PM PST, Key ID 199e2f91fd431d51
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://stgt.sourceforge.net/
Summary     : The SCSI target daemon and utility programs
Description :
The SCSI target package contains the daemon and tools to setup a SCSI targets.
Currently, software iSCSI targets are supported.

I think LIO has been "blessed" as the next official version by the
kernel folks[1].

Ray

[1] https://lwn.net/Articles/424004/