From ee5ec1b87023348df66c6aec01b7e7e6f10445b4 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 25 Jan 2002 21:14:43 +0000 Subject: [PATCH] Prevent lvextend from adding segments with different stripe characteristics at the moment because the old LVM format doesn't support this. --- tools/lvresize.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/lvresize.c b/tools/lvresize.c index 676c7556d..8511d5179 100644 --- a/tools/lvresize.c +++ b/tools/lvresize.c @@ -76,12 +76,14 @@ int lvresize(int argc, char **argv) } if (arg_count(stripes_ARG)) { - log_print("Stripes not yet implemented in LVM2. Ignoring."); - stripes = arg_int_value(stripes_ARG, 1); + log_print("Varied striping not yet supported. Ignoring."); + /* FUTURE stripes = arg_int_value(stripes_ARG, 1); */ } - if (arg_count(stripesize_ARG)) - stripesize = 2 * arg_int_value(stripesize_ARG, 0); + if (arg_count(stripesize_ARG)) { + log_print("Varied stripesize not yet supported. Ignoring."); + /* FUTURE stripesize = 2 * arg_int_value(stripesize_ARG, 0); */ + } if (!argc) { log_error("Please provide the logical volume name");