diff --git a/WHATS_NEW b/WHATS_NEW index 2f08468be..d91900b15 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.176 - =================================== + Allow lvcreate to be used for caching of _tdata LV. Avoid internal error when resizing cache type _tdata LV (not yet supported). Show original converted names when lvconverting LV to pool volume. Move lib code used only by liblvm into metadata-liblvm.c. diff --git a/tools/lvcreate.c b/tools/lvcreate.c index 8aa16f24a..ff57baff7 100644 --- a/tools/lvcreate.c +++ b/tools/lvcreate.c @@ -1425,7 +1425,7 @@ static int _check_pool_parameters(struct cmd_context *cmd, if (lp->create_pool) { /* Given pool name needs to follow restrictions for created LV */ if (lp->pool_name) { - if (!apply_lvname_restrictions(lp->pool_name)) + if (!seg_is_cache(lp) && !apply_lvname_restrictions(lp->pool_name)) return_0; /* We could check existance only when we have vg */ if (vg && find_lv(vg, lp->pool_name)) {