PVSCAN(8)

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 SCSI, (E)IDE disks and multiple devices in the system for defined 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.

-vv, --verbose --verbose
    Like -v and display 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
lvm(8), pvcreate(8), pvdisplay(8)

AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>