Vgscan

From LQWiki
Jump to navigation Jump to search

vgscan is an LVM command that scans devices for volume groups and physical volumes.

vgscan [-d/--debug] [-h/-?/--help] [--ignorelockingfailure] [--mknodes]
       [-P/--partial] [-v/--verbose]

example

Reading all physical volumes.  This may take a while...
  Found volume group "raid" using metadata type lvm2
  Found volume group "mass" using metadata type lvm2
  Found volume group "bck" using metadata type lvm2