Bug 821650 - Quota says "Disk quota exceeded" even before actually quota exceeds
Summary: Quota says "Disk quota exceeded" even before actually quota exceeds
Keywords:
Status: CLOSED DUPLICATE of bug 765478
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: pre-release
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nagaprasad Sathyanarayana
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 848252
TreeView+ depends on / blocked
 
Reported: 2012-05-15 08:36 UTC by shylesh
Modified: 2016-02-18 00:19 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
: 848252 (view as bug list)
Environment:
Last Closed: 2015-03-03 09:25:39 UTC
Regression: ---
Mount Type: ---
Documentation: DP
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description shylesh 2012-05-15 08:36:33 UTC
Description of problem:

Quota exceeds even with the data less than the quota limit.

Version-Release number of selected component (if applicable):
3.3.0qa41

How reproducible:


Steps to Reproduce:
1. created a distribute volume with 2 bricks
2. set quota of 900MB
3. created a file of size 500MB 
4. Create another file of size 400MB but when the second file size if still 270MB, "Disk quota exceeded " message was thrown and dd fails.
5. Further creation of files on the mountpoint is possible.
  
Actual results:

[root@gqac022 mnt]# dd if=/dev/urandom of=400MB bs=1MB count=400
dd: writing `400MB': Disk quota exceeded
271+0 records in
270+0 records out
270520320 bytes (271 MB) copied, 31.941 s, 8.5 MB/s
[root@gqac022 mnt]# echo "akdsjfkasjfkasjdfksajfkasjf" >> 400MB 

Expected results:


Additional info:

Comment 1 shylesh 2012-05-15 08:37:04 UTC
Backend FS XFS with 512 block size.

Comment 2 Vijay Bellur 2012-05-16 18:24:53 UTC
Do we need a documentation update for this?

Comment 3 Saurabh 2012-05-31 08:29:43 UTC
the workaround in the bug https://bugzilla.redhat.com/show_bug.cgi?id=765478, needs to be documented

Comment 4 Amar Tumballi 2012-07-11 11:15:28 UTC
XFS pre-alloc issue. Doc needed.

Comment 5 Federico Leva 2012-11-10 14:50:29 UTC
To be marked as duplicate of bug 765478?

Comment 7 Vijaikumar Mallikarjuna 2015-03-03 09:25:39 UTC

*** This bug has been marked as a duplicate of bug 765478 ***


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