General
cancel
Showing results for 
Search instead for 
Did you mean: 

TGT with DRBD for iSCSI replicated SAN

gstanden
Occasional Advisor

TGT with DRBD for iSCSI replicated SAN

When I run this command:  iscsi -ls -l

 

I get the following output.

 

My setup is running just fine, but I am wondering what this message  in the output below means:

 

"0:0:0:X: expected length 24, got length 20"

 

I'm running iscsi-initiator-utils-4.0.3.0-10

 

TIA!

 

[root@rac2 archive]#  iscsi-ls -l
*******************************************************************************
SFNet iSCSI Driver Version ...4:0.1.11-7(14-Apr-2008)
*******************************************************************************
TARGET NAME             : iqn.2011-06.com.thornwood:otter.oracle.rac
TARGET ALIAS            :
HOST ID                 : 0
BUS ID                  : 0
TARGET ID               : 0
TARGET ADDRESS          : 192.168.56.101:3260,1
SESSION STATUS          : ESTABLISHED AT Sat Sep 17 11:08:00 EDT 2011
SESSION ID              : ISID 00023d000001 TSIH 400

DEVICE DETAILS:
---------------
LUN ID : 0
  Vendor: IET      Model: Controller       Rev: 0001
  Type:   RAID                             ANSI SCSI revision: 05

LUN ID : 1
  Vendor: IET      Model: VIRTUAL-DISK     Rev: 0001
  Type:   Direct-Access                    ANSI SCSI revision: 05
  page83 type1: IET 00010001
0:0:0:1: expected length 24, got length 20
  page80: 0a
  Device: /dev/sda
LUN ID : 2
  Vendor: IET      Model: VIRTUAL-DISK     Rev: 0001
  Type:   Direct-Access                    ANSI SCSI revision: 05
  page83 type1: IET 00010002
0:0:0:2: expected length 24, got length 20
  page80: 0a
  Device: /dev/sdb
LUN ID : 3
  Vendor: IET      Model: VIRTUAL-DISK     Rev: 0001
  Type:   Direct-Access                    ANSI SCSI revision: 05
  page83 type1: IET 00010003
0:0:0:3: expected length 24, got length 20
  page80: 0a
  Device: /dev/sdc
*******************************************************************************

Gilbert Standen
1 REPLY
gstanden
Occasional Advisor

Re: TGT with DRBD for iSCSI replicated SAN

It looks like it has something to do with the number of characters (e.g. wc -c) returned in the "page83" field but I'm not sure of that. Apparently it is expecting the LUN name returned to have 24 characters but is getting only 20?
Gilbert Standen