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 that is specified by the VolumeGroup parameter from the system. The primary use of the exportvg command, along 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 that are shared between two processors.
Mount points longer than 128 characters are not automatically remounted when the volume group is imported by using the importvg command and must not be used.
Exit Status
Examples
- To remove volume group vg02 from the system, type:
exportvg vg02Note: The volume group must be deactivated before you export it.The definition of vg02 is removed from the system and the volume group cannot be accessed.
Restrictions
Mount points longer than 128 characters must not be used.
A volume group that has a paging space volume on it cannot be exported.