xfs
[Top] [All Lists]

Files appear too big in `du`

To: xfs@xxxxxxxxxxx
Subject: Files appear too big in `du`
From: Matthias Schniedermeyer <ms@xxxxxxx>
Date: Tue, 10 May 2011 12:57:00 +0200
User-agent: Mutt/1.5.21 (2010-09-15)
Hi


Since a few weeks i'm experiencing an annoying 'thing' where files are 
often too big in `du` and directory totals are to high in `ls -l`.

I appears that files, which are in the process of beeing 
copied/downloaded/whatever, grow in large chunks ahead of time, while 
the actual file-content is beeing copied into the files. And then it 
appears that the last chunk isn't shrunk after the process is finished.
Neither xfs_bmap (Version 3.1.5) nor filefrag show anything beyond the 
extent that compromises the actual file-content.

I've noticed this at least with:
- "git gc"
- cp -a
- rsync
- downloads with firefox (technically Iceweasel)

Kernel is currently 2.6.38.5, Distribution is an up-to-date Debian-SID.
mount is with default-parameters, except "noatime".

Any idea how to debug this, or is this a known bug and waiting a few 
days for 2.6.39 should fix this?




Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

<Prev in Thread] Current Thread [Next in Thread>