[stgt] Basic Configuration Troubles

eric pretorious epretorious at gmail.com
Sun Oct 19 02:57:46 CEST 2014


FWIW: I read the scsi-target-utils Quickstart Guide and noticed that
the Guide prefers to use the /usr/sbin/tgtadm command so I've verified
the configuration using /usr/sbin/tgtadm *instead*of*
/usr/sbin/tgt-admin and found that the results are identical.

> [root at aoe-1 ~]# tgtadm --lld iscsi --mode target --op show > /tmp/tgtadm.txt
> [root at aoe-1 ~]# tgt-admin -s > /tmp/tgt-admin.txt
> [root at aoe-1 ~]# diff /tmp/tgtadm.txt /tmp/tgt-admin.txt

Thanks, again!
Eric Pretorious

On Sat, Oct 18, 2014 at 11:16 AM, eric pretorious <epretorious at gmail.com> wrote:
>> [root at aoe-1 ~]# tgt-admin -s
>> Target 1: iqn.2014-09.com.example.san-1:drbd0
>>     System information:
>>         Driver: iscsi
>>         State: ready
>>     I_T nexus information:
>>     LUN information:
>>         LUN: 0
>>             Type: controller
>>             SCSI ID: IET     00010000
>>             SCSI SN: beaf10
>>             Size: 0 MB, Block size: 1
>>             Online: Yes
>>             Removable media: No
>>             Prevent removal: No
>>             Readonly: No
>>             Backing store type: null
>>             Backing store path: None
>>             Backing store flags:
>>         LUN: 1
>>             Type: disk
>>             SCSI ID: IET     00010001
>>             SCSI SN: beaf11
>>             Size: 535 MB, Block size: 512
>>             Online: Yes
>>             Removable media: No
>>             Prevent removal: No
>>             Readonly: No
>>             Backing store type: rdwr
>>             Backing store path: /dev/drbd0
>>             Backing store flags:
>>     Account information:
>>     ACL information:
>>         ALL
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list