Red Hat Bugzilla – Bug 1029443
quota: for pre-existing data, the alerts(soft-limit) are not found in logs
Last modified: 2016-09-17 08:37:36 EDT
Description of problem:
Could not see the alert messages in the intended logs.
This issue is seen with pre-existing data and then setting quota limit on that directory.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a volume, start the volume, enable quota
2. mount over nfs or glusterfs
3. mkdir dir
4. create data inside the dir, say upto 100GB
5. set quota limit on dir, say 100GB its
alert message about soft-limit is not seen in the logs.
alerts should be generated if limit crosses the soft-limit %age
Though after limit is reached and trying to create more data, sends disk quota exceeded
Testcase ./tests/bugs/quota/bug-1087198.t is failing because sometimes 'Usage crossed soft limit' alert message is not generated in the log.
This is an expected behavior, as alert logs are generated only when there is an IO happening.
For a existing data, when quota is enabled, alert logs will not be generated if the existing data already crossed quota limit.
This is an expected behavior, so closing bug.