Removing a Sun Cluster disk device group will cause the corresponding VxVM disk group to be deported, not destroyed. However, even though the VxVM disk group still exists, it cannot be used in the cluster unless re-registered.
This procedure uses the scsetup(1M) utility to remove a VxVM disk group and unregister it as a Sun Cluster disk device group.
Become superuser on any node of the cluster.
Take the disk device group offline.
# scswitch -F -D disk-device-group
Places the disk device group offline.
Specifies the device group to take offline.
Enter the scsetup utility.
The Main Menu is displayed.
To work with VxVM device groups, type 4 (Device groups and volumes).
The Device Groups Menu is displayed.
To unregister a VxVM disk group, type 3 (Unregister a VxVM device group).
Follow the instructions and enter the VxVM disk group to be unregistered.
The following example shows the VxVM disk device group dg1 taken offline, and the scconf command generated by scsetup when it removes and unregisters the disk device group.
# scswitch -F -D dg1 # scsetup scconf -r -D name=dg1