man pvscan () - scan all disks for physical volumes

NAME

pvscan - scan all disks for physical volumes

SYNOPSIS

pvscan [-d|--debug] [-e|--exported] [-h|--help] [-n|--novolumegroup] [-s|--short] [-u|--uuid] [-v[v]|--verbose [--verbose]]

DESCRIPTION

pvscan scans all supported LVM block devices in the system for physical volumes.

OPTIONS

-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-e, --exported
Only show physical volumes belonging to exported volume groups.
-h, --help
Print a usage message on standard output and exit successfully.
-n, --novolumegroup
Only show physical volumes not belonging to any volume group.
-s, --short
Short listing format.
-u, --uuid
Show UUIDs (Unifrom Unique Identifiers) in addition to device special names.
-v, --verbose
Gives verbose runtime information about pvscan's activities. If given a second time it displays the attributes of found physical volumes like pvdisplay(8) does.

DIAGNOSTICS

pvscan returns an exit code of 0 for success or >0 for error:

1 error reading physical volumes 2 no physical volumes found

95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line

SEE ALSO

AUTHOR

Heinz Mauelshagen <Linux-LVM@Sistina.com>