1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00

Prevent lvextend from adding segments with different stripe characteristics

at the moment because the old LVM format doesn't support this.
This commit is contained in:
Alasdair Kergon 2002-01-25 21:14:43 +00:00
parent 74ccfe851b
commit ee5ec1b870

View File

@ -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");