[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [PATCH 7/8] Add metadatatype arg to vgextend.



If any devices need an implicit pvcreate, we must know the metadata
type.

Signed-off-by: Dave Wysochanski <dwysocha redhat com>
---
 man/vgextend.8.in |    1 +
 tools/commands.h  |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/man/vgextend.8.in b/man/vgextend.8.in
index deb1cf3..25a2fc2 100644
--- a/man/vgextend.8.in
+++ b/man/vgextend.8.in
@@ -4,6 +4,7 @@ vgextend \- add physical volumes to a volume group
 .SH SYNOPSIS
 .B vgextend
 [\-A|\-\-autobackup y|n] [\-d|\-\-debug] [\-h|\-?|\-\-help] 
+[\-M|\-\-metadatatype type]
 [\-t|\-\-test]
 [\-v|\-\-verbose]
 VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]
diff --git a/tools/commands.h b/tools/commands.h
index 8559799..6ac2fe3 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -800,12 +800,13 @@ xx(vgextend,
    "\t[-A|--autobackup y|n]\n"
    "\t[-d|--debug]\n"
    "\t[-h|--help]\n"
+   "\t[-M|--metadatatype 1|2]" "\n"
    "\t[-t|--test]\n"
    "\t[-v|--verbose]\n"
    "\t[--version]" "\n"
    "\tVolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]\n",
 
-   autobackup_ARG, test_ARG)
+   autobackup_ARG, metadatatype_ARG, test_ARG)
 
 xx(vgimport,
    "Register exported volume group with system",
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]