[stgt] strange problem vSphere vCLI and stgt

frederik.vos at linvirt.nl frederik.vos at linvirt.nl
Thu Mar 17 11:27:38 CET 2011


vSphere ESX 4.1
vMA 4.1

Arch Linux
  - kernel 2.6.37
  - stgt 1.0.14

Virtual Machine configured with paravirtual scsi adapter, but the same  
results with LSILogic Parallel adapter

cat /etc/tgt/targets.conf
<target iqn.2004-01.nl.xtg:iscsi-server1>
         backing-store /dev/sdb
         initiator-address ALL
         incominguser student xxxxxxx
</target>

MaxRecvDataSegmentLength 131072
MaxXmitDataSegmentLength 131072
MaxBurstLength 262144
FirstBurstLength 262144
TargetRecvDataSegmentLength=262144
InitiatorRecvDataSegmentLength=262144
MaxOutstandingUnexpectedPDUs=0
MaxOutstandingR2T=1
MaxCommands=128

DataPDUInOrder=Yes
DataSequenceInOrder=Yes

HeaderDigest=None
DataDigest=None
InitialR2T=No
ImmediateData=Yes
DelayedAck=Yes

ErrorRecoveryLevel=0
IFMarker=No
OFMarker=No
DefaultTime2Wait=2
DefaultTime2Retain=0
OFMarkInt=Reject
IFMarkInt=Reject
MaxConnections=4
RDMAExtensions=No


Lun List from a netapp:

vicfg-iscsi --lun --list vmhba33
Target: iqn.1992-08.com.netapp:xtg-netapp01:
-------------------------------------------
OS DEVICE NAME    : naa.60a98000567247715a342f4367526362
BUS NUMBER        : 0
TARGET ID         : 0
LUN ID            : 10
LUN SIZE          : 10240 MB

-------------------------------------------

OS DEVICE NAME    : naa.60a98000567247715a342f4367524645
BUS NUMBER        : 0
TARGET ID         : 0
LUN ID            : 1
LUN SIZE          : 10240 MB

-------------------------------------------

OS DEVICE NAME    : naa.60a98000567247715a345a7462737666
BUS NUMBER        : 0
TARGET ID         : 0
LUN ID            : 25
LUN SIZE          : 153600 MB

-------------------------------------------

same command to the stgt:

Target: iqn.2004-01.nl.xtg:iscsi-server1:
-------------------------------------------
Undefined subroutine &ScsiLun::capacity called at /usr/bin/vicfg-iscsi  
line 1091

Tried the same with ietd, same results as with the netapp.
Please notice, i am not blaming stgt, just trying to find an answer  
why, and how to fix it.
If you need more information, tests etc. Just let me know


--
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