summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-03-27 11:04:46 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2012-03-27 11:04:46 +0000
commit3be9089cd3827637c0c18a4ea44a6d8858d971c6 (patch)
tree1f63231e3063e55c3906b5cdf45db114e152da69 /man
parent4007e0d139e47fb25ea7828f9062d55919b37cb9 (diff)
downloadlvm2-3be9089cd3827637c0c18a4ea44a6d8858d971c6.tar.gz
lvm2-3be9089cd3827637c0c18a4ea44a6d8858d971c6.tar.xz
lvm2-3be9089cd3827637c0c18a4ea44a6d8858d971c6.zip
Add 'vgscan --cache' functionality for consistency with 'pvscan --cache'.
Calling vgscan alone should reuse information from the lvmetad (if running). The --cache option should initiate direct device scan and update lvmetad appropriately (if running). This is mainly for vgscan to behave consistently compared to pvscan.
Diffstat (limited to 'man')
-rw-r--r--man/vgscan.8.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/vgscan.8.in b/man/vgscan.8.in
index cc462691..e3c5bc8e 100644
--- a/man/vgscan.8.in
+++ b/man/vgscan.8.in
@@ -22,6 +22,10 @@ See \fBlvm\fP for common options.
.I \-\-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.
+.TP
+.I \-\-cache
+Scan devices for LVM physical volumes and volume groups and instruct
+the lvmetad daemon to update its cached state accordingly.
.SH SEE ALSO
.BR lvm (8),
.BR vgcreate (8),