Hello all! 

I added a target and LUN as I've done before using iscsiadm but when I do
sendtargets on the initiator this time the new target is not listed. I do see
the old target I created weeks ago. 

The initiator is CentOS 6.2 with iscsi-initiator-utils-6.2.0.872-34.el6.x86_64
and the target is CentOS release 5.8 with scsi-target-utils-1.0.14-2.el5. The
existing target/LUN work perfectly so I expect so.

I can set up the target:

# /usr/sbin/tgtadm --lld iscsi --op new --mode target --tid 4 -T 
iqn.2012-04.com.mydomain.disk01:1d

and the LUN:

# /usr/sbin/tgtadm --lld iscsi --op new --mode logicalunit --tid 4 --lun 1 -b 
/dev/diskd/backup-md10

and I know the above commands worked as intended because I can do:

# /usr/sbin/tgtadm --lld iscsi --mode target --op show

and get:

Target 4: iqn.2012-04.com.mydomain.disk01:1d
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: IET     00040000
            SCSI SN: beaf40
            Size: 0 MB, Block size: 1
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: null
            Backing store path: None
            Backing store flags: 
        LUN: 1
            Type: disk
            SCSI ID: IET     00040001
            SCSI SN: beaf41
            Size: 237297 MB, Block size: 512
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/diskd/backup-md10
            Backing store flags: 
    Account information:
    ACL information:

But on the initiator I only see my existing target and not target 2 LUN 4:

# iscsiadm --mode discovery --type sendtargets --portal disk01
10.0.1.3:3260,1 iqn.2012-03.com.mydomain.disk01:1c

Anyone have any ideas where I'm going wrong here?

Thanks!

-- 
Tracy Reed

Attachment: pgpFaSEBuobyE.pgp
Description: PGP signature

Reply via email to