Table of ContentsView in Frames

LUN IDs for the same LDEV do not match

A logical device (LDEV) must be mapped to the same LUN ID on all storage array ports over which it will be visible to Data ONTAP systems. The storage errors show output identifies the LDEVs whose LUN IDs do not match.

Data ONTAP does not allow you to assign array LUNs to a Data ONTAP system if the LUN IDs do not match.

Storage errors show message

vgci9148s76:1-9.126L3 (4849544143484920443630303035323430303132): This Array LUN is using multiple LUN IDs.  Only one LUN ID per serial number is supported.

Explanation

One of the following errors was made during storage array configuration:

Problem scenario

This scenario discusses the case of inconsistent LUN IDs as it applies to most storage arrays. See Volume Set Addressing is inconsistent for a discussion of this same error message in the context of misconfigured Volume Set Addressing.

Assume that the storage array administrator creates a new LDEV Z. The LUN ID for LDEV Z is supposed to be LUN 3. However, the administrator presents LDEV Z as LUN 3 on storage array controller port 1A and as LUN 4 on storage array controller port 2A, as the following illustration shows:

This graphic is described in the surrounding text.

To fix this problem, the same LUN ID must be assigned to an LDEV on all ports to which the LDEV is mapped. In this example, the LDEV should be presented as LUN ID 3 on both ports.

Troubleshooting and problem resolution

To fix the problem, the storage array administrator must remap the LUN, using the correct LUN ID. You can use Data ONTAP commands to obtain the details that you need to provide information about the problem to the storage administrator.

  1. Review the storage errors show output to identify the array LUN whose LUN IDs do not match.

    When the LUN IDs for the same LDEV do not match, the output identifies the serial number of the LDEV with the problem. For example:

    mysystem1a::> storage errors show
    Disk: mysystem1a:vgci9148s76:1-9.126L3
    UID: 48495441:43484920:44363030:30353234:30303132:00000000:...
    ----------
    
    HITACHI_DF600F_1
    ----------
    vgci9148s76:1-9.126L3 (4849544143484920443630303035323430303132): This Array LUN is using multiple LUN IDs.  Only one LUN ID per serial number is supported.
    
    Note: THE UID in this example is 48495441:43484920:44363030:30353234:30303132:00000000:00000000:00000000:00000000:00000000. It is truncated in the example because of space.
  2. Obtain details about which LUN IDs are being used for the same LDEV by entering the following command: storage disk show arrayLUNname

    The storage disk show output for this example shows the following:

    mysystem1a::> storage disk show -disk mysystem1a:vgci9148s76:1-9.126L3
                      Disk: mysystem1a:vgci9148s76:1-9.126L3
            Container Type: unassigned
                Owner/Home: -  / -
                   DR Home: -
                     Array: HITACHI_DF600F_1
                    Vendor: HITACHI
                     Model: DF600F
             Serial Number: D600020C000C
                       UID: 48495441:43484920:44363030:30353234:30303132:00000000:...
                       BPS: 512
             Physical Size: -
                  Position: present
    Checksum Compatibility: block
                 Aggregate: -
                      Plex: -
    Paths:
                         LUN  Initiator Side  Target Side
    Controller Initiator ID   Switch Port     Switch Port      Acc Use  Target Port     TPGN...
    ---------- --------- -------------------- ----------------- --- ---  --------------- ---- 
    mysystem1a   0c       4  vgci9148s76:1-2  vgci9148s76:1-9  AO  INU  50060e80004291c1  1    
    mysystem1a   0a       3  vgbr300s89:1     vgbr300s89:9     S   RDY  50060e80004291c0  2    
    mysystem1b   0c       4  vgci9148s76:1-4  vgci9148s76:1-9  AO  INU  50060e80004291c1  1    
    mysystem1b   0a       3  vgbr300s89:3     vgbr300s89:10    S   RDY  50060e80004291c2  2    
    
    Errors:
    vgci9148s76:1-9.126L3 (4849544143484920443630303035323430303132): This Array LUN is using multiple LUN IDs.  Only one LUN ID per serial number is supported.
    
    Note: THE UID in this example is 48495441:43484920:44363030:30353234:30303132:00000000:00000000:00000000:00000000:00000000. It is truncated in the example because of space.

    By looking at the LUN IDs in the Paths section of the storage disk show output, you can see that LUN IDs 3 and 4 are both being used for this LDEV.

  3. Determine which LUN ID is not correct for the LDEV.

    LUN ID 4 is the incorrect LUN ID in this example.

  4. In Data ONTAP, use the storage path quiesce command to quiesce the incorrect path for the array LUN.

    The following example shows the options to add to the storage path quiesce command for the path that is being quiesced—LUN ID 4 on initiator 0c.

    storage path quiesce -node mysystem1a -initiator 0c -target-wwpn 50060e80004291c1 -lun-number 4

    The storage array path quiesce command temporarily suspends I/O to a specific array LUN on a specific path. Some storage arrays require ceasing I/O for a period of time when an array LUN is to be removed or moved.

    After the path is quiesced, Data ONTAP can no longer see that LUN.

  5. Wait 1 minute for the storage array's activity timer to expire.

    Although not all storage arrays require ceasing I/O for a period of time, it is good practice to do so.

  6. On the storage array, remap the LUN to the target port by using the correct LUN ID, LUN ID 3 in this scenario.

    The next time the Data ONTAP discovery process runs, it discovers the new array LUN. Discovery runs every minute.

  7. After Data ONTAP discovery is complete, run storage array config show in Data ONTAP again to confirm that there is no longer an error.