Hide Forgot
Description of problem: the "A" captured in the bricks logs are frequent, which for this build is a known limitation for this build But a wrong and improper message is completely unacceptable. Version-Release number of selected component (if applicable): glusterfs-fuse-3.4.0.20rhsquota5-1.el6rhs.x86_64 glusterfs-libs-3.4.0.20rhsquota5-1.el6rhs.x86_64 glusterfs-api-3.4.0.20rhsquota5-1.el6rhs.x86_64 glusterfs-geo-replication-3.4.0.20rhsquota5-1.el6rhs.x86_64 glusterfs-server-3.4.0.20rhsquota5-1.el6rhs.x86_64 glusterfs-3.4.0.20rhsquota5-1.el6rhs.x86_64 glusterfs-rdma-3.4.0.20rhsquota5-1.el6rhs.x86_64 How reproducible: always Steps to Reproduce: 1. enable quota on volume 2. set limit of 1GB 3. mount volume on nfs 4. start creating data inside the mountpoint each file of size 1GB. 5. check brick logs. Actual results: [2013-08-26 06:18:57.767676] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497937 [2013-08-26 06:19:07.150637] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497947 [2013-08-26 06:19:12.731457] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497952 [2013-08-26 06:19:15.013489] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497955 [2013-08-26 06:19:16.612589] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497956 [2013-08-26 06:19:21.839714] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497962 [2013-08-26 06:19:42.568426] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497982 [2013-08-26 06:19:44.625484] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497984 [2013-08-26 06:19:46.553148] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497986 Expected results: the soft limit as communicated to me is 80% of hard limit, hence it can't be 64KB, which is compeletly wrong and improper. The messages are getting files, whereas the message should come for directories. Additional info:
Saurabh, Was soft limit set on those directories which are mentioned in the logs? If not, following patch fixes the issue https://code.engineering.redhat.com/gerrit/#/c/11948/ regards, Raghavendra
To put my question in a different way "Was hard limit set on those directories...?", since soft_limit is dependent on hard limit to be set.
Sorry, this should have been needinfo. I wanted some additional information: "To put my question in a different way "Was hard limit set on those directories...?", since soft_limit is dependent on hard limit to be set."
As mentioned in the description section, I was getting "A" messages for files not for directories. [2013-08-26 06:19:46.553148] A [quota.c:3350:quota_log_usage] 0-dist-rep3-quota: Usage is above soft limit: 64.0KB used by /1377497986 if you look into the above mentioned message, "/1377497986" was basically a file not a directory.
Fixed in version please.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1769.html