Re: Basic Configuration Troubles

eric pretorious <[email protected]> Sat, 18 Oct 2014 17:57:46 -0700
Newsgroups org.kernel.vger.stgt
Message-ID <CAHtv24U4JUqLh2spTP2sEmUgQWYVerYYx+w0b+aBo3NfWzDhmw@mail.gmail.com>
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@aoe-1 ~]# tgtadm --lld iscsi --mode target --op show > /tmp/tgtadm.txt
> [root@aoe-1 ~]# tgt-admin -s > /tmp/tgt-admin.txt
> [root@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 <[email protected]> wrote:
>> [root@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