mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
51 lines
1.9 KiB
Groff
51 lines
1.9 KiB
Groff
.TH LVSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
|
|
.SH NAME
|
|
lvscan \(em scan (all disks) for Logical Volumes
|
|
.SH SYNOPSIS
|
|
.B lvscan
|
|
.RB [ \-a | \-\-all]
|
|
.RB [ \-b | \-\-blockdevice ]
|
|
.RB [ \-\-commandprofile
|
|
.IR ProfileName ]
|
|
.RB [ \-d | \-\-debug ]
|
|
.RB [ \-h | \-\-help ]
|
|
.RB [ \-\-ignorelockingfailure ]
|
|
.RB [ \-P | \-\-partial ]
|
|
.RB [ \-v | \-\-verbose ]
|
|
.SH DESCRIPTION
|
|
lvscan scans all known volume groups or all supported LVM block devices
|
|
in the system for defined Logical Volumes. The output consists
|
|
of one line for each Logical Volume indicating whether or not it is active,
|
|
a snapshot or origin, the size of the device and its allocation policy.
|
|
Use \fBlvs\fP(8) or \fBlvdisplay\fP(8) to obtain more-comprehensive
|
|
information about the Logical Volumes.
|
|
.SH OPTIONS
|
|
See \fBlvm\fP(8) for common options.
|
|
.TP
|
|
.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).
|
|
For example, after creating a mirror using
|
|
.B lvcreate \-m1 \-\-mirrorlog disk\fR,
|
|
this option will reveal three internal Logical Volumes, with suffixes
|
|
mimage_0, mimage_1, and mlog.
|
|
.TP
|
|
.BR \-b ", " \-\-blockdevice
|
|
This option is now ignored. Instead, use \fBlvs\fP(8) or
|
|
\fBlvdisplay\fP(8) to obtain the device number.
|
|
.TP
|
|
.IR \fB\-\-cache " " LogicalVolume
|
|
Applicable only when \fBlvmetad\fP(8) is in use (see also \fBlvm.conf\fP(5),
|
|
global/use_lvmetad). This command issues a rescan of physical volume labels and
|
|
metadata areas of all PVs that the logical volume uses. In particular, this can
|
|
be used when a RAID logical volume becomes degraded, to update information
|
|
about physical volume availability. This is only necessary if the logical
|
|
volume is \fBnot\fP being monitored by dmeventd (see \fBlvchange\fP(8), option
|
|
\fB\-\-monitor\fP).
|
|
.SH SEE ALSO
|
|
.BR lvm (8),
|
|
.BR lvcreate (8),
|
|
.BR lvdisplay (8)
|
|
.BR lvs (8)
|