vgscan.1m (2010 09)

v
vgscan(1M) vgscan(1M)
legacy DSFs to use both persistent and legacy DSFs. The
-B option cannot be used
in conjunction with the
-a,
-k, -C, and -N options and when the legacy naming
model is disabled with the
rmsf -L command (see rmsf(1M)).
-C If a persistent DSF in a volume group has corresponding cluster DSFs, then the
cluster DSF is printed on the left along with the existing persistent DSFs.
The
-C option requires the patch to Serviceguard A.11.20 that contains the cluster-
wide device special file (cDSF) enhancement, and possibly other dependent patches.
See the latest version of the HP Serviceguard A.11.20 Release Notes for more infor-
mation.
The
-C option cannot be used in conjunction with the
-a, -k, -N, and -B options.
-f vg_names For the specified volume groups, force
vgscan to replace any existing entries in
/etc/lvmtab or /etc/lvmtab_p
with updated entries. If the volume groups
are missing from
/etc/lvmtab or /etc/lvmtab_p
, they are added. The -f
option provides the following functions:
(1) Update incorrect, existing entries for activated volume groups. For example, a
volume group may have been imported with only a partial set of devices. Or, a
boot volume group may have been activated with persistent DSFs, while the
existing entry in
/etc/lvmtab or /etc/lvmtab_p
has legacy DSFs.
(2) Migrate a deactivated volume group using legacy DSFs to use persistent DSFs,
or vice-versa.
(3) If the
-C option is used along with the -f
option, then the persistent DSFs in
the volume group are replaced by the corresponding cluster DSFs.
(4) Add volume group entries to the
/etc/lvmtab or /etc/lvmtab_p
file in
the order specified on the command line. For example, this option can be used
to put the boot volume group first in the
/etc/lvmtab or /etc/lvmtab_p
file.
With the
-f option, vgscan will not search for additional volume groups and will
not report unconfigured volume groups.
-k Skip the disk probe portion of vgscan, and retrieve volume group information only
from LVM data structures in kernel memory. The disk probe portion can be a time
consuming operation, so this option can be used for faster recovery of
/etc/lvmtab or /etc/lvmtab_p. However, with this option, only volume
groups currently activated are added to /etc/lvmtab or /etc/lvmtab_p
.For
deactivated volume groups, no information is added to
/etc/lvmtab or
/etc/lvmtab_p. The -k option cannot be used in conjunction with the -a,
-B,
-C, and -N options.
-N Populate /etc/lvmtab or /etc/lvmtab_p
using persistent DSFs, with the fol-
lowing exception:
If there are volume groups activated that are using legacy DSFs, then
vgscan will
populate /etc/lvmtab or /etc/lvmtab_p using legacy DSFs for those physical
volumes.
The
-N option cannot be used in conjunction with the -a, -k, and -B options.
-p Preview the actions that would be taken but do not update /etc/lvmtab or
/etc/lvmtab_p This option is best used in conjunction with the -v option. As
with other options, if the legacy naming model has been disabled with the rmsf -L
command (see rmsf (1M)), the -N option should also be used with the -p option.
-v Print verbose messages.
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)).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010