summaryrefslogtreecommitdiffstats
path: root/man/vgconvert.8.in
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2009-10-05 20:55:56 +0000
committerDave Wysochanski <dwysocha@redhat.com>2009-10-05 20:55:56 +0000
commit0ddb66efba61c4be6301ee42c8fa9376e3351acc (patch)
tree50635df824eb462e29ba43a94646baa48f175d40 /man/vgconvert.8.in
parentb8a7da0133247d2de4d1ee5f245b60f050ffc574 (diff)
downloadlvm2-0ddb66efba61c4be6301ee42c8fa9376e3351acc.tar.gz
lvm2-0ddb66efba61c4be6301ee42c8fa9376e3351acc.tar.xz
lvm2-0ddb66efba61c4be6301ee42c8fa9376e3351acc.zip
Add --pvmetadatacopies as a synonym for --metadatacopies in various commands.
Going forward, we would like to allow users to specify the total number of metadatacopies in a VG rather than on a per-PV basis. In order to facilitate that, introduce --pvmetadatacopes to replace --metadatacopies everywhere. We still allow --metadatacopies for pv commands, but require --pvmetadatacopies for vg commands. Eventually we will introduce --vgmetadatacopies. Once we do that, we should either deprecate --metadatacopies or make it a synonym based on the command (pvmetadatacopies for pv commands, and vgmetadatacopies for vg commands). The latter option would likely just require a simple 'strncpy' check against cmd->command->name to qualify the merge_synonym call. Update nightly tests to cover the pvmetadatacopies synonym. Note that this patch is the result of an eariler review comment for the implicit pvcreate patches. Should apply cleanly on top of the implicit pvcreate patches (I applied after patch 10/10 in that series). NOTE: This patch will require --pvmetadatacopies for vgconvert as --metadatacopies is no longer accepted.
Diffstat (limited to 'man/vgconvert.8.in')
-rw-r--r--man/vgconvert.8.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/vgconvert.8.in b/man/vgconvert.8.in
index f5353a02..14e95f40 100644
--- a/man/vgconvert.8.in
+++ b/man/vgconvert.8.in
@@ -9,7 +9,7 @@ vgconvert \- convert volume group metadata format
.RB [ \-v | \-\-verbose ]
.RB [ \-\-labelsector ]
.RB [ \-M | \-\-metadatatype type ]
-.RB [ \-\-metadatacopies #copies ]
+.RB [ \-\-pvmetadatacopies #copies ]
.RB [ \-\-metadatasize size ]
.RB [ \-\-version ]
.IR VolumeGroupName " [" VolumeGroupName ...]