Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Create a Root Disk Group on a Nonroot Disk

Use this procedure to create a root disk group by encapsulating or initializing local disks other than the root disk. The creation of a root disk group is optional.

Note –

If you want to create a root disk group on the root disk and the root disk uses UFS, instead perform procedures in SPARC: How to Encapsulate the Root Disk.

Before You Begin

If the disks are to be encapsulated, ensure that each disk has at least two slices with 0 cylinders. If necessary, use the format(1M) command to assign 0 cylinders to each VxVM slice.

  1. Become superuser.

  2. Start the vxinstall utility.

    phys-schost# vxinstall
  3. When prompted by the vxinstall utility, make the following choices or entries.

    • SPARC: To enable the VxVM cluster feature, supply the cluster feature license key.

    • Choose Custom Installation.

    • Do not encapsulate the boot disk.

    • Choose any disks to add to the root disk group.

    • Do not accept automatic reboot.

  4. If the root disk group that you created contains one or more disks that connect to more than one node, ensure that fencing is disabled for such disks.

    Use the following command to disable fencing for each shared disk in the root disk group.

    phys-schost# cldevice set -p default_fencing=nofencing device

    Specifies a device property.


    Disables fencing for the specified device.

    Disabling fencing for the device prevents unintentional fencing of the node from the disk that is used by the root disk group if that disk is connected to multiple nodes.

    For more information about the default_fencing property, see the cldevice(1CL) man page.

  5. Evacuate any resource groups or device groups from the node.

    phys-schost# clnode evacuate from-node

    Specifies the name of the node from which to move resource or device groups.

  6. Reboot the node.

    phys-schost# shutdown -g0 -y -i6
  7. Use the vxdiskadm command to add multiple disks to the root disk group.

    The root disk group becomes tolerant of a disk failure when it contains multiple disks. See VxVM documentation for procedures.

Next Steps

Create disk groups. Go to Creating Disk Groups in a Cluster.