Sun Cluster 3.0-3.1 With Sun StorEdge A3500FC System Manual for Solaris OS

ProcedureHow to Reset the LUN Configuration

Use this procedure to completely remove and reset the LUN configuration.

Caution – Caution –

If you reset a LUN configuration, a new device ID number is assigned to LUN 0. This change occurs because the software assigns a new world wide name (WWN) to the new LUN.

  1. From one node that is connected to the storage array or storage system, determine the paths to the LUNs you are resetting.

    # format

    For example:

    phys-schost-1# format
    Searching for disks...done
    0. c0t5d0 <SYMBIOS-StorEdgeA3500FCr-0301 cyl3 alt2 hd64 sec64>
    1. c0t5d1 <SYMBIOS-StorEdgeA3500FCr-0301 cyl2025 alt2 hd64 sec64>
  2. Does a volume manager manage the LUNs on the controller module you are resetting?

    • If no, proceed to Step 3.

    • If yes, remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.

      You must completely remove LUNs that were managed by VERITAS Volume Manager from VERITAS Volume Manager control before you can delete the LUNs.

      # vxdisk offline cNtXdY
      # vxdisk rm cNtXdY
  3. On one node, reset the LUN configuration.

    For the procedure about how to reset the LUN configuration, see the Sun StorEdge RAID Manager User’s Guide.

  4. Use the format command to label the new LUN 0.

  5. Remove the paths to the old LUNs you reset.

    # rm /dev/rdsk/cNtXdY*
    # rm /dev/dsk/cNtXdY*
    # rm /dev/osa/dev/dsk/cNtXdY*
    # rm /dev/osa/dev/rdsk/cNtXdY*
  6. On both nodes, update device namespaces.

    # devfsadm -C
  7. On both nodes, remove all obsolete device IDs.

    # scdidadm -C
  8. Move all resource groups and device groups off the node.

    # scswitch -S -h from-node
  9. Shut down the node.

    For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.

  10. Perform a reconfiguration boot to create the new Solaris device files and links.

    If an error message like the following appears, ignore it. Continue with the next step.

    device id for '/dev/rdsk/c0t5d0' does not match physical disk's id.

  11. After the node reboots and joins the cluster, repeat Step 5 through Step 10 on the other node. This node is attached to the storage array or storage system.

    The device ID number for the original LUN 0 is removed. A new device ID is assigned to LUN 0.