LVM2 man/vgextend.8.in tools/args.h tools/comm ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-10-13 10:34:32
Modified files:
man : vgextend.8.in
tools : args.h commands.h vgextend.c
Log message:
Implement vgextend --restoremissing (BZ 537913), which makes it possible to re-add a physical volume that has gone missing previously, due to a transient device failure, without re-initialising it.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/man/vgextend.8.in.diff?cvsroot=lvm2&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/args.h.diff?cvsroot=lvm2&r1=1.79&r2=1.80
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/commands.h.diff?cvsroot=lvm2&r1=1.154&r2=1.155
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgextend.c.diff?cvsroot=lvm2&r1=1.59&r2=1.60
man/vgextend.8.in +5 -1
@@ -4,6 +4,7 @@ .SH SYNOPSIS .B vgextend [\-A|\-\-autobackup y|n] [\-d|\-\-debug] [\-h|\-?|\-\-help] +[\-\-restoremissing] [\-f|\-\-force] [\-t|\-\-test] [\-v|\-\-verbose]
@@ -12,7 +13,10 @@ .SH DESCRIPTION vgextend allows you to add one or more initialized physical volumes ( see .B pvcreate(8) -) to an existing volume group to extend it in size. +) to an existing volume group to extend it in size. Moreover, it allows you to +re-add a physical volume that has gone missing previously, due to a transient +device failure, without re-initialising it. Use vgextend \-\-restoremissing to +that effect. .sp If \fIPhysicalDevicePath\fP was not previously configured for LVM with \fBpvcreate (8)\fP, the device will be initialized with the same
tools/args.h +1 -0
@@ -38,6 +38,7 @@ arg(units_ARG, '\0', "units", string_arg, 0) arg(nosuffix_ARG, '\0', "nosuffix", NULL, 0) arg(removemissing_ARG, '\0', "removemissing", NULL, 0) +arg(restoremissing_ARG, '\0', "restoremissing", NULL, 0) arg(abort_ARG, '\0', "abort", NULL, 0) arg(addtag_ARG, '\0', "addtag", tag_arg, 0)arg (deltag_ARG,'\0' ,"deltag" , tag_arg,0 )
tools/commands.h +3 -1
@@ -848,6 +848,7 @@0 ,"vgextend\n" "\t[-A|--autobackup y|n]\n" +"\t[--restoremissing]\n" "\t[-d|--debug]\n" "\t[-f|--force]\n" "\t[-h|--help]\n"
@@ -860,7 +861,8 @@ autobackup_ARG, test_ARG, force_ARG, yes_ARG, zero_ARG, labelsector_ARG, metadatatype_ARG, metadatasize_ARG, pvmetadatacopies_ARG, metadatacopies_ARG, - metadataignore_ARG, dataalignment_ARG, dataalignmentoffset_ARG) + metadataignore_ARG, dataalignment_ARG, dataalignmentoffset_ARG, + restoremissing_ARG) xx(vgimport, "Register exported volume group with system",
tools/vgextend.c +67 -29
127 lines not on this page · raw message