xref: /dragonfly/contrib/lvm2/dist/man/vgscan.8 (revision 6e278935)
$NetBSD: vgscan.8,v 1.2 2009/02/18 12:16:13 haad Exp $

VGSCAN 8 "LVM TOOLS 2.02.44-cvs (02-17-09)" "Sistina Software UK" \" -*- nroff -*-
NAME
vgscan - scan all disks for volume groups and rebuild caches
SYNOPSIS
vgscan [-d|--debug] [-h|-?|--help] [--ignorelockingfailure] [--mknodes] [-P|--partial] [-v|--verbose]
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 and volume groups. Define a filter in lvm.conf(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.

OPTIONS
See lvm for common options.

--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.

SEE ALSO
lvm (8), vgcreate (8), vgchange (8)