[Bugs] [Bug 1786681] quota_fsck script KeyError: 'contri_size'

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 15 11:57:24 UTC 2020


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

Srijan Sivakumar <ssivakum at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(ssivakum at redhat.c |
                   |om)                         |



--- Comment #10 from Srijan Sivakumar <ssivakum at redhat.com> ---

 (In reply to Arthy Loganathan from comment #9)
> Could you provide me the detailed steps to reproduce this issue?

 Hi Arthy, this seems to be a accounting mismatch issue in quota, and that's
when I think the error was seen while running the script (quota_fsck.py). Now,
we don't have a documented way of reproducing the accounting mismatch. But it
is usually seen if the quota is set on a directory which has a lot of sub
branches and files under it.

 So a rough step is,
 1. Create a lot of files with emphasis on number of files and the depth of
directory and files as well as size that'd cause the quota to take time to
crawl.
 2. Then enable quota and put a limit.
 3. Now, quota will take it's time to crawl the backend and in that duration,
if the quota daemon is killed or if the underlying host went down, that will
stop the crawling process in it's tracks.
 4. This can cause the accounting mismatch. ( Provided crawling hasn't finished
it's task).
 5. The script could be used then.

Now, this is a rough way of re-creating a accounting mismatch.


-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Bugs mailing list