Sun Cluster 3.1 - 3.2 With Sun StorEdge 3510 or 3511 FC RAID Array Manual for Solaris OS

ProcedureHow to Create and Map a LUN

Use this procedure to create a LUN from unassigned storage capacity.

Before You Begin

This procedure relies on the following prerequisites and assumptions.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix A, Sun Cluster Object-Oriented Commands, in Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS.

To perform this procedure, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  1. Follow the instructions in your storage device's documentation to create and map the LUN.

    To allow multiple clusters and nonclustered systems to access the storage device, create initiator groups by using LUN filtering or masking.

  2. If you are using multipathing, and if any devices that are associated with the LUN you created are at an unconfigured state, configure the STMS paths on each node that is connected to the storage device.

    To determine if any devices are at an unconfigured state, use the following command:


    # cfgadm -al | grep disk
    

    To configure the STMS paths on each node, use the following command:


    cfgadm -o force_update -c configure controllerinstance
    

    To configure STMS paths for the Solaris 9 OS, see the Sun StorEdge Traffic Manager Installation and Configuration Guide. For the Solaris 10 OS, see the Solaris Fibre Channel Storage Configuration and Multipathing Support Guide for instructions on configuring Solaris I/O multipathing.

  3. On one node that is connected to the storage device, use the format command to label the new LUN.

  4. From any node in the cluster, update the global device namespace.

    • If you are using Sun Cluster 3.2, use the following command:


      # cldevice populate
      
    • If you are using Sun Cluster 3.1, use the following command:


      # scgdevs
      

    Note –

    You might have a volume management daemon such as vold running on your node, and have a CD-ROM drive connected to the node. Under these conditions, a device busy error might be returned even if no disk is in the drive. This error is expected behavior. You can safely ignore this error message.


  5. If you will manage this LUN with volume management software, use the appropriate Solaris Volume Manager or Veritas Volume Manager commands to update the list of devices on all nodes that are attached to the new volume that you created.

    For more information, see your Solaris Volume Manager or Veritas Volume Manager documentation.

See Also