Bug 1335080
| Summary: | cachemode should be available under 'lvs' section while setting-up the cache | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> |
| Component: | gdeploy | Assignee: | Sachidananda Urs <surs> |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.1 | CC: | amukherj, pcuzner, rcyriac, rhinduja, sabose, smohan, surs |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.1.3 Async | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gdeploy-2.0.1-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-07 11:33:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1277939, 1351522 | ||
|
Description
SATHEESARAN
2016-05-11 10:14:53 UTC
Since this bug is not a blocker, re-proposing this bug for RHGS 3.2 Also note that the actions taken should be different for the different cachemode options. For example, writethrough mode: the input device list is simple one SSD. Data loss in this scenario from a failed SSD is nil. writeback mode: the input device list needs to be at least 2. The ssd layer will know hold on to writes, so the loss of an ssd presents the opportunity for data loss. In this mode the SSD's should be configured as a RAID-1 set. I suggest this is the default behaviour. You may need to add a 'force' option if the admin wants to bypass the recommended RAID-1 config. Tested with gdeploy-2.0.1-3.el7rhgs 'cachemode' option is valid under the section 'lv' and it created 'writeback' cache if mentioned, and created a write-through cache by default. status of the cache as seen post using 'cachemode=writeback' in config file <snip> RHGS_vg1-lvthinpool_tdata: 0 10485760 cache 8 250/2048 128 75/81920 562 77 7 3 0 75 0 1 writeback 2 migration_threshold 2048 smq 0 rw - </snip> Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0260.html |