Bug 1602261 - Disabling Thinpool when compression and deduplication is enabled on a device
Summary: Disabling Thinpool when compression and deduplication is enabled on a device
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.5
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHHI-V 1.5
Assignee: Sahina Bose
QA Contact: bipin
URL:
Whiteboard:
Depends On: 1602263
Blocks: 1520836 1602286
TreeView+ depends on / blocked
 
Reported: 2018-07-18 05:55 UTC by bipin
Modified: 2019-05-20 04:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1602263 1602286 (view as bug list)
Environment:
Last Closed: 2019-05-20 04:55:13 UTC
Embargoed:


Attachments (Terms of Use)
Cockpit_UI_Verified (70.58 KB, image/png)
2018-07-25 10:11 UTC, bipin
no flags Details

Description bipin 2018-07-18 05:55:05 UTC
Description of problem:
Currently in RHHI, when thinpool and VDO(compression and deduplication) are enabled for a device it affects the discard functionality. Basically the thinpool has minimum 64kb size discard set and VDO has its default as 4kb. Since thinp falls above VDO in RHHI stack , it disables the discard passdown. This bug is raised to make sure the thinp is disabled, so that the VDO  max_discard_sectors=4 is enabled.


Version-Release number of selected component (if applicable):
cockpit-ovirt-dashboard-0.11.30-1.el7ev.noarch
ansible-2.6.1-1.el7ae.noarch
gdeploy-2.0.2-27.el7rhgs.noarch
vdo-6.1.0.168-18.x86_64
kmod-kvdo-6.1.0.171-17.el7_5.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:


Additional info:

This is raised based on the bug 1600156

Comment 1 bipin 2018-07-25 10:11:27 UTC
Verified the bug on cockpit-ovirt-0.11.31-1.
Attaching the screenshot from cockpit

Steps:
====
1.Start the gluster deployment 
2.Move towards the brick tab and check the enable compression and deduplication checkbox
3.The thinpool gets unchecked for that device
4.Complete the deployment and the VDO device is created without thinp


CLI output:
==========
sdb                                                                8:16   0    20T  0 disk 
└─vdo_sdb                                                        253:14   0  50.8T  0 vdo  
  ├─gluster_vg_sdb-gluster_lv_engine                             253:19   0   100G  0 lvm  /gluster_bricks/engine
  ├─gluster_vg_sdb-gluster_lv_data                               253:20   0  1000G  0 lvm  /gluster_bricks/data
  └─gluster_vg_sdb-gluster_lv_vmstore                            253:21   0     4T  0 lvm  /gluster_bricks/vmstore

Comment 2 bipin 2018-07-25 10:11:54 UTC
Created attachment 1470496 [details]
Cockpit_UI_Verified


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