Sun Cluster 3.0 5/02 Supplement

How to Reset a StorEdge/Netra st A1000 LUN Configuration

Use this procedure to reset a StorEdge/Netra st A1000 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/Netra st A1000 array, 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).


    f28c# format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
           0. c0t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
              /sbus@3,0/SUNW,fas@3,8800000/sd@a,0
           1. c1t5d0 <Symbios-StorEDGEA1000-0301 cyl 12160 alt 2 hd 64 sec 64>
              /pseudo/rdnexus@1/rdriver@5,0
           2. c2t2d0 <Symbios-StorEDGEA1000-0301 cyl 12160 alt 2 hd 64 sec 64>
              /pseudo/rdnexus@2/rdriver@2,0

  2. Determine if the LUN that you plan to reset is configured as a quorum device.


    # scstat -q
    
    • If the LUN is not a quorum device, go to Step 3.

    • If the LUN is configured as a quorum device, choose and configure another device to be the new quorum device. Then remove the old quorum device.

  3. Remove the LUN from disksets or disk groups.

    Run the appropriate Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager commands to remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager 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
    

  4. On one node, reset the LUN configuration.

    For the procedure for resetting StorEdge/Netra st A1000 LUN configuration, see the Sun StorEdge RAID Manager User's Guide.


    only -

    Use the format command to verify Solaris logical device names.


  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. Update device namespaces on both nodes:


    devfsadm -C
    

  8. Remove all obsolete DIDs on both nodes:


    # scdidadm -C
    

  9. Switch resources and device groups off the node:


    # scswitch -Sh nodename
    

  10. Shut down the node:


    # shutdown -y -g0 -i0
    

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


    # boot -r
    

    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.

  12. After the node has rebooted and joined the cluster, repeat Step 6 through Step 11 on the other node that is attached to the StorEdge/Netra st A1000 array.

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