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
2014-06-11 13:06:30 +04:00
vgscan \(em scan all disks for volume groups and rebuild caches
2002-01-04 23:35:19 +03:00
.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 ]
2016-03-07 19:50:45 +03:00
.RB [ \- \- notifydbus ]
2012-04-11 16:42:10 +04:00
.RB [ \- P | \- \- partial ]
2016-06-24 15:51:20 +03:00
.RB [ \- \- reportformat
.RB { basic | json }]
2012-04-11 16:42:10 +04:00
.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
2016-03-07 19:50:45 +03: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 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)