diff --git a/tools/lvcreate.c b/tools/lvcreate.c index 5e9b7b423..a01466c27 100644 --- a/tools/lvcreate.c +++ b/tools/lvcreate.c @@ -705,11 +705,11 @@ static int _lvcreate(struct cmd_context *cmd, struct volume_group *vg, return 0; } -// if (lp->mirrors > 1 && !activation()) { - //log_error("Can't create mirror without using " - //"device-mapper kernel driver."); - //return 0; - //} + if (lp->mirrors > 1 && !activation()) { + log_error("Can't create mirror without using " + "device-mapper kernel driver."); + return 0; + } /* The snapshot segment gets created later */ if (lp->snapshot &&