Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vgrestore(1m) [hpux man page]

vgrestore(1M)															     vgrestore(1M)

NAME
vgrestore - restore a VxVM disk group back to an LVM volume group SYNOPSIS
/etc/vx/bin/vgrestore vg_name DESCRIPTION
The vgrestore command restores a Logical Volume Manager (LVM) volume group that was previously converted to a VxVM disk group by the vxvm- convert utility. ARGUMENTS
vg_name Specifies the name of a volume group that was converted to a VxVM disk group by the vxvmconvert utility. EXIT CODES
vgrestore exits with one of the following values: 0 Successful completion. >0 Failure; an error occurred. WARNINGS
vgrestore functions only on VxVM disk groups that were converted from LVM volume groups by the vxvmconvert command. It is a good idea to back up user data before running vgrestore, and restore it after the vgrestore completes, as vgrestore can only restore a logical volume back to the state it was in before conversion to VxVM. If data changed on the volume while it was a VxVM volume, the changes won't be reflected on the volume after being restored to LVM. As part of the original conversion process, applications that once referenced the now-converted LVM volume's path names may have changed to reference VxVM volume special device file names. Alternatively, special device file path names originally representing the now-converted LVM volumes may have changed to symbolic links pointing to the VxVM volume path names. Be sure to undo these actions when restoring back to LVM. Do not use vgrestore unless you are certain that you want to restore LVM volume groups. After vgrestore this is run, the VxVM disks will no longer exist. EXAMPLES
To restore the LVM volume group vg03 that was converted by vxvmconvert to the VxVM disk group dg03, enter: vgcfgrestore vg03 SEE ALSO
vxvmconvert(1M) Veritas Volume Manager Migration Guide VxVM 5.0.31.1 24 Mar 2008 vgrestore(1M)

Check Out this Related Man Page

lvmpvg(4)						     Kernel Interfaces Manual							 lvmpvg(4)

NAME
lvmpvg - LVM physical volume group information file SYNOPSIS
DESCRIPTION
is an ASCII file that stores the volume-group information for all of the physical volume groups in the system. The information is stored in a hierarchical format. First, it starts with a volume group under which multiple physical volume groups can exist. Under each physical volume group, a list of physical volumes can be specified. There must be at least one physical volume group in each volume group that appears in this file. The physical-volume-group name must be unique within the corresponding volume group, although it is permissible to use a common physical volume group name across different volume groups. There can be as many volume groups in this file as there are in the system. Instead of using the and commands, the administrator can edit this file to create and extend physical volume groups. However, care must be taken to ensure that all physical volumes to be included in the file have already been defined in their respective volume groups by previ- ous use of or The file format has the following structure. and are keywords that introduce the names of the volume group and physical volume group, respectively. pv_path ... pv_path ... pv_path ... The variables are defined as follows: pv_path The block device path name of a physical volume within the volume group. pvg_name The name of the physical volume group. It must be unique within the volume group. vg_name The path name of the volume group. EXAMPLES
The following example shows an file containing two volume groups: the first containing two physical volume groups, each with two physical volumes defined in it; the second containing three physical volume groups, each with one physical volume defined in it. SEE ALSO
vgcreate(1M), vgextend(1M), vgreduce(1M), vgremove(1M), intro(7), lvm(7). lvmpvg(4)
Man Page