Veritas Volume Manager 5.0.1 Troubleshooting Guide, HP-UX 11i v3, First Edition, November 2009
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 files record disk group configuration information:
Disk group information./etc/vx/cbr/bk/diskgroup.dgid/dgid.dginfo
Disk attributes./etc/vx/cbr/bk/diskgroup.dgid/dgid
.diskinfo
Binary configuration copy./etc/vx/cbr/bk/diskgroup.dgid/dgid
.binconfig
Configuration records in vxprint
-m format.
/etc/vx/cbr/bk/diskgroup.dgid/dgid.cfgrec
Here diskgroup is the name of the disk group, and dgid is the disk group ID. If a
disk group is to be recreated on another system, copy these files to that system.
Warning: Take care that you do not overwrite any files on the target system that
are used by a disk group on that system.
To back up a disk group configuration
◆
Type the following command:
# /etc/vx/bin/vxconfigbackup diskgroup
To back up all disk groups, use this version of the command:
# /etc/vx/bin/vxconfigbackup
See the vxconfigbackup(1M) manual page.
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.
57Backing up and restoring disk group configurations
Restoring a disk group configuration