Bug 1027726 - [RFE] Quota: Improve volume-quota-help subcommand to display usage information of all quota subcommands.
Summary: [RFE] Quota: Improve volume-quota-help subcommand to display usage informatio...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: quota
Version: 2.1
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: Manikandan
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1282727
TreeView+ depends on / blocked
 
Reported: 2013-11-07 10:38 UTC by Gowrishankar Rajaiyan
Modified: 2016-09-20 04:29 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1282727 (view as bug list)
Environment:
Last Closed: 2015-11-17 09:14:09 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Gowrishankar Rajaiyan 2013-11-07 10:38:23 UTC
Credit: Thanks to Krishnan Parthasarathi for identifying this as futurefeature.

Description of problem:
It would be nice to improve our volume-quota-help subcommand to display usage information of all quota subcommands in one place, like volume-set-help subcommand.

Version-Release number of selected component (if applicable):
glusterfs-server-3.4.0.39rhs-1.el6rhs.x86_64

Comment 2 Manikandan 2015-09-15 09:49:43 UTC
Currently, commands like 'gluster volume add-brick help', 'gluster volume remove-brick help' and other similar commands shows output like 'gluster volume quota help'. It would be nice to enhance the current framework to implement the proposed feature.

gluster v add-brick help
Usage: volume add-brick <VOLNAME> [<stripe|replica> <COUNT>] <NEW-BRICK> ... [force]

Comment 3 Manikandan 2015-09-15 09:50:18 UTC
(In reply to Manikandan from comment #2)
> Currently, commands like 'gluster volume add-brick help', 'gluster volume
> remove-brick help' and other similar commands shows output like 'gluster
> volume quota help'. It would be nice to enhance the current framework to
> implement the proposed feature.
> 
> gluster v add-brick help
> Usage: volume add-brick <VOLNAME> [<stripe|replica> <COUNT>] <NEW-BRICK> ...
> [force]

gluster volume quota help
Usage: volume quota <VOLNAME> {enable|disable|list [<path> ...]| list-objects [<path> ...] | remove <path>| remove-objects <path> | default-soft-limit <percent>} |
volume quota <VOLNAME> {limit-usage <path> <size> [<percent>]} |
volume quota <VOLNAME> {limit-objects <path> <number> [<percent>]} |
volume quota <VOLNAME> {alert-time|soft-timeout|hard-timeout} {<time>}

Comment 4 Vijaikumar Mallikarjuna 2015-11-17 09:14:09 UTC
As 2.1 is EOL'ed, closing this bug and filed 3.1 bug# 1282727


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