Bug 1475975 - LVM cache: warning about loosing redundancy is incorrect.
LVM cache: warning about loosing redundancy is incorrect.
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2 (Show other bugs)
7.3
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Zdenek Kabelac
cluster-qe@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-27 12:51 EDT by Jonathan Earl Brassow
Modified: 2017-08-09 06:37 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jonathan Earl Brassow 2017-07-27 12:51:25 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.

This:
        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

Note You need to log in before you can comment on or make changes to this bug.