1. Computing
Linux / Unix Command: lvscan
Command Library

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 supported LVM block devices in the system for defined logical volumes.  

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.
--version
Prints version number of tool and exits sucessfully.
 

SEE ALSO

lvm(8), lvcreate(8), lvdisplay(8)  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2014 About.com. All rights reserved.