Red Hat Bugzilla – Bug 1475975
LVM cache: warning about loosing redundancy is incorrect.
Last modified: 2017-08-09 06:37:36 EDT
Was testing https://bugzilla.redhat.com/show_bug.cgi?id=1179970#c19 and came across a strange error:
"WARNING: Data redundancy is lost with writeback caching of raid logical volume!"
This would be correct if my cacheDataLV and cacheMetaLV were not also RAID LVs, but they are.
if (lv_is_raid(origin_lv) &&
first_seg(seg->pool_lv)->cache_mode == CACHE_MODE_WRITEBACK)
log_warn("WARNING: Data redundancy is lost with writeback "
"caching of raid logical volume!");
should probably make sure that the component devices of the cachepool are not RAID before printing the warning