Importing the existing disk group with only the cloned disks

If the standard (non-clone) disks in a disk group are not imported, you can import the existing disk group with only the cloned disks. By default, the clone_disk flag is set on the disks so that you can continue to distinguish between the original disks and the cloned disks.

This procedure is useful for temporary scenarios. For example, if you want to import only the clone disks to verify the point-in-time copy. After you have verified the clone disks, you can deport the clone disks and import the standard disks again.

Be sure to import a consistent set of cloned disks, which represent a single point of time copy of the original disks. Each of the disks must have either the udid_mismatch flag or the clone_disk flag or both. No two of the disks should have the same UDID. That is, there must not be two copies of the same original disk.

You must use disk tags if multiple copies of disks in a disk group are present on the system.

VxVM does not support a disk group with both clone and non-clone disks. If you want to import both clone disks and standard disks simultaneously, you must specify a new disk group name for the clone disk group.

To import the disk group with only the cloned disks

  1. Make sure that at least one of the cloned disks has a copy of the current configuration database in its private region.

  2. Import only the cloned disks by specifying the -o useclonedev=on option to the vxdg import command, as shown in this example:
    # vxdg -o useclonedev=on [-o updateid] import mydg

    This form of the command allows only cloned disks to be imported. All non-cloned disks remain unimported.

    Specify the -o updateid option to write new identification attributes to the disks, and to set the clone_disk flag on the disks. (The vxdisk set clone=on command can also be used to set the flag.)

More Information

Importing a set of cloned disks with tags

Importing the cloned disks as a new standard disk group

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