Restoring a disk group configuration

You can use the vxconfigrestore utility to restore or recreate a disk group from its configuration backup. The restoration process consists of a precommit operation followed by a commit operation. At the precommit stage, you can examine the configuration of the disk group that would be restored from the backup. The actual disk group configuration is not permanently restored until you choose to commit the changes.

Warning:

None of the disks or VxVM objects in the disk groups should be open or in use by any application while the restoration is being performed.

You can choose whether or not any corrupted disk headers are to be reinstalled at the precommit stage. If any of the disks' private region headers are invalid, restoration may not be possible without reinstalling the headers for the affected disks.

See the vxconfigrestore(1M) manual page.

To perform the precommit operation

To specify that the disk headers are not to be reinstalled

To abandon restoration at the precommit stage

To perform the commit operation

If the back-up is taken of a shared disk group, the vxconfigrestore command restores it as a private disk group. After the disk group is restored, run the following commands to make the disk group shared.

To make the disk group shared

  1. Deport the disk group:
    # vxdg deport dg_name
  2. Import the disk group as shared:
    # vxdg -s import dg_name