HP-UX HB v13.00 Ch-13 - LVM

HP-UX Handbook Rev 13.00 Page 12 (of 110)
Chapter 13 LVM
October 29, 2013
AUTO_VG_ACTIVATE=0
If you do not trust the information in the lvmtab anymore because it may have become
corrupt somehow you can easily recreate it from PVRA and VGRA on the disks through
the vgscan(1M) command. But be sure to save a copy before:
# cp /etc/lvmtab /etc/lvmtab.old
# vgscan -v
Warnings can usually be ignored.
NOTE: If you leave the original file in place then vgscan uses its contents for
creating a new one. This may fail depending on the file’s contents. You may then try
to move the lvmtab away. If there is no /etc/lvmtab, then vgscan recreates it from the
scratch. In this case information about currently deactivated VGs may be missing in
the new file!
ATTENTION: On a Serviceguard systems vgscan may fail. This is a known problem
that is solved by LVM commands cumulative patches. The workaround is easy; just
remove the file /dev/slvmvg before running vgscan.
ATTENTION: On systems using data replication products like BusinessCopy/XP,
ContinousAccess/XP, EMC SRDF or EMC Timefinder vgscan may accidently add
undesired PVs to VGs.
NOTE: vgscan does not take care about the order of alternate links! It may be
necessary to switch the links afterwards (see section PV Links below).
Parameters and Limitations
LVM parameters
The following table summarizes the supported limits in LVM for HP-UX.