OpenSolaris

Printable Version Enter a New Search
Bug ID 6758578
Synopsis iscsitgtd fails to properly store and retrieve tpgt's IP addresses
State 10-Fix Delivered (Fix available in build)
Category:Subcategory storage_target:iscsi
Keywords
Responsible Engineer Charles Ting
Reported Against fw_53
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_108
Fixed In snv_108
Release Fixed solaris_nevada(snv_108) , solaris_10u8(s10u8_03) (Bug ID:2175564)
Related Bugs 6498817 , 6764096 , 6765293 , 6796293 , 6807788
Submit Date 11-October-2008
Last Update Date 6-July-2009
Description
[wdp, 10/11/08]

Target portal groups associate groups of IP address with LUNs, only iscsitgtd doesn't property store the IP addresses, leading to incorrect tpgts upon restart:

twofish# svcs iscsitgt
STATE          STIME    FMRI
online         21:21:21 svc:/system/iscsitgt:default
twofish# iscsitadm list tpgt -v
twofish# iscsitadm create tpgt 50
twofish# iscsitadm modify tpgt -i 192.168.1.219 50
twofish# iscsitadm modify tpgt -i 192.168.1.220 50
twofish# iscsitadm list tpgt -v
TPGT: 50
    IP Address: 192.168.1.219
    IP Address: 192.168.1.220
twofish# svcadm restart iscsitgt
twofish# svcs iscsitgt
STATE          STIME    FMRI
online         21:22:33 svc:/system/iscsitgt:default
twofish# iscsitadm list tpgt -v
TPGT: 50
    IP Address: Not set
TPGT: 50
    IP Address: 192.168.1.220

Note there are two problems:

(1) iscsitadm reports there are 2 tpgts with the same id.
(2) tpgt 50 no longer contains the 192.168.1.219 address.
Work Around
N/A
Comments
N/A