Skip to main content
ONTAP FlexArray

Workaround when LUNs are not visible with Hitachi storage arrays

Contributors netapp-chikkusu

The storage array parameters specified in the Required parameters for Hitachi storage arrays with systems running ONTAP section should be set and LUNs should be mapped to the host groups before the switch is zoned to connect the ONTAP system that uses array LUNs to a Hitachi storage array.

If zoning was configured prior to setting the parameters and mapping the LUNs to the host groups, you can resolve the problem of LUNs not being visible by performing a path reinitialization. The path reinitialization forces a rediscovery of the array LUNs that are mapped from a Hitachi storage array.

The procedure you use depends on whether aggregates with Hitachi array LUNs have already been configured on the ONTAP system. (In the following procedures, assume that Node-1 and Node-2 are the names of the ONTAP nodes.)

If aggregates with Hitachi array LUNs are already created on an ONTAP system that uses array LUNs

  1. Run the following command to ensure that HA configuration is enabled on your ONTAP systems: cluster ha show

    The following output is displayed:

    High Availability Configured: true
  2. Run the following command to ensure that storage failover is configured on your ONTAP system: storage failover show

    The following output is displayed:

              Takeover
    Node           Partner        Possible State Description
    -------------- -------------- -------- -------------------------------------
    Node-1    Node-2    true     Connected to Node-2
    Node-2    Node-1    true     Connected to Node-1
    2 entries were displayed.
  3. Run the following command to perform a takeover operation on Node-1: storage failover takeover -ofnode Node-1

  4. Run the following command again to verify that Node-2 is ready for a giveback operation: storage failover show

    The following output is displayed:

              Takeover
    Node           Partner        Possible State Description
    -------------- -------------- -------- -------------------------------------
    Node-2    Node-1    false    In takeover, Auto giveback will be
                                          initiated in 348 seconds
    Node-1    Node-2    -        Waiting for giveback (HA mailboxes)
    2 entries were displayed.
  5. Run the following command to perform a giveback operation on Node-1: storage failover giveback -ofnode Node-1 -require-partner-waiting true

  6. From other nodes in the cluster, repeat Step 3 through Step 5.

If aggregates with Hitachi array LUNs have not been created on an ONTAP system that uses array LUNs

  1. Run the following command to list all the ONTAP FC initiator ports that are connected to the Hitachi storage array: system node run -node <node name> -command "sysconfig -v"

    For example: system node run -node Node-1 -command "sysconfig -v"

  2. Run the following command to take all the listed ports offline: system node run -node <node name> -command "priv set advanced;fcadmin offline <adapter>"

    For example: system node run -node Node-1 -command "priv set advanced;fcadmin offline 0a"

  3. Run the following command to bring all the listed ports online: system node run -node <node name> -command "priv set advanced;fcadmin online <adapter>"

    For example: system node run -node Node-1 -command "priv set advanced;fcadmin online 0a"