Creates a file containing information about a volume group for use by the savevg and restvg commands.
mkvgdata [ -m ] VGName
The mkvgdata command creates a file containing information about a volume group for use by the savevg and restvg commands. The information includes the list of logical volumes, file systems and their sizes, and the volume group name. One of the following files is created, depending on the type of volume group:
|/image.data||Created for information about the root volume group (rootvg). The savevg command uses this file to create a backup image that can be used by the bosinstall routine to reinstall the volume group to the current system or to a new system. The mkvgdata command overwrites this file if it already exists. The /image.data file is located in the / directory.|
|/vgname.data||Created for information about a user volume group. The vgname variable reflects the name of the volume group. The savevg command uses this file to create a backup image that can be used by the restvg command to reinstall the user volume group. The mkvgdata command overwrites this file if it already exists. The /vgname.data file is located in the /tmp/vgdata/ vgname directory, where vgname is the volume group name.|
The information in either of these files can be edited by the user before issuing the savevg command.
|-m||Specifies that map files be created along with the data file. Both the map files and the data file are placed in either the /tmp/vgdata/vgname/vgname.data file (for a user volume group) or the /image.data file (for a root volume group).|
|/image.data||Created when the volume group is rootvg.|
|Created when the volume group is not rootvg and where vgname is the name of the volume group.|
The mkszfile command, savevg command, restvg command.