From dc868e56c90024d4298f2086abbd9edae79b80fd Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 12 Jun 2008 13:24:02 +0000 Subject: [PATCH] Add --force to lvextend and lvresize. --- WHATS_NEW | 1 + tools/commands.h | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 32bc14232..4f258003b 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.39 - ================================ + Add --force to lvextend and lvresize. Fix vgchange to not activate mirror leg and log volumes directly. Fix test directory clean up in make distclean. diff --git a/tools/commands.h b/tools/commands.h index 5c3827790..ebb0bd200 100644 --- a/tools/commands.h +++ b/tools/commands.h @@ -217,6 +217,7 @@ xx(lvextend, "\t[-A|--autobackup y|n]\n" "\t[--alloc AllocationPolicy]\n" "\t[-d|--debug]\n" + "\t[-f|--force]\n" "\t[-h|--help]\n" "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" "\t{-l|--extents [+]LogicalExtentsNumber[%{VG|PVS|FREE}] |\n" @@ -230,9 +231,9 @@ xx(lvextend, "\t[--version]" "\n" "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n", - alloc_ARG, autobackup_ARG, extents_ARG, mirrors_ARG, nofsck_ARG, - resizefs_ARG, size_ARG, stripes_ARG, stripesize_ARG, test_ARG, - type_ARG) + alloc_ARG, autobackup_ARG, extents_ARG, force_ARG, mirrors_ARG, + nofsck_ARG, resizefs_ARG, size_ARG, stripes_ARG, stripesize_ARG, + test_ARG, type_ARG) xx(lvmchange, "With the device mapper, this is obsolete and does nothing.", @@ -339,6 +340,7 @@ xx(lvresize, "\t[-A|--autobackup y|n]\n" "\t[--alloc AllocationPolicy]\n" "\t[-d|--debug]\n" + "\t[-f|--force]\n" "\t[-h|--help]\n" "\t[-i|--stripes Stripes [-I|--stripesize StripeSize]]\n" "\t{-l|--extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE}] |\n" @@ -351,8 +353,9 @@ xx(lvresize, "\t[--version]" "\n" "\tLogicalVolume[Path] [ PhysicalVolumePath... ]\n", - alloc_ARG, autobackup_ARG, extents_ARG, nofsck_ARG, resizefs_ARG, - size_ARG, stripes_ARG, stripesize_ARG, test_ARG, type_ARG) + alloc_ARG, autobackup_ARG, extents_ARG, force_ARG, nofsck_ARG, + resizefs_ARG, size_ARG, stripes_ARG, stripesize_ARG, test_ARG, + type_ARG) xx(lvs, "Display information about logical volumes",