diff options
author | Alasdair Kergon <agk@redhat.com> | 2002-01-25 21:14:43 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2002-01-25 21:14:43 +0000 |
commit | ee5ec1b87023348df66c6aec01b7e7e6f10445b4 (patch) | |
tree | e5b21883c6e394e888d6b4bed555aab65bd07287 | |
parent | 74ccfe851bc969021d2d9a3159eb2c5a6175fd26 (diff) | |
download | lvm2-ee5ec1b87023348df66c6aec01b7e7e6f10445b4.tar.gz |
Prevent lvextend from adding segments with different stripe characteristicsold-VERSION
at the moment because the old LVM format doesn't support this.
-rw-r--r-- | tools/lvresize.c | 10 |
1 files 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"); |