]>
Commit | Line | Data |
---|---|---|
5951ef33 | 1 | .TH LVSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*- |
922ce479 | 2 | .SH NAME |
16b1fe4a | 3 | lvscan \- scan (all disks) for Logical Volumes |
922ce479 AK |
4 | .SH SYNOPSIS |
5 | .B lvscan | |
7c638cc2 | 6 | .RB [ \-a | \-\-all] |
922ce479 AK |
7 | .RB [ \-b | \-\-blockdevice ] |
8 | .RB [ \-d | \-\-debug ] | |
922ce479 | 9 | .RB [ \-h | \-\-help ] |
5a52dca9 AK |
10 | .RB [ \-\-ignorelockingfailure ] |
11 | .RB [ \-P | \-\-partial ] | |
922ce479 AK |
12 | .RB [ \-v | \-\-verbose ] |
13 | .SH DESCRIPTION | |
c63b155d | 14 | lvscan scans all known volume groups or all supported LVM block devices |
16b1fe4a | 15 | in the system for defined Logical Volumes. The output consists |
c63b155d | 16 | of one line for each Logical Volume indicating whether or not it is active, |
16b1fe4a | 17 | a snapshot or origin, the size of the device and its allocation policy. |
c63b155d ZK |
18 | Use \fBlvs\fP(8) or \fBlvdisplay\fP(8) to obtain more-comprehensive |
19 | information about the Logical Volumes. | |
922ce479 | 20 | .SH OPTIONS |
c63b155d | 21 | See \fBlvm\fP(8) for common options. |
922ce479 | 22 | .TP |
7c638cc2 DW |
23 | .BR \-\-all |
24 | Include information in the output about internal Logical Volumes that | |
25 | are components of normally-accessible Logical Volumes, such as mirrors, | |
26 | but which are not independently accessible (e.g. not mountable). | |
c63b155d ZK |
27 | For example, after creating a mirror using |
28 | .B lvcreate \-m1 \-\-mirrorlog disk\fR, | |
7c638cc2 DW |
29 | this option will reveal three internal Logical Volumes, with suffixes |
30 | mimage_0, mimage_1, and mlog. | |
31 | .TP | |
922ce479 | 32 | .BR \-b ", " \-\-blockdevice |
c63b155d ZK |
33 | This option is now ignored. Instead, use \fBlvs\fP(8) or |
34 | \fBlvdisplay\fP(8) to obtain the device number. | |
922ce479 | 35 | .SH SEE ALSO |
c63b155d | 36 | .BR lvm (8), |
922ce479 AK |
37 | .BR lvcreate (8), |
38 | .BR lvdisplay (8) | |
16b1fe4a | 39 | .BR lvs (8) |