[Bugs] [Bug 1449167] After selfheal of brick file size of few files differs

bugzilla at redhat.com bugzilla at redhat.com
Tue May 9 12:00:38 UTC 2017


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

Ashish Pandey <aspandey at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aspandey at redhat.com



--- Comment #1 from Ashish Pandey <aspandey at redhat.com> ---
Hi Amudhan,

While the heal is going on you can see difference in "du -h" and "ls -h" 
That is ok. 

Reason - 

When heal starts, it truncate that file on a brick to size 0. If IO is going
on, it will start form a specific offset and start write and that will become
the size (offset + leanght)
ls -l will give this size while du -h will give you the actual block size
written on disk. It is not showing the zeros created because of truncate.

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


More information about the Bugs mailing list