Bug 1811988
Summary: | [vdo] Replace older method of modifying VDO max_discard_size with newer VDO option | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
Component: | rhhi | Assignee: | Gobinda Das <godas> | |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhhiv-1.8 | CC: | mwaykole, rhs-bugs | |
Target Milestone: | --- | |||
Target Release: | RHHI-V 1.8 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | cockpit-ovirt-0.14.3-1.el8ev | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1811989 1811991 (view as bug list) | Environment: | ||
Last Closed: | 2020-08-04 14:51:37 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: | 1811989, 1811991 | |||
Bug Blocks: | 1779977 |
Description
SATHEESARAN
2020-03-10 10:38:43 UTC
Following example explains the usage of VDO option 'maxDiscardSize' [root@ ~]# vdo create -n vdo_sdd --vdoLogicalSize=1T --vdoSlabSize=32G --device /dev/sdd --maxDiscardSize=16M Creating VDO vdo_sdd The VDO volume can address 1 TB in 58 data slabs, each 32 GB. It can grow to address at most 256 TB of physical storage in 8192 slabs. Starting VDO vdo_sdd Starting compression on VDO vdo_sdd VDO instance 2 volume is ready at /dev/mapper/vdo_sdd [root@ ~]# vdo status -n vdo_sdd | grep -i 'discard size' Max discard size: 16M [root@ ~]# dmsetup table | grep vdo_sdd vdo_sdd: 0 2147483648 vdo V2 /dev/disk/by-id/scsi-3600304801a48610125f9a60819a7d829 488243200 4096 32768 16380 on auto vdo_sdd maxDiscard 4096 ack 1 bio 4 bioRotationInterval 64 cpu 2 hash 1 logical 1 physical 1 Tested with gluster-ansible-infra-1.0.4-7.el8 and cockpit-ovirt-dashboard-0.14.3 When role was execute, it no longer tries to add changes to vdo systemd unit file, instead the per VDO volume option 'maxDiscardSize' is set to 16M 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 (RHHI for Virtualization 1.8 bug fix and enhancement update), 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://access.redhat.com/errata/RHEA-2020:3314 |