[Gluster-users] Gluster 3.10.5: used disk size reported by quota and du mismatch

Mauro Tridici mauro.tridici at cmcc.it
Mon Sep 10 07:46:49 UTC 2018


Hi Hari,

thank you very much for your help.
I will try to use the latest available version of quota_fsck script and I will provide you a feedback as soon as possible.

Thank you again for the detailed explanation.
Regards,
Mauro

> Il giorno 10 set 2018, alle ore 09:17, Hari Gowtham <hgowtham at redhat.com> ha scritto:
> 
> Hi Mauro,
> 
> The problem might be at some other place, So setting the xattr and
> doing the lookup might not have fixed the issue.
> 
> To resolve this we need to read the log file reported by the fsck
> script. In this log file we need to look for the size reported by the
> xattr (the value "SIZE:" in the log file) and the size reported by the
> stat on the file (the value after "st_size=" ).
> These two should be the same. If they mismatch, then we have to find
> the top most dir which has the mismatch.
> On this top most directory you have to do a set dirty xattr and then
> do a lookup.
> 
> If there are two different directories without a common top directory,
> then both these have to undergo the above process.
> 
> The fsck script should work fine. can you try the "--fix-issue" with
> the latest script instead of the 6th patch used above?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180910/5e46e6f2/attachment.html>


More information about the Gluster-users mailing list