Bug 765412 (GLUSTER-3680)

Summary: quota: enable/disable happens even without providing the full string
Product: [Community] GlusterFS Reporter: Saurabh <saurabh>
Component: cliAssignee: Amar Tumballi <amarts>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, junaid, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Saurabh 2011-10-03 05:31:16 UTC
[root@Centos-Gurav2 ~]# /opt/glusterfs/3.3.0qa13//sbin/gluster volume quota quota_dist_rep enabl
Quota is already enabled
[root@Centos-Gurav2 ~]# /opt/glusterfs/3.3.0qa13//sbin/gluster volume quota quota_dist_rep off  
Usage: volume quota <VOLNAME> <enable|disable|limit-usage|list|remove> [path] [value]
[root@Centos-Gurav2 ~]# /opt/glusterfs/3.3.0qa13//sbin/gluster volume quota quota_dist_rep disable
Disabling quota will delete all the quota configuration. Do you want to continue? (y/n)  
[root@Centos-Gurav2 ~]# /opt/glusterfs/3.3.0qa13//sbin/gluster volume quota quota_dist_rep disab  
Disabling quota will delete all the quota configuration. Do you want to continue? (y/n) y
Disabling quota has been successful

Comment 1 Junaid 2011-10-03 05:54:52 UTC
Correcting the component..

Comment 2 Junaid 2011-10-03 06:04:11 UTC
Its an enhancement brought by this (86c818a98a18a3b6c33a494202922f1cd275ac7b) commit. Marking as invalid.