While cache-pool is in use - it is considered invisible.
Version 2.02.112 -
=====================================
+ Cache-pool in use becomes invisible LV.
Don't prompt for removal of _pmspare in VG without pool metadata LV.
Deactivation of snapshot origin detects and deactivates left-over snapshots.
Properly report error when taking snapshot of any cache type LV.
seg->origin = origin;
seg->lv->status |= seg_is_cache(seg) ? CACHE : THIN_VOLUME;
+ if (seg_is_cache(seg))
+ lv_set_hidden(pool_lv); /* Used cache-pool is hidden */
+
if (origin && !add_seg_to_segs_using_this_lv(origin, seg))
return_0;
if (!remove_seg_from_segs_using_this_lv(seg->pool_lv, seg))
return_0;
seg->lv->status &= ~CACHE;
+ lv_set_visible(seg->pool_lv);
seg->pool_lv = NULL;
return 1;
}