Use this procedure to create a root disk group by encapsulating or initializing local disks other than the root disk. As of VxVM 4.0, the creation of a root disk group is optional.
If you want to create a root disk group on the root disk, instead perform procedures in SPARC: How to Encapsulate the Root Disk.
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.
Become superuser on the node.
Start the vxinstall utility.
When prompted, make the following choices or entries.
If you intend 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.
If the root disk group that you created contains one or more disks that connect to more than one node, enable the localonly property.
Use the following command to enable the localonly property of the raw-disk device group for each shared disk in the root disk group.
# scconf -c -D name=dsk/dN,localonly=true
When the localonly property is enabled, the raw-disk device group is used exclusively by the node in its node list. This usage 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 localonly property, see the scconf_dg_rawdisk(1M) man page.
# scswitch -S -h from-node
Moves all resource groups and device groups
Specifies the name of the node from which to move resource or device groups
Reboot the node.
# shutdown -g0 -y -i6
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.
Create disk groups. Go to SPARC: Creating Disk Groups in a Cluster.