exportvg command

Purpose

Exports the definition of a volume group from a set of physical volumes.

Syntax

exportvg VolumeGroup

Description

The exportvg command removes the definition of the volume group specified by the VolumeGroup parameter from the system. The primary use of the exportvg command, coupled with the importvg command, is to allow portable volumes to be exchanged between systems. Only a complete volume group can be exported, not individual physical volumes.

Using the exportvg command and the importvg command, you can also switch ownership of data on physical volumes shared between two processors.

Mount points longer than 128 characters will not automatically be re-mounted when the volume group is imported using the importvg command and should not be used.

Note: A volume group that has a paging space volume on it cannot be exported.

Examples

  1. To remove volume group vg02 from the system, type:
    exportvg vg02
    Note: The volume group must be deactivated before exporting.
    The definition of vg02 is removed from the system and the volume group cannot be accessed.

Restrictions

Mount points longer than 128 characters should not be used.

A volume group that has a paging space volume on it cannot be exported.




Last updated: Wed, November 18, 2020