2008-10-08 16:50:13 +04:00
.TH VGSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2002-01-04 23:35:19 +03:00
.SH NAME
vgscan \- scan all disks for volume groups and rebuild caches
.SH SYNOPSIS
.B vgscan
2014-05-21 16:53:56 +04:00
.RB [ \- \- commandprofile
.IR ProfileName ]
2012-04-11 16:42:10 +04:00
.RB [ \- d | \- \- debug ]
.RB [ \- h | \- ? | \- \- help ]
.RB [ \- \- ignorelockingfailure ]
.RB [ \- \- mknodes ]
.RB [ \- P | \- \- partial ]
.RB [ \- v | \- \- verbose ]
2002-01-04 23:35:19 +03:00
.SH DESCRIPTION
vgscan scans all SCSI, (E)IDE disks, multiple devices and a bunch
of other disk devices in the system looking for LVM physical volumes
2006-08-19 02:35:59 +04:00
and volume groups. Define a filter in \fB lvm.conf\fP (5) to restrict
2002-01-04 23:35:19 +03:00
the scan to avoid a CD ROM, for example.
.LP
In LVM2, vgscans take place automatically; but you might still need to
2003-11-14 19:17:55 +03:00
run one explicitly after changing hardware.
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.
2003-11-14 19:17:55 +03:00
.TP
2012-04-11 16:42:10 +04:00
.B \- \- mknodes
2003-11-14 19:17:55 +03:00
Also checks the LVM special files in /dev that are needed for active
logical volumes and creates any missing ones and removes unused ones.
2012-03-27 15:04:46 +04:00
.TP
2012-04-11 16:42:10 +04:00
.B \- \- cache
2012-03-27 15:04:46 +04:00
Scan devices for LVM physical volumes and volume groups and instruct
the lvmetad daemon to update its cached state accordingly.
2002-01-04 23:35:19 +03:00
.SH SEE ALSO
2008-10-08 16:50:13 +04:00
.BR lvm (8),
.BR vgcreate (8),
2002-01-04 23:35:19 +03:00
.BR vgchange (8)