HP-UX Reference (11i v2 04/09) - 1M System Administration Commands N-Z (vol 4)
v
vgscan(1M) vgscan(1M)
If for some reason, there is a need to re-construct
/etc/lvmtab when the system is running production
application,
vgscan will create a partial /etc/lvmtab
. In this case, most of the primary paths should
be included in the
/etc/lvmtab. Use vgextend
to include any missing alternate paths in the VG.
EMC DISK WARNINGS
Starting at 10.20, the
vgscan command is supporting additional EMC Symmetrix disk product func-
tionality (see vgchgid(1M)). The vgscan command will be enforcing a new rule such that only EMC
disks with the same attributes can belong to the same volume group. Note that an EMC disk, without any
of the additional attributes, can still be mixed with non-EMC disks in the same volume group. Please
consult your EMC Symmetrix documentation, if applicable.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If
LANG is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default
to "C" (see environ (5)).
EXAMPLES
Scan the primary controller device paths for all the physical volumes on the system, but do not update the
/etc/lvmtab file:
vgscan -p -v
Scan all controller device paths to all physical volumes on the system:
vgscan -a -v
Scan the primary controller device paths for all the physical volumes on the system and re-create
/etc/lvmtab file:
vgscan -v
The following messages will appear after /etc/lvmtab file is re-created.
*** LVMTAB has been created successfully.
*** If PV links are configured in the system
*** Do the following to resync information on disk.
*** #1. vgchange -a y
*** #2. lvlnboot -R
SEE ALSO
vgexport(1M), vgimport(1M).
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 1M−−895