[Bugs] [Bug 1196082] RFE: Quota for inode count

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 7 07:00:40 UTC 2015


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

Anil Shah <ashah at redhat.com> changed:

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



--- Comment #3 from Anil Shah <ashah at redhat.com> ---
[root at darkknightrises bricks]# gluster v quota vol0 enable
volume quota : success

[root at darkknightrises bricks]# gluster v quota vol0 limit-object /  1000
volume quota : success

[root at darkknightrises bricks]# gluster v quota vol0 list-objects
                  Path                   Hard-limit  Soft-limit     Files      
Dirs     Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------------------------
/                                             1000       80%        126        
 3         871              No                   No


[root at darkknightrises bricks]# gluster v quota vol0 list-objects
                  Path                   Hard-limit  Soft-limit     Files      
Dirs     Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------------------------
/                                             1000       80%       1019        
 3           0             Yes                  Yes


Mount Point
===========================\
1048576 bytes (1.0 MB) copied, 0.102898 s, 10.2 MB/s
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0893784 s, 11.7 MB/s
dd: opening `test1028': Disk quota exceeded
dd: opening `test1029': Disk quota exceeded
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0913772 s, 11.5 MB/s
dd: opening `test1031': Disk quota exceeded
dd: opening `test1032': Disk quota exceeded

When limit-usage and limit-object both are enabled , which ever limit exceeds
first, gets disk quota exceeded message on mount point.

RFE verified on build glusterfs-3.7.1-7.el6rhs.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=YBxjSd0NV1&a=cc_unsubscribe


More information about the Bugs mailing list