Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Destroying a disk group
The vxdg command provides a destroy option that removes a disk group from
the system and frees the disks in that disk group for reinitialization:
# vxdg destroy diskgroup
Warning: This command destroys all data on the disks.
When a disk group is destroyed, the disks that are released can be re-used in other
disk groups.
Recovering a destroyed disk group
If a disk group has been accidentally destroyed, you can recover it, provided that
the disks that were in the disk group have not been modified or reused elsewhere.
To recover a destroyed disk group
1
Enter the following command to find out the disk group ID (dgid) of one of
the disks that was in the disk group:
# vxdisk -s list disk_access_name
The disk must be specified by its disk access name, such as c0t12d0. Examine
the output from the command for a line similar to the following that specifies
the disk group ID.
dgid: 963504895.1075.bass
2
Use the disk group ID to import the disk group:
# vxdg import dgid
Upgrading the disk group version
All Veritas Volume Manager disk groups have an associated version number. Each
VxVM release supports a specific set of disk group versions and can import and
perform tasks on disk groups with those versions. Some new features and tasks
work only on disk groups with the current disk group version.
When you upgrade, VxVM does not automatically upgrade the versions of existing
disk groups. If the disk group is a supported version, the disk group can be used
as is, as long as you do not attempt to use the features of the current version.
Creating and administering disk groups
Destroying a disk group
264