LVSCAN(8)

NAME
lvscan - scan (all disks) for logical volumes

SYNOPSIS
lvscan [-b/--blockdevice] [-d/--debug] [-D/--disk] [-h/-?/--help] [-v/--verbose]

DESCRIPTION
lvscan scans all known volume groups or all SCSI, (E)IDE disks and multiple devices in the system for logical volumes defined.

  OPTIONS

-b, --blockdevice
    Adds the device major and minor numbers to the display of each logical volume.

-d, --debug
    Enables additional debugging output (if compiled with DEBUG).

-D, --disk
    Scan for logical volumes on disk(s) instead of getting the information from the kernel.

-h, -?, --help
    Print a usage message on standard output and exit successfully.

-v, --verbose
    Gives verbose runtime information about lvscan's activities.

DIAGNOSTICS
lvscan returns an exit state of 0 for success and > 0 for error:
1  no volume groups found
2  invalid volume group name
3  error getting VGDA from kernel
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), lvcreate(8), lvdisplay(8)

AUTHOR
Heinz Mauelshagen <linux-lvm@ez-darmstadt.telekom.de>