From 9404dcab69775b903303a0e72ca3bfcb21aeab26 Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Wed, 25 Feb 2009 13:17:40 +0000 Subject: [PATCH] Update vgchange and vgmknodes man pages to include --refresh. Author: Dave Wysochanski --- WHATS_NEW | 1 + man/vgchange.8.in | 7 +++++++ man/vgmknodes.8.in | 13 +++++++++++-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 7043bce1b..19305a27e 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.45 - =================================== + Add --refresh to vgchange and vgmknodes man pages. Fixed bug where lvresize option -t was not properly passed to fsadm. Using argv[] list in exec_cmd() to allow more params for external commands. Fsadm does not allow checking mounted filesystem. diff --git a/man/vgchange.8.in b/man/vgchange.8.in index 3905441c5..413339aab 100644 --- a/man/vgchange.8.in +++ b/man/vgchange.8.in @@ -25,6 +25,7 @@ vgchange \- change attributes of a volume group .RB [ \-P | \-\-partial] .RB [ \-s | \-\-physicalextentsize .IR PhysicalExtentSize [ \fBkKmMgGtT\fR ]] +.RB [ \-\-refresh] .RB [ -t | \-\-test] .RB [ \-v | \-\-verbose] .RB [ \-\-version ] @@ -128,6 +129,12 @@ impact on I/O performance to the logical volume. The smallest PE is 1KB. The 2.4 kernel has a limitation of 2TB per block device. .TP +.BR \-\-refresh +If any logical volume in the volume group is active, reload its metadata. +This is not necessary in normal operation, but may be useful +if something has gone wrong or if you're doing clustering +manually without a clustered lock manager. +.TP .BR \-x ", " \-\-resizeable " " { y | n } Enables or disables the extension/reduction of this volume group with/by physical volumes. diff --git a/man/vgmknodes.8.in b/man/vgmknodes.8.in index acba91add..49f6a9dbc 100644 --- a/man/vgmknodes.8.in +++ b/man/vgmknodes.8.in @@ -3,13 +3,22 @@ vgmknodes \- recreate volume group directory and logical volume special files .SH SYNOPSIS .B vgmknodes -[\-d|\-\-debug] [\-h|\-?|\-\-help] -[\-v|\-\-verbose] +.RB [ \-d | \-\-debug] +.RB [ \-h | \-\-help] +.RB [ \-\-refresh] +.RB [ \-v | \-\-verbose] [[VolumeGroupName | LogicalVolumePath]...] .SH DESCRIPTION Checks the LVM2 special files in /dev that are needed for active logical volumes and creates any missing ones and removes unused ones. .SH OPTIONS +.TP +.BR \-\-refresh +If any logical volume in the volume group is active, reload its metadata. +This is not necessary in normal operation, but may be useful +if something has gone wrong or if you're doing clustering +manually without a clustered lock manager. +.TP See \fBlvm\fP for common options. .SH SEE ALSO .BR lvm (8),