My Oracle Support Banner

iSCSI LUNs Disappear After Removing the iscsi_v1.dbc and iscsi_v1.dbp Configuration Files (Doc ID 2632388.1)

Last updated on JANUARY 24, 2020

Applies to:

Solaris Operating System - Version 11.1 and later
Information in this document applies to any platform.

Symptoms

Sometimes it is necessary to delete and recreate the /etc/iscsi/iscsi_v1.dbc and /etc/iscsi/iscsi_v1.dbp configuration files. Such action may cause the iSCSI LUNs to disappear from the format command output, after a reboot.  Following such action, the 'iscsiadm list target -S' command will show the following output:

Target: iqn.1986-03.com.sun:02:6992052b-995d-ed93-bac9-b007f78d3999
        Alias: iscsi-target-0
        TPGT: 2
        ISID: 4000002a0000
        Connections: 1

Target: iqn.1986-03.com.sun:02:6310ff87-12c2-6313-c6b8-c7d39302986f
        Alias: t4-2-brm06-g-iSCSI
        TPGT: 2
        ISID: 4000002a0000
        Connections: 1


Note the taget IQN shows up, but the LUNs mapped to such target INQ do not show up. Also, note the
/var/adm/messages show the target IQNs transition from offline to online, as follows:

Date HostName iscsi: [ID 559844 kern.notice] NOTICE: iscsi session(47) iqn.1986-03.com.sun:02:55437422-3f65-6800-d43f-9d4defa8bee6 offline
Date HostName iscsi: [ID 559844 kern.notice] NOTICE: iscsi session(50) iqn.1986-03.com.sun:02:6310ff87-12c2-6313-c6b8-c7d39302986f offline
Date HostName iscsi: [ID 559844 kern.notice] NOTICE: iscsi session(47) iqn.1986-03.com.sun:02:55437422-3f65-6800-d43f-9d4defa8bee6 online
Date HostName iscsi: [ID 559844 kern.notice] NOTICE: iscsi session(50) iqn.1986-03.com.sun:02:6310ff87-12c2-6313-c6b8-c7d39302986f online


If you obtain the snoop data during a 'icsiadm modify discovery -[s|t|i]' disable/enable',
or during a reboot cycle, you will notice a Check Conditions returned for some basic commands,
such as Test Unit Ready (TUR) or Report LUN, as follows:

CSI CDB Test Unit Ready
    [LUN: 0x0000]
    [Command Set:Unknown or no device type (0x1f) ]
    Opcode: Test Unit Ready (0x00)
    Select Report: Select All LUNs (0x00)
    Additional Sense Length: 10
    Command-Specific Information: 00000000
    .... 0101 = Sense Key: Illegal Request (0x5)
    Additional Sense Code+Qualifier: Logical Unit Not Supported (0x2500)
No.  Time       Source         Destination    Protocol  Length  Info
126  18.961270  10.145.226.52  10.145.226.53  iSCSI     134     SCSI Response (Check Condition) LUN:0x00

SCSI CDB Report LUNs
    [LUN: 0x0000]
    [Command Set:Unknown or no device type (0x1f) ]
    Opcode: Report LUNs (0xa0)
    Select Report: Select All LUNs (0x00)
    Additional Sense Length: 10
    Control: 0x00
    .... 0101 = Sense Key: Illegal Request (0x5)
    Additional Sense Code+Qualifier: Logical Unit Not Supported (0x2500)
No.  Time       Source         Destination    Protocol  Length  Info
129  18.961423  10.145.226.52  10.145.226.53  iSCSI     134     SCSI Response (Check Condition) LUN:0x00

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.