Home > Veritas Storage Foundation™ Volume Manager Manual Pages
VXCONFIGRESTORE (1M) |
Maintenance Commands |
Any disks whose private region headers have become corrupted are reinstalled when the disk group configuration is restored. If you choose not to reinstall the Veritas Volume Manager (VxVM) headers for these disks, it may not be possible to restore the disk group.
The disk group configuration backup files may have been automatically created by the vxconfigbackupd daemon, or manually by running the vxconfigbackup command.
Restoration of a disk group configuration has two stages: precommit and commit. The precommit stage allows you to temporarily load the configuration that is to be restored, and examine it using the vxprint utility. At this stage, the disk group configuration is read-only. No permanent changes are written to disk until you choose to commit them. If desired, you can abandon the restore operation at the precommit stage.
Volumes are synchronized in the background. For large volume configurations, it may take some time to perform the synchronization. You can use the vxtask -l list command to monitor the progress of this operation.
Note: The volumes have not yet been synchronized at this stage.
This is the default operation if no option is specified.
vxconfigrestore -p mydg
Load the configuration of the mydg1 disk group from the backup files in the directory /dgbackup/mydg1 without reinstalling any disks that have corrupted private region disk headers:
vxconfigrestore -n -l /dgbackup/mydg1 mydg1
Abandon the restoration of the mydg2 disk group at the precommit stage:
vxconfigrestore -d -l /dgbackup/mydg2 mydg2
Commit the restoration of the configuration of the mydg disk group from the backup files in the directory /dgbackup/mydg:
vxconfigrestore -c -l /dgbackup/mydg mydg
The disk group configuration backup and restore utilities do not save any data in the public region. This includes file system or other application data that is configured within VxVM objects.
A shared disk group in a cluster is restored as a private disk group. After the commit phase has completed, you can deport the private disk group and re-import it as a shared disk group.
Last updated: 17 Jul 2008
Copyright ©2009 Symantec Corporation
All rights reserved.