*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> vgrestore (1m)              


 vgrestore(1M)                    VxVM 3.5                     vgrestore(1M)
                                 1 Jun 2002

 NAME    [Toc]    [Back]
      vgrestore - restore a VxVM disk group back to an LVM volume group

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/vgrestore vg_name

 DESCRIPTION    [Toc]    [Back]
      The vgrestore command restores a Logical Volume Manager (LVM) volume
      group that was previously converted to a VxVM disk group by the
      vxvmconvert utility.

 ARGUMENTS    [Toc]    [Back]
           Specifies the name of a volume group that was converted to a VxVM
           disk group by the vxvmconvert utility.

 EXIT CODES    [Toc]    [Back]
      vgrestore exits with one of the following values:

       0   Successful completion.

      >0   Failure; an error occurred.

 WARNINGS    [Toc]    [Back]
      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

      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 nowconverted
 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    [Toc]    [Back]
      To restore the LVM volume group vg03 that was converted by vxvmconvert
      to the VxVM disk group dg03, enter:

                                    - 1 -       Formatted:  January 24, 2005

 vgrestore(1M)                    VxVM 3.5                     vgrestore(1M)
                                 1 Jun 2002

           vgcfgrestore vg03

 SEE ALSO    [Toc]    [Back]

      VERITAS Volume Manager Migration Guide

                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
dgcfgrestor HP-UX display or restore VxVM disk group configuration from backup file
dgcfgbackup HP-UX create or update VxVM volume group configuration backup file
vgcfgrestor HP-UX display or restore LVM volume group configuration from backup file
vxdestroy_lvmroot HP-UX remove LVM root disk and associated LVM volume group
vximportdg HP-UX import a disk group into the VERITAS Volume Manager configuration
vol_pattern HP-UX VERITAS Volume Manager disk group search specifications
vxres_lvmroot HP-UX restore LVM root disk from VERITAS Volume Manager root disk
vxvmconvert HP-UX convert LVM volume groups to VxVM disk groups
pvchange HP-UX change characteristics and access path of physical volume in LVM volume group
pvck HP-UX check or repair a physical volume in LVM volume group
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service