Bug 1299737 - values for Number of Scrubbed files, Number of Unsigned files, Last completed scrub time and Duration of last scrub are shown as zeros in bit rot scrub status
Summary: values for Number of Scrubbed files, Number of Unsigned files, Last completed...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: bitrot
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.1.3
Assignee: Kotresh HR
QA Contact: Sweta Anandpara
URL:
Whiteboard:
Depends On: 1285226 1329211 1332072
Blocks: 1260783 1299184
TreeView+ depends on / blocked
 
Reported: 2016-01-19 07:18 UTC by Vivek Agarwal
Modified: 2016-09-17 14:22 UTC (History)
15 users (show)

Fixed In Version: glusterfs-3.7.9-4
Doc Type: Bug Fix
Doc Text:
New statistics have been added to the output of 'gluster volume bitrot $volname scrub status'. The following additional statistics are now output: number of scrubbed files, number of skipped files, last completed scrub time, and duration of last scrub.
Clone Of: 1285226
: 1329211 (view as bug list)
Environment:
Last Closed: 2016-06-23 05:02:59 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

Comment 4 Kotresh HR 2016-04-26 04:37:33 UTC
Patch posted Upstream:

http://review.gluster.org/#/c/14044/

Comment 7 Sweta Anandpara 2016-05-31 08:31:26 UTC
Tested and verified this on the build 3.7.9-6.

Have raised new BZs for issues found regarding scrub status output. Thus, moving this blanket-BZ to verified in 3.1.3.

Comment 9 Kotresh HR 2016-06-10 05:43:26 UTC
Laura,

----
When users ran 'gluster volume bitrot $volname scrub status', several statistics were reported as zeroes. The following statistics now display correctly: number of scrubbed files, number of unsigned files, last completed scrub time, and duration of last scrub.
----

The above doc text says, several statistics were reported as zeroes. But since they were reporting zeroes, we had masked them not to show in previous release.
So the following fields were not being shown at all in previous release.
number of scrubbed files, number of unsigned files, last completed scrub time, and duration of last scrub.

Now we show them with accurate values.

So the correction would be to say.

-------
When users ran 'gluster volume bitrot $volname scrub status', the following additional statistics would be displayed: number of scrubbed files, number of unsigned files, last completed scrub time, and duration of last scrub.
-------

Comment 11 Kotresh HR 2016-06-10 14:46:35 UTC
Doc Text looks fine to me.

Comment 12 Sweta Anandpara 2016-06-13 07:09:51 UTC
Hi Laura, 

Could you please change the the field 'number of unsigned files' to 'number of skipped files' ? That is how it actually gets shown in the scrub status output. Have pasted a sample output below for your reference. 

[root@dhcp47-188 ~]# gluster v bitrot disp scrub status

Volume name : disp

State of scrub: Active

Scrub impact: lazy

Scrub frequency: hourly

Bitrot error log location: /var/log/glusterfs/bitd.log

Scrubber error log location: /var/log/glusterfs/scrub.log


=========================================================

Node: localhost

Number of Scrubbed files: 22

Number of Skipped files: 0

Last completed scrub time: 2016-06-05 10:53:58

Duration of last scrub (D:M:H:M:S): 0:0:0:14

Error count: 0


=========================================================

Node: 10.70.46.193

Number of Scrubbed files: 0

Number of Skipped files: 0

Last completed scrub time: Scrubber pending to complete.

Duration of last scrub (D:M:H:M:S): 0:0:0:0

Error count: 0


=========================================================

Node: 10.70.46.215

Number of Scrubbed files: 22

Number of Skipped files: 0

Last completed scrub time: 2016-06-05 10:56:57

Duration of last scrub (D:M:H:M:S): 0:0:0:13

Error count: 0


=========================================================

Node: 10.70.46.187

Number of Scrubbed files: 22

Number of Skipped files: 0

Last completed scrub time: 2016-06-05 10:57:03

Duration of last scrub (D:M:H:M:S): 0:0:0:13

Error count: 0

=========================================================

[root@dhcp47-188 ~]#

Comment 13 Sweta Anandpara 2016-06-13 07:13:02 UTC
Please do acknowledge. Thanks.

Comment 16 errata-xmlrpc 2016-06-23 05:02:59 UTC
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://access.redhat.com/errata/RHBA-2016:1240


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