blob: b9105d890d91165ac54b385fcecb1bb19653b1c0 [file] [log] [blame]
.TH VGSCAN 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
vgscan \(em scan all disks for volume groups and rebuild caches
.B vgscan
.RB [ \-\-commandprofile
.IR ProfileName ]
.RB [ \-d | \-\-debug ]
.RB [ \-h | \-? | \-\-help ]
.RB [ \-\-ignorelockingfailure ]
.RB [ \-\-mknodes ]
.RB [ \-P | \-\-partial ]
.RB [ \-v | \-\-verbose ]
vgscan scans all SCSI, (E)IDE disks, multiple devices and a bunch
of other disk devices in the system looking for LVM physical volumes
and volume groups. Define a filter in \fBlvm.conf\fP(5) to restrict
the scan to avoid a CD ROM, for example.
In LVM2, vgscans take place automatically; but you might still need to
run one explicitly after changing hardware.
See \fBlvm\fP(8) for common options.
.B \-\-mknodes
Also checks the LVM special files in /dev that are needed for active
logical volumes and creates any missing ones and removes unused ones.
.B \-\-cache
Scan devices for LVM physical volumes and volume groups and instruct
the lvmetad daemon to update its cached state accordingly.
.BR lvm (8),
.BR vgcreate (8),
.BR vgchange (8)