Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
1.  Installing and Maintaining a Sun StorEdge A3500 System or a Sun StorEdge A3500FC System Configuring Storage Systems How to Delete a LUN  Previous   Contents   Next 
   
 

ProcedureHow to Reset the LUN Configuration

Use this procedure to reset the LUN configuration.


Caution! Caution - If you reset a LUN configuration, a new DID number is assigned to LUN 0. This change occurs because the software assigns a new worldwide number (WWN) to the new LUN.


  1. From one node that is connected to the storage system, determine the paths to the LUNs you are resetting.
    # format
    AVAILABLE DISK SELECTIONS:
    0. c0t5d0 <SYMBIOS-StorEdgeA3500FCr-0301 cyl3 alt2 hd64 sec64>
    /pseudo/rdnexus@0/rdriver@5,0
    1. c0t5d1 <SYMBIOS-StorEdgeA3500FCr-0301 cyl2025 alt2 hd64 sec64>
    /pseudo/rdnexus@0/rdriver@5,1

  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 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. Set the controller module back to active/active mode.

    For more information on controller modes, see the Sun StorEdge RAID Manager Installation and Support Guide and the Sun StorEdge RAID Manager User's Guide.

  5. By using the format command, label the new LUN 0.

  6. 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*

  7. Use the lad command to determine the alternate paths to the old LUNs you reset.

    The RAID Manager software creates two paths to the LUN in the /dev/osa/dev/rdsk directory. Substitute the cNtXdY number from the other controller module in the storage array to determine the alternate path.

    For example, with this configuration:
    # lad
    c0t5d0 1T93600714 LUNS: 0 1
    c1t4d0 1T93500595 LUNS: 2

    The alternate paths would be as follows.
    /dev/osa/dev/dsk/c1t4d1*
    /dev/osa/dev/rdsk/c1t4d1*

  8. Remove the alternate paths to the old LUNs you reset.
    # rm /dev/osa/dev/dsk/cNtXdY*
    # rm /dev/osa/dev/rdsk/cNtXdY*

  9. Update device namespaces on both nodes.
    devfsadm -C

  10. Remove all obsolete DIDs on both nodes.
    # scdidadm -C

  11. Move all resource groups and device groups off the node.
    # scswitch -S -h from-node

  12. Shut down the node.

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

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

    If the following error message appears, ignore this message. Continue with the next step.

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

  14. After the node reboots and joins the cluster, repeat Step 6 through Step 13 on the other node. This node is attached to the storage system.

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

ProcedureHow to Correct Mismatched DID Numbers

Use this section to correct mismatched device ID (DID) numbers that might appear during the creation of A3500/A3500FC LUNs. You correct the mismatch by deleting Solaris and Sun Cluster paths to the LUNs that have DID numbers that are different. After rebooting, the paths are corrected.


Note - Use this procedure only if you are directed to do so from How to Create a LUN.


  1. From one node that is connected to the storage system, determine the paths to the LUNs. These LUNs have different DID numbers.
    # format

  2. Remove the paths to the LUNs that have different DID numbers.
    # rm /dev/rdsk/cNtXdY*
    # rm /dev/dsk/cNtXdY*
    
    # rm /dev/osa/dev/dsk/cNtXdY*
    # rm /dev/osa/dev/rdsk/cNtXdY*

  3. Use the lad command to determine the alternate paths to the LUNs that have different DID numbers.

    The RAID Manager software creates two paths to the LUN in the /dev/osa/dev/rdsk directory. Substitute the cNtXdY number from the other controller module in the storage array to determine the alternate path.

    For example, with this configuration.
    # lad
    c0t5d0 1T93600714 LUNS: 0 1
    c1t4d0 1T93500595 LUNS: 2

    The alternate paths would be as follows.
    /dev/osa/dev/dsk/c1t4d1*
    /dev/osa/dev/rdsk/c1t4d1*

  4. Remove the alternate paths to the LUNs that have different DID numbers.
    # rm /dev/osa/dev/dsk/cNtXdY*
    # rm /dev/osa/dev/rdsk/cNtXdY*

  5. On both nodes, remove all obsolete DIDs.
    # scdidadm -C

  6. Move all resource groups and device groups off the node.
    # scswitch -S -h from-node

  7. Shut down the node.

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

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

  9. Repeat Step 1 through Step 8 on the other node. This node is attached to the storage system.

  10. Return to How to Create a LUN.

 
 
 
  Previous   Contents   Next