Restores the user volume group.
restorevgstruct { -ls | -vg VolumeGroupLabel [ DiskName ... ] }
The restorevgstruct command restores the structure of a previously-saved user volume group. If the -ls flag is specified, a list of previously-saved volume groups and the date each volume group was saved is displayed. This command does not work on rootvg.
| DiskName... | Specifies the names of disk devices to be used instead of the disk devices saved in the volume group structure. Target disk devices must be defined as empty physical volumes; that is, they must contain a physical volume identifier and must not belong to a volume group. If the target disk devices belong to a volume group, they must be removed from the volume group using the reducevg command. |
| -ls | Displays a list of previously saved volume groups. |
| -vg | Specifies the name of the VolumeGroup to restore. |
See Virtual I/O Server command exit status.
restorevgstruct myvg hdisk2 hdisk3
restorvgstruct -lsThe message generated would be similar to:
-rw-r--r-- 1 root system 51200 Jun 18 10:53 myvg.data -rw-r--r-- 1 root system 51200 Jun 18 10:53 myvg2.data
The activatevg command, the savevgstruct command, the chvg command, the deactivatevg command, the exportvg command, the extendvg command, the importvg command, the lsvg command, the mkvg command, and the syncvg command.