[Bugs] [Bug 1244361] Command "cp *" to directory crosses hard-limit quota and copies all requested files

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 10 01:15:32 UTC 2015


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

vnosov <vnosov at stonefly.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(vnosov at stonefly.c |
                   |om)                         |



--- Comment #2 from vnosov <vnosov at stonefly.com> ---
Manikandan,

Yes, the timeout settings able enforce quota now. There are still some time
between moment when the quota is enforced and "cp" is stopped, so the "cp" is
able to copy some additional data above the limit. And some file are not copied
because the disk quota exceeded.

Thanks!

Best regards!


(In reply to Manikandan from comment #1)
> Hi,
> 
> The reason that quota has not restricted while copying may be because of the
> soft and hard timeouts not set to 0.
> 
> I ran the same steps as mentioned above with hard and soft timeout set to 0s
> and quota shows "Disk quota exceeded" as expected.
> 
> Could you please make the following changes and check it again?
> 
> 'gluster volume quota <VOLNAME> soft-timeout 0s'
> 'gluster volume quota <VOLNAME> hard-timeout 0s'
> 
> Please refer here:
> https://gluster.readthedocs.org/en/latest/Administrator%20Guide/
> Directory%20Quota/ to know more about timeouts.
> 
> 
> 
> --
> Regards,
> Manikandan Selvaganesh.

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


More information about the Bugs mailing list