Setting up configuration database copies (metadata) for a disk group

Each VxVM disk group has a configuration database that contains persistent configuration data (or metadata) about the objects in the disk group. VxVM consults this database when the disk group is imported. The configuration database is stored in the private region of one or more VxVM disks in the disk group. The number of stored configuration copies is set for each disk group.

See the vxdg(1M) manual page.

If you import only a partial set of disks in a disk group, you must ensure that at least one of the imported disks contains a copy of the current configuration database.

To set up the configuration copies on a set of disks

  1. Use the following command to place a copy of the configuration database and kernel log on all disks in a disk group that share the specified tag:
    # vxdg [-g diskgroup] set tagmeta=on tag=tagname nconfig=all \
      nlog=all
  2. If you have set tagmeta=on for a disk group, use the following command to view the disk tags and the value set for the number of configuration copies. A value of -1 indicates that all tagged disks maintain configuration or log copies.
    # vxdg listmeta diskgroup

To set up the configuration copy on a specific disk