Veritas Volume Manager 5.0 Administrator's Guide (September 2006)
202 Creating and administering disk groups
Backing up and restoring disk group configuration data
and modifies configuration information stored on disk. vxconfigd also initializes VxVM
when the system is booted.
The vxdctl command is the command-line interface to the vxconfigd daemon.
You can use
vxdctl to:
■ Control the operation of the vxconfigd daemon.
■ Change the system-wide definition of the default disk group.
Note: In VxVM 4.0 and later releases, disk access records are no longer stored in the /
etc/vx/volboot file. Non-persistent disk access records are created by scanning the
disks at system startup. Persistent disk access records for simple and nopriv disks are
permanently stored in the /etc/vx/darecs file in the root file system. The
vxconfigd daemon reads the contents of this file to locate the disks and the configuration
databases for their disk groups. (The /etc/vx/darecs file is also used to store
definitions of foreign devices that are not autoconfigurable. Such entries may be added by
using the
vxddladm addforeign command. See the vxddladm(1M) manual page for
more information.)
If your system is configured to use Dynamic Multipathing (DMP), you can also use
vxdctl to:
■ Reconfigure the DMP database to include disk devices newly attached to, or removed
from the system.
■ Create DMP device nodes in the directories /dev/vx/dmp and /dev/vx/rdmp.
■ Update the DMP database with changes in path type for active/passive disk arrays.
Use the utilities provided by the disk-array vendor to change the path type between
primary and secondary.
For more information about how to use
vxdctl, refer to the vxdctl(1M) manual page.
Backing up and restoring disk group configuration data
The disk group configuration backup and restoration feature allows you to back up and
restore all configuration data for disk groups, and for VxVM objects such as volumes that
are configured within the disk groups. The
vxconfigbackupd daemon monitors changes
to the VxVM configuration and automatically records any configuration changes that
occur. Two utilities,
vxconfigbackup and vxconfigrestore, are provided for backing
up and restoring a VxVM configuration for a disk group.
For information on backing up and restoring disk group configurations, see the “Backing
Up and Restoring Disk Group Configurations” chapter in the Veritas Volume Manager
Troubleshooting Guide, and the
vxconfigbackup(1M) and vxconfigrestore(1M)
manual pages.