Go to main content
Oracle® Solaris Cluster 4.3 System Administration Guide

Exit Print View

Updated: June 2017

How to Add and Register a Device Group (Raw-Disk)

Oracle Solaris Cluster software supports the use of raw-disk device groups in addition to other volume managers. When you initially configure Oracle Solaris Cluster, device groups are automatically configured for each raw device in the cluster. Use this procedure to reconfigure these automatically created device groups for use with Oracle Solaris Cluster software.

Create a new device group of the raw-disk type for the following reasons:

  • You want to add more than one DID to the device group

  • You need to change the name of the device group

  • You want to create a list of device groups without using the –v option of the cldevicegroup command


Caution  -  If you are creating a device group on replicated devices, the name of the device group that you create (Solaris Volume Manager or raw-disk) must be the same as the name of the replicated device group.

  1. Identify the devices that you want to use and unconfigure any predefined device groups.

    The following commands remove the predefined device groups for devices dN and dX.

    phys-schost-1# cldevicegroup disable dsk/dN dsk/dX
    phys-schost-1# cldevicegroup offline dsk/dN dsk/dX
    phys-schost-1# cldevicegroup delete dsk/dN dsk/dX
  2. Create the new raw-disk device group, including the desired devices.

    The following command creates a global device group, raw-disk-dg, which contains devices dN and dX.

    phys-schost-1# cldevicegroup create -n phys-schost-1,phys-schost-2 \
    -t rawdisk -d dN,dX raw-disk-dg
  3. Verify the raw-disk device group you created.
    phys-schost-1# cldevicegroup show raw-disk-dg