Sun Cluster 3.0 U1 Hardware Guide

How to Reset StorEdge A3500/A3500FC LUN Configuration

Use this procedure to reset StorEdge A3500/A3500FC LUN configuration.


Caution - Caution -

Resetting LUN configuration results in a new DID number being assigned to LUN 0. This is because the software assigns a new worldwide number (WWN) to the new LUN.


  1. From one node that is connected to the StorEdge A3500/A3500FC system, use the format command to determine the paths to the LUN(s) you are resetting, as shown in the following example (sample output shown below):


    # 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 LUN(s) on the controller module you are resetting?

    • If not, go to Step 3.

    • If a volume manager does manage the LUN, run the appropriate Solstice DiskSuite or VERITAS Volume Manager commands to remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite or VERITAS Volume Manager documentation. See the following paragraph for additional VERITAS Volume Manager commands that are required.

      LUNs that were managed by VERITAS Volume Manager must be completely removed from VERITAS Volume Manager control before you can delete them. To remove the LUNs, after you delete the LUN from any disk group, use the following commands:


      # vxdisk offline cNtXdY
      # vxdisk rm cNtXdY
      

  3. On one node, reset the LUN configuration.

    For the procedure for resetting StorEdge A3500/A3500FC LUN configuration, see the Sun StorEdge RAID Manager User's Guide.


    Note -

    Use the format command to verify Solaris logical device names.


  4. Set the controller module back to active/active mode (it was set to active/passive when reset).

    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 LUN(s) 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 LUN(s) 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 disk 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 LUN(s) 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. Switch resources and device groups off the node:


    # scswitch -Sh nodename
    

  12. Shut down the node:


    # shutdown -y -g0 -i0
    

  13. Boot the node and wait for it to rejoin the cluster:


    # boot -r
    


    Note -

    If the following error message appears, ignore it and continue with the next step. The DID will be updated when the procedure is complete. device id for '/dev/rdsk/c0t5d0' does not match physical disk's id.


  14. After the node has rebooted and joined the cluster, repeat Step 6 through Step 13 on the other node that is attached to the StorEdge A3500/A3500FC system.

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