On Sat, Jun 28, 2008 at 05:59:26PM -0500, Andrew M. Hettinger wrote:
> the TPGT address needs to be the IP you want the target to attach to.
> for example if my target host has 18 NICs each with their own IP, but
> I only want it to advertize a target on the NIC with the ip 10.0.0.235
> (and the initiator is 10.0.0.236) I would set that to 10.0.0.235

The target only has one NIC. I made the following change but still see
the same error on the initiator:
  Jun 28 18:17:42 saitou vmunix: 255/0: Invalid key value (192.168.1.15,1) 
received from the target for 
  Jun 28 18:17:42 saitou vmunix: TargetAddress key.

(target)
  # iscsitadm create tpgt 1
  # iscsitadm modify tpgt --ip-address 192.168.1.15 1
  # iscsitadm list tpgt -v  
  TPGT: 1
      IP Address: 192.168.1.15
  # iscsitadm list target -v
  Target: tww/opt/hpvm/2g
      iSCSI Name: iqn.1986-03.com.sun:02:d0774d84-2a4a-6f8d-ee11-da6fcfd0e481
      Alias: tww/opt/hpvm/2g
      Connections: 0
      ACL list:
      TPGT list:
          TPGT: 1
      LUN information:
          LUN: 0
              GUID: 010000e0812e78de00002a004865f6bc
              VID: SUN
              PID: SOLARIS
              Type: disk
              Size: 2.0G
              Backing store: /dev/zvol/rdsk/tww/opt/hpvm/2g
              Status: online

(initiator)
  Discovery Target Information
  ----------------------------

  Target # 1
  -----------
          IP Address                : 192.168.1.15
          iSCSI TCP Port            : 3260
          iSCSI Portal Group Tag    : 1

    User Configured:
    ----------------

          Authenticaton Method      : None
          CHAP Method               : CHAP_UNI
          Initiator CHAP Name       : 
          CHAP Secret               : 
          Header Digest             : None,CRC32C (default)
          Data Digest               : None,CRC32C (default)

-- 
albert chin ([EMAIL PROTECTED])
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to