Bug 1215033

Summary: Bitrot command line usage is not correct
Product: [Community] GlusterFS Reporter: RajeshReddy <rmekala>
Component: bitrotAssignee: Gaurav Kumar Garg <ggarg>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact: bugs <bugs>
Priority: unspecified    
Version: mainlineCC: bugs, mzywusko, nsathyan, smohan
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-06 09:20: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:

Description RajeshReddy 2015-04-24 07:31:20 UTC
Description of problem:
=======================

Bitrot command line usage is not correct




Version-Release number of selected component (if applicable):
==============================================================
glusterfs-server-3.7dev-0.1009.git8b987be.el6.x86_64


How reproducible:
====================
Always

Steps to Reproduce:
1. Try to disable the bitrot feature for ginve volume with wrong syntax like
gluster vol bitrot rajesh_test diable
2. As command with wrong syntax has been executed and bitrot usage is poping up but bitrot usage is not correct

[root@rhs-client38 rajesh_test2]# gluster vol bitrot rajesh_test diable
Invalid bit rot option : diable
Usage: volume bitrot <VOLNAME> {scrub pause|resume}


Expected results:
=======================
Usage should be like this :volume bitrot <VOLNAME> {enable|diable} insted of 
volume bitrot <VOLNAME> {scrub pause|resume}


Additional info:

Comment 1 Venky Shankar 2015-04-28 12:35:33 UTC
Gaurav,

There's a patch for this, correct? Mind updating the patch with this bug id?

Comment 2 Nagaprasad Sathyanarayana 2015-05-06 09:20:37 UTC

*** This bug has been marked as a duplicate of bug 1207532 ***