Bug 1283881 - BitRot :- Data scrubbing status is not available
Summary: BitRot :- Data scrubbing status is not available
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: bitrot
Version: 3.7.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Gaurav Kumar Garg
QA Contact:
bugs@gluster.org
URL:
Whiteboard:
Depends On: 1207627
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-20 07:30 UTC by Gaurav Kumar Garg
Modified: 2016-06-05 23:38 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.7.7
Clone Of: 1207627
Environment:
Last Closed: 2016-02-14 14:40:42 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Vijay Bellur 2015-11-20 08:36:56 UTC
REVIEW: http://review.gluster.org/12704 (glusterd: cli command implementation for bitrot scrub status) posted (#1) for review on release-3.7 by Gaurav Kumar Garg (ggarg)

Comment 2 Gaurav Kumar Garg 2015-11-20 08:37:35 UTC
patch url: http://review.gluster.org/12704

Comment 3 Vijay Bellur 2015-11-21 12:15:37 UTC
REVIEW: http://review.gluster.org/12704 (glusterd: cli command implementation for bitrot scrub status) posted (#2) for review on release-3.7 by Gaurav Kumar Garg (ggarg)

Comment 4 Vijay Bellur 2015-11-23 03:54:17 UTC
COMMIT: http://review.gluster.org/12704 committed in release-3.7 by Atin Mukherjee (amukherj) 
------
commit 164a8dda2cbf10862483e0333ebf7e727fc87f07
Author: Gaurav Kumar Garg <garg.gaurav52>
Date:   Fri Nov 20 14:00:38 2015 +0530

    glusterd: cli command implementation for bitrot scrub status
    
    This patch is backport of: http://review.gluster.org/10231
    
    CLI command  for bitrot scrub status will be :
    
    gluster volume bitrot <volname> scrub status
    
    Above command will show the statistics of bitrot scrubber.
    
    Upon execution of this command it will show some common
    scrubber tunable value of volume <VOLNAME> followed by
    statistics of scrubber statistics of individual nodes.
    
    sample ouput for single node:
    
    Volume name : <VOLNAME>
    
    State of scrub: Active
    
    Scrub frequency: biweekly
    
    Bitrot error log location: /var/log/glusterfs/bitd.log
    
    Scrubber error log location: /var/log/glusterfs/scrub.log
    
    =========================================================
    
    Node name:
    
    Number of Scrubbed files:
    
    Number of Unsigned files:
    
    Last completed scrub time:
    
    Duration of last scrub:
    
    Error count:
    
    =========================================================
    
    This is just infrastructure. list of bad file, last scrub
    time, error count value will be taken care by
    http://review.gluster.org/#/c/12503/  and
    http://review.gluster.org/#/c/12654/ patches.
    
        >> Change-Id: I3ed3c7057c9d0c894233f4079a7f185d90c202d1
        >> BUG: 1207627
        >> Signed-off-by: Gaurav Kumar Garg <ggarg>
        >> Reviewed-on: http://review.gluster.org/10231
        >> Reviewed-by: Atin Mukherjee <amukherj>
        >> Tested-by: NetBSD Build System <jenkins.org>
        >> Tested-by: Gluster Build System <jenkins.com>
    
    Change-Id: I45ed94e5e0e78a1e007c30eb0b252f74cf3c9187
    BUG: 1283881
    Signed-off-by: Gaurav Kumar Garg <ggarg>
    Reviewed-on: http://review.gluster.org/12704
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 5 Vijay Bellur 2015-11-23 07:39:10 UTC
REVIEW: http://review.gluster.org/12715 (features/bit-rot: stub changes for showing bad objects in the status) posted (#1) for review on release-3.7 by Raghavendra Bhat (raghavendra)

Comment 6 Vijay Bellur 2015-11-23 07:39:14 UTC
REVIEW: http://review.gluster.org/12716 (features/bit-rot: scrubber changes for getting the list of bad objects from stub) posted (#1) for review on release-3.7 by Raghavendra Bhat (raghavendra)

Comment 7 Vijay Bellur 2015-11-24 03:56:31 UTC
COMMIT: http://review.gluster.org/12715 committed in release-3.7 by Venky Shankar (vshankar) 
------
commit 98cbfba23434254bb603d93ec154ba65bbbf86cc
Author: Raghavendra Bhat <raghavendra>
Date:   Mon Nov 2 11:43:12 2015 +0530

    features/bit-rot: stub changes for showing bad objects in the status
    
                      Backport of http://review.gluster.org/12503
    
    > Change-Id: If905132f6f1df4aebd9ab255e1e8c59902f84fe5
    > BUG: 1207627
    > Signed-off-by: Raghavendra Bhat <raghavendra>
    > Reviewed-on: http://review.gluster.org/12503
    > Tested-by: NetBSD Build System <jenkins.org>
    > Tested-by: Gluster Build System <jenkins.com>
    > Reviewed-by: Venky Shankar <vshankar>
    > Signed-off-by: Raghavendra Bhat <raghavendra>
    
    Change-Id: I310b71c215913c590b2747e53eea00c2261e975c
    BUG: 1283881
    Signed-off-by: Raghavendra Bhat <raghavendra>
    Reviewed-on: http://review.gluster.org/12715
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Venky Shankar <vshankar>

Comment 8 Vijay Bellur 2015-11-24 03:56:53 UTC
COMMIT: http://review.gluster.org/12716 committed in release-3.7 by Venky Shankar (vshankar) 
------
commit abff11e77918a355550fdc3591743cee6cc7103d
Author: Raghavendra Bhat <raghavendra>
Date:   Tue Nov 17 14:45:30 2015 +0530

    features/bit-rot: scrubber changes for getting the list of bad objects from stub
    
                      Backport of http://review.gluster.org/12654
    
    > Change-Id: I62885e4aba4a9b345db3c78c3291d563ff3d3567
    > BUG: 1207627
    > Signed-off-by: Raghavendra Bhat <raghavendra>
    > Reviewed-on: http://review.gluster.org/12654
    > Tested-by: NetBSD Build System <jenkins.org>
    > Tested-by: Gluster Build System <jenkins.com>
    > Reviewed-by: Venky Shankar <vshankar>
    > Signed-off-by: Raghavendra Bhat <raghavendra>
    
    Change-Id: I8e1f04f3f730cbd90bdf3cdc7b2149d0de53ea37
    BUG: 1283881
    Signed-off-by: Raghavendra Bhat <raghavendra>
    Reviewed-on: http://review.gluster.org/12716
    Tested-by: Gluster Build System <jenkins.com>
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Venky Shankar <vshankar>

Comment 9 Vijay Bellur 2015-11-24 04:06:31 UTC
REVIEW: http://review.gluster.org/12725 (glusterd/bitrot : Integration of bad files from bitd with scrub status command) posted (#1) for review on release-3.7 by Gaurav Kumar Garg (ggarg)

Comment 10 Vijay Bellur 2015-11-24 04:07:53 UTC
REVIEW: http://review.gluster.org/12725 (glusterd/bitrot : Integration of bad files from bitd with scrub status command) posted (#2) for review on release-3.7 by Gaurav Kumar Garg (ggarg)

Comment 11 Vijay Bellur 2015-11-24 07:41:02 UTC
COMMIT: http://review.gluster.org/12725 committed in release-3.7 by Atin Mukherjee (amukherj) 
------
commit 974837c3da9deb45cd2dc31afe56e5960268cf01
Author: Gaurav Kumar Garg <garg.gaurav52>
Date:   Mon Nov 23 17:00:07 2015 +0530

    glusterd/bitrot : Integration of bad files from bitd with scrub status command
    
    This patch is backport of: http://review.gluster.org/#/c/12720/
    
    Currently scrub status command is not displaying list of all the bad files. All
    the bad files are avaliable in the bitd daemon.
    
    With this patch it will dispaly list of all the bad file's in the scrub
    status command.
    
       >> Change-Id: If09babafaf5d7cf158fa79119abbf5b986027748
       >> BUG: 1207627
       >> Signed-off-by: Gaurav Kumar Garg <ggarg>
    
    
    Change-Id: If09babafaf5d7cf158fa79119abbf5b986027748
    BUG: 1283881
    Signed-off-by: Gaurav Kumar Garg <ggarg>
    Reviewed-on: http://review.gluster.org/12725
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 12 Gaurav Kumar Garg 2016-02-14 14:40:42 UTC
GlusterFS v 3.7.8 contain this fix. closing this bug.

Comment 13 Kaushal 2016-04-19 07:48:46 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.7, please open a new bug report.

glusterfs-3.7.7 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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