2008-10-08 12:50:13 +00:00
.TH VGSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2002-01-04 20:35:19 +00:00
.SH NAME
2014-06-11 11:06:30 +02:00
vgscan \(em scan all disks for volume groups and rebuild caches
2002-01-04 20:35:19 +00:00
.SH SYNOPSIS
.B vgscan
2014-05-21 14:53:56 +02:00
.RB [ \- \- commandprofile
.IR ProfileName ]
2012-04-11 12:42:10 +00:00
.RB [ \- d | \- \- debug ]
.RB [ \- h | \- ? | \- \- help ]
.RB [ \- \- ignorelockingfailure ]
.RB [ \- \- mknodes ]
2016-03-07 10:50:45 -06:00
.RB [ \- \- notifydbus ]
2012-04-11 12:42:10 +00:00
.RB [ \- P | \- \- partial ]
2016-06-24 14:51:20 +02:00
.RB [ \- \- reportformat
.RB { basic | json }]
2012-04-11 12:42:10 +00:00
.RB [ \- v | \- \- verbose ]
2002-01-04 20:35:19 +00: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-18 22:35:59 +00:00
and volume groups. Define a filter in \fB lvm.conf\fP (5) to restrict
2002-01-04 20:35:19 +00: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 16:17:55 +00:00
run one explicitly after changing hardware.
2002-01-04 20:35:19 +00:00
.SH OPTIONS
2012-04-11 12:42:10 +00:00
See \fB lvm\fP (8) for common options.
2003-11-14 16:17:55 +00:00
.TP
2012-04-11 12:42:10 +00:00
.B \- \- mknodes
2003-11-14 16:17:55 +00: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 11:04:46 +00:00
.TP
2016-03-07 10:50:45 -06:00
.B \- \- notifydbus
Send a notification to D-Bus. The command will exit with an error
if LVM is not built with support for D-Bus notification, or if the
notify_dbus config setting is disabled.
.TP
2012-04-11 12:42:10 +00:00
.B \- \- cache
2012-03-27 11:04:46 +00:00
Scan devices for LVM physical volumes and volume groups and instruct
the lvmetad daemon to update its cached state accordingly.
2002-01-04 20:35:19 +00:00
.SH SEE ALSO
2008-10-08 12:50:13 +00:00
.BR lvm (8),
.BR vgcreate (8),
2002-01-04 20:35:19 +00:00
.BR vgchange (8)