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

Hari Gowtham hgowtham at redhat.com
Mon Sep 10 07:17:00 UTC 2018


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?


More information about the Gluster-users mailing list