Sun Cluster 3.1 - 3.2 With Sun StorEdge 3310 or 3320 SCSI RAID Array Manual for Solaris OS

ProcedureHow to Create and Map a LUN

Use this procedure to create a logical unit (LUN) from unassigned disk drives or remaining capacity. See the Sun StorEdge 3310 SCSI RAID Firmware Version 3.25 Guide for the latest information about LUN administration.

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.

Before You Begin

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

  1. Create and partition the logical device(s).

    For more information on creating a LUN, see the Sun StorEdge 3000 Family RAID Firmware 4.1x User’s Guide.

  2. Map the LUNs to the host channels that are cabled to the nodes.

    For more information on mapping LUNs to host channels, see the Sun StorEdge 3000 Family RAID Firmware 4.1x User’s Guide.


    Note –

    You can have a maximum of 64 shared LUNs.


  3. Ensure that each LUN has an associated entry in the /kernel/drv/sd.conf file.

    For more information, see the Sun StorEdge 3000 Family Installation, Operation, and Service Manual, 3310 SCSI Array.

  4. To make the changes to the /kernel/drv/sd.conf file active, perform one of the following options.

    • On systems that run Solaris 8 Update 7 or below, perform a reconfiguration boot.

    • For Solaris 9 and above, run the update_drv -f sd command and then the devfsadm command.

  5. If necessary, label the LUNs.

  6. If the cluster is online and active, 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
      
  7. If you want a volume manager to manage the new LUN, run the appropriate Solstice DiskSuite/Solaris Volume Manager commands or Veritas Volume Manager commands. Use these commands to incorporate the new LUN into a diskset or disk group.

    For information on administering LUNs, see your Sun Cluster system administration documentation.

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

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

    For the procedure about how to add a quorum device, see your Sun Cluster system administration documentation.