vgcfgrestor.1m (2010 09)

v
vgcfgrestore(1M) vgcfgrestore(1M)
version is 2.0 or higher:
vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t7d0
Force to restore the LVM configuration data when volume group is still active:
vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c0t7d0
Restore the LVM configuration information to physical volume
/dev/rdsk/c0t4d0
using alternate
configuration file
/tmp/vg00.backup
:
vgcfgrestore -f /tmp/vg00.backup /dev/rdsk/c0t4d0
List backup information saved in default configuration file
vg00.conf:
vgcfgrestore -n /dev/vg00 -l
Above command might display the following:
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c0t6d0 (Bootable)
/dev/rdsk/c0t5d0 (Non-bootable)
Restore LVM configuration information stored for /dev/rdsk/c0t7d0
in default configuration file
vg01.conf to physical volume /dev/rdsk/c0t6d0
:
vgcfgrestore -n /dev/vg01 -o /dev/rdsk/c0t7d0 /dev/rdsk/c0t6d0
Restore LVM configuration information to physical volume /dev/rdisk/disk1
using LVM data struc-
tures in kernel memory. The volume group containing
/dev/rdisk/disk1
must be activated:
vgcfgrestore -k /dev/rdisk/disk1
AUTHOR
vgcfgrestore was developed by HP.
SEE ALSO
pvchange(1M), vgcfgbackup(1M), vgchange(1M), intro(7), lvm(7).
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3