[Bugs] [Bug 1324053] quota/cli: quota list with path not working when limit is not set

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 25 05:52:50 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1324053

Anil Shah <ashah at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |VERIFIED



--- Comment #10 from Anil Shah <ashah at redhat.com> ---
[root at rhs-client46 ~]# gluster v info

Volume Name: arbvol
Type: Distributed-Replicate
Volume ID: b59349bc-0120-4b94-a714-21ada116124a
Status: Started
Snapshot Count: 0
Number of Bricks: 2 x (2 + 1) = 6
Transport-type: tcp
Bricks:
Brick1: 10.70.36.70:/rhs/brick1/b1
Brick2: 10.70.36.71:/rhs/brick1/b2
Brick3: 10.70.36.46:/rhs/brick1/b3 (arbiter)
Brick4: 10.70.44.7:/rhs/brick1/b4
Brick5: 10.70.36.70:/rhs/brick2/b5
Brick6: 10.70.36.71:/rhs/brick2/b6 (arbiter)
Options Reconfigured:
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
transport.address-family: inet
performance.readdir-ahead: on
nfs.disable: on

==============================================================
[root at rhs-client46 ~]# gluster v quota arbvol list-object  /
                  Path                   Hard-limit   Soft-limit      Files    
  Dirs     Available  Soft-limit exceeded? Hard-limit exceeded?
-----------------------------------------------------------------------------------------------------------------------------------------------
/                                              N/A       N/A       1000        
 4         N/A             N/A                  N/A

[root at rhs-client46 ~]# gluster v quota arbvol list /
                  Path                   Hard-limit  Soft-limit      Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/                                           N/A        N/A          2.0GB      
N/A             N/A                N/A

[root at rhs-client46 ~]# gluster v quota arbvol list /test
                  Path                   Hard-limit  Soft-limit      Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/test                                       N/A        N/A         0Bytes      
N/A             N/A                N/A

[root at rhs-client46 ~]# gluster v quota arbvol list-object  /test
                  Path                   Hard-limit   Soft-limit      Files    
  Dirs     Available  Soft-limit exceeded? Hard-limit exceeded?
-----------------------------------------------------------------------------------------------------------------------------------------------
/test                                          N/A       N/A          0        
 1         N/A             N/A                  N/A


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

[root at rhs-client46 ~]# gluster v quota arbvol list-object  /test/test1
                  Path                   Hard-limit   Soft-limit      Files    
  Dirs     Available  Soft-limit exceeded? Hard-limit exceeded?
-----------------------------------------------------------------------------------------------------------------------------------------------
/test/test1                                    N/A       N/A          0        
 1         N/A             N/A                  N/A


[root at rhs-client46 ~]# gluster v quota arbvol list   /test/test1
                  Path                   Hard-limit  Soft-limit      Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/test/test1                                 N/A        N/A         0Bytes      
N/A             N/A                N/A


Bug verified on build glusterfs-3.8.4-2.el7rhgs.x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=VWRWdFrhtv&a=cc_unsubscribe


More information about the Bugs mailing list