Sun Cluster 3.0 12/01 Release Notes Supplement

How to Create a LUN

Use this procedure to create a logical unit (LUN) from unassigned disk drives or remaining capacity. See the Sun StorEdge RAID Manager Release Notes for the latest information about LUN administration.

This product supports the use of hardware RAID and host-based software RAID. For host-based software RAID, this product supports RAID levels 0+1 and 1+0.


Note -

When you use host-based software RAID with hardware RAID, the hardware RAID levels you use affect the hardware maintenance procedures because they affect volume management administration. If you use hardware RAID level 1, 3, or 5, you can perform most maintenance procedures in "Maintaining a StorEdge/Netra st A1000 Array" without volume management disruptions. If you use hardware RAID level 0, some maintenance procedures in "Maintaining a StorEdge/Netra st A1000 Array" require additional volume management administration because the availability of the LUNs is impacted.


  1. With all cluster nodes booted and attached to the StorEdge/Netra st A1000 array, create the LUN on one node.

    Shortly after the LUN formatting completes, a logical name for the new LUN appears in /dev/rdsk on all cluster nodes that are attached to the StorEdge/Netra st A1000 array.

    For the procedure on creating a LUN, see the Sun StorEdge RAID Manager User's Guide.

    If the following warning message is displayed, ignore it and continue with the next step:


    scsi: WARNING: /sbus@e,0/QLGC,isp@1,10000/sd@2,1 (sd153):corrupt label - wrong magic number

    Note -

    Use the format(1M) command to verify Solaris logical device names and label the LUN if necessary.


  2. Ensure that the new logical name for the LUN you created in Step 1 appears in the /dev/rdsk directory on both nodes by running the hot_add command on both nodes:


    # /etc/raid/bin/hot_add
    

  3. On one node, update the global device namespace:


    # scgdevs
    

  4. Use the scdidadm command to verify that the DID numbers for the LUNs are the same on both nodes. In the sample output that follows, the DID numbers are different:


    # scdidadm -L
    ... 
    33       e07a:/dev/rdsk/c1t4d2          /dev/did/rdsk/d33
    33       e07c:/dev/rdsk/c0t4d2          /dev/did/rdsk/d33

  5. Are the DID numbers you received from running the scdidadm command in Step 4 the same for both your nodes?

  6. If you want a volume manager to manage the new LUN you created in Step 1, run the appropriate Solstice DiskSuite or VERITAS Volume Manager commands to incorporate the new LUN into a diskset or disk group.

    For more information, see your Solstice DiskSuite or VERITAS Volume Manager documentation.

  7. If you want the new LUN to be a quorum device, add the quorum device.

    For the procedure on adding a quorum device, see the Sun Cluster 3.0 U2 System Administration Guide