[Bugs] [Bug 1238049] Crash in Quota enforcer

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 26 08:50:17 UTC 2015


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

Anil Shah <ashah at redhat.com> changed:

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



--- Comment #12 from Anil Shah <ashah at redhat.com> ---
Enabled quota on volume testvol and set limit-usage to 1 GB of root of the
volume

[root at darkknightrises tmp]# gluster v quota testvol  list
                  Path                   Hard-limit Soft-limit   Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                          1.0GB       80%      0Bytes   1.0GB 
            No         

Tried running command from one terminal 
   dd if=/dev/zero of=f1 bs=1M count=500 oflag=sync

On  another terminal execute below rename operation while the write is still in
progress

    for i in {1..50}; do  ii=`expr $i + 1`; mv f$i f$ii;

Quota list command display correct used and available size and Didn't see any
crash too.

[root at darkknight /]# gluster v quota testvol list
                  Path                   Hard-limit Soft-limit   Used 
Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                          1.0GB       80%     500.0MB 524.0MB 
            No                   No


Bug verified on build glusterfs-3.7.1-12.el7rhgs.x86_64.
Hence marking this bug verified.

-- 
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=C3RuUcZoj9&a=cc_unsubscribe


More information about the Bugs mailing list