[Bugs] [Bug 1209751] New: BitRot :- on restarting glusterd values for tunables are lost

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 8 07:01:29 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1209751

            Bug ID: 1209751
           Summary: BitRot :- on restarting glusterd values for tunables
                    are lost
           Product: GlusterFS
           Version: mainline
         Component: bitrot
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: racpatel at redhat.com
                CC: bugs at gluster.org
      Docs Contact: bugs at gluster.org



Description of problem:
=======================
On restarting glusterd, values for BitRot tunables are reset to default.


Version-Release number of selected component (if applicable):
=============================================================
0.803.gitf64666f.el6.x86_64

How reproducible:
=================
always

Steps to Reproduce:
===================
1. create and mount volume.
2. enable bitrot
3. create few files.
4. change tunables.
[root at rhs-client37 rac2]# gluster volume bitrot rac1 scrub-throttle  frozen
volume bitrot: success
[root at rhs-client37 rac2]# gluster volume bitrot rac1 scrub-frequency daily
volume bitrot: success
[root at rhs-client37 rac2]# gluster v info rac1

Volume Name: rac1
Type: Distribute
Volume ID: 7e82fbfa-1877-4eb3-9c26-d821950dc9ee
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: rhs-client44:/pavanbrick6/r1
Brick2: rhs-client38:/pavanbrick6/r1
Brick3: rhs-client37:/pavanbrick6/r1
Options Reconfigured:
features.scrub-freq: daily
features.scrub-throttle: frozen
features.bitrot: on

5. restart glusterd on one of the server and check volume info
[root at rhs-client37 rac2]# service glusterd restart
Starting glusterd:                               [  OK  ]
[root at rhs-client37 rac2]# gluster v info rac1

Volume Name: rac1
Type: Distribute
Volume ID: 7e82fbfa-1877-4eb3-9c26-d821950dc9ee
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: rhs-client44:/pavanbrick6/r1
Brick2: rhs-client38:/pavanbrick6/r1
Brick3: rhs-client37:/pavanbrick6/r1
Options Reconfigured:
features.bitrot: on

6. check vol info on other servers

[root at rhs-client38 ~]# gluster v info rac1

Volume Name: rac1
Type: Distribute
Volume ID: 7e82fbfa-1877-4eb3-9c26-d821950dc9ee
Status: Started
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: rhs-client44:/pavanbrick6/r1
Brick2: rhs-client38:/pavanbrick6/r1
Brick3: rhs-client37:/pavanbrick6/r1
Options Reconfigured:
features.scrub-freq: daily
features.scrub-throttle: frozen
features.scrub: pause
features.bitrot: on


Actual Result:-
===============
values for tunables are reset to default on glusterd restart

Expect Result:-
===============
Bitrot configuration should remain same even after restart of glusterd/node

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the Docs Contact for the bug.


More information about the Bugs mailing list