Veritas Volume Manager 5.0 Troubleshooting Guide, HP-UX 11i v3, First Edition, May 2008

48 Backing up and restoring disk group configurations
Backing up a disk group configuration
Errors in some configuration copies
Format error in configuration copy
Invalid block number
Invalid magic number
If VxVM cannot update a disk group’s configuration because of disk errors, it
disables the disk group and displays the following error:
VxVM vxconfigd ERROR V-5-1-123 Disk group group: Disabled by errors
If such errors occur, you can restore the disk group configuration from a backup
after you have corrected any underlying problem such as failed or disconnected
hardware.
Configuration data from a backup allows you to reinstall the private region
headers of VxVM disks in a disk group whose headers have become damaged, to
recreate a corrupted disk group configuration, or to recreate a disk group and
the VxVM objects within it. You can also use the configuration data to recreate a
disk group on another system if the original system is not available.
Note: Restoration of a disk group configuration requires that the same physical
disks are used as were configured in the disk group when the backup was taken.
The following sections describe how to back up and restore disk group
configurations.
Backing up a disk group configuration
VxVM uses the disk group configuration daemon to monitor the configuration
of disk groups, and to back up the configuration whenever it is changed. By
default, the five most recent backups are preserved. If required, you can also
back up a disk group configuration by running the
vxconfigbackup command.
The following table describes the files that record disk group configuration
information:
Table 5-1 Files that record disk group configuration
Backup files Description
/etc/vx/cbr/bk/diskgroup.dgid/dgid.dginfo Disk group information.
/etc/vx/cbr/bk/diskgroup.dgid/dgid .diskinfo Disk attributes.
/etc/vx/cbr/bk/diskgroup.dgid/dgid .binconfig Binary configuration copy.
/etc/vx/cbr/bk/diskgroup.dgid/dgid.cfgrec Configuration records in
vxprint -m format.