Veritas Volume Manager 5.0.1 Troubleshooting Guide, HP-UX 11i v3, First Edition, November 2009
Warning: None of the disks or VxVM objects in the disk group may 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
◆
Use the following command to perform a precommit analysis of the state of
the disk group configuration, and to reinstall the disk headers where these
have become corrupted:
# /etc/vx/bin/vxconfigrestore -p [-l directory] \
{diskgroup | dgid}
The disk group can be specified either by name or by ID.
The -l option allows you to specify a directory for the location of the backup
configuration files other than the default location, /etc/vx/cbr/bk.
See Backing up a disk group configuration for details.
To specify that the disk headers are not to be reinstalled
◆
Type the following command:
# /etc/vx/bin/vxconfigrestore -n [-l directory] \
{diskgroup | dgid}
At the precommit stage, you can use the vxprint command to examine the
configuration that the restored disk group will have. You can choose to proceed
to commit the changes and restore the disk group configuration. Alternatively,
you can cancel the restoration before any permanent changes have been
made.
To abandon restoration at the precommit stage
◆
Type the following command:
# /etc/vx/bin/vxconfigrestore -d [-l directory] \
{diskgroup | dgid}
Backing up and restoring disk group configurations
Restoring a disk group configuration
58