2008-10-08 16:50:13 +04:00
.TH LVSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2002-01-04 23:35:19 +03:00
.SH NAME
2011-01-24 23:02:07 +03:00
lvscan \- scan (all disks) for Logical Volumes
2002-01-04 23:35:19 +03:00
.SH SYNOPSIS
.B lvscan
2009-10-26 17:37:09 +03:00
.RB [ \- a | \- \- all]
2002-01-04 23:35:19 +03:00
.RB [ \- b | \- \- blockdevice ]
.RB [ \- d | \- \- debug ]
.RB [ \- h | \- \- help ]
2002-11-18 17:04:08 +03:00
.RB [ \- \- ignorelockingfailure ]
.RB [ \- P | \- \- partial ]
2002-01-04 23:35:19 +03:00
.RB [ \- v | \- \- verbose ]
.SH DESCRIPTION
2012-04-11 16:42:10 +04:00
lvscan scans all known volume groups or all supported LVM block devices
2011-01-24 23:02:07 +03:00
in the system for defined Logical Volumes. The output consists
2012-04-11 16:42:10 +04:00
of one line for each Logical Volume indicating whether or not it is active,
2011-01-24 23:02:07 +03:00
a snapshot or origin, the size of the device and its allocation policy.
2012-04-11 16:42:10 +04:00
Use \fB lvs\fP (8) or \fB lvdisplay\fP (8) to obtain more-comprehensive
information about the Logical Volumes.
2002-01-04 23:35:19 +03:00
.SH OPTIONS
2012-04-11 16:42:10 +04:00
See \fB lvm\fP (8) for common options.
2002-01-04 23:35:19 +03:00
.TP
2009-10-26 17:37:09 +03:00
.BR \- \- all
Include information in the output about internal Logical Volumes that
are components of normally-accessible Logical Volumes, such as mirrors,
but which are not independently accessible (e.g. not mountable).
2012-04-11 16:42:10 +04:00
For example, after creating a mirror using
.B lvcreate \- m1 \- \- mirrorlog disk\fR,
2009-10-26 17:37:09 +03:00
this option will reveal three internal Logical Volumes, with suffixes
mimage_0, mimage_1, and mlog.
.TP
2002-01-04 23:35:19 +03:00
.BR \- b ", " \- \- blockdevice
2012-04-11 16:42:10 +04:00
This option is now ignored. Instead, use \fB lvs\fP (8) or
\fB lvdisplay\fP (8) to obtain the device number.
2002-01-04 23:35:19 +03:00
.SH SEE ALSO
2012-04-11 16:42:10 +04:00
.BR lvm (8),
2002-01-04 23:35:19 +03:00
.BR lvcreate (8),
.BR lvdisplay (8)
2011-01-24 23:02:07 +03:00
.BR lvs (8)