Strange case of deleting lots of files and "df" not recognizing it....(unless I umount/mount) the disk...

Linda Walsh xfs at tlinx.org
Sun Jul 1 22:44:37 CDT 2012


Well, in my case, may be a while, it is usually every few months when I
clear out about 30% of a large (~11T) volume on my backup disk...

It only grows slowly as I make backups on it...then I delete maybe ...
60-100 files worth of backups (xfsdumps)....but for me dropping
the cache did work so it may not be the same problem.



Dave Chinner wrote:
> On Tue, Jun 26, 2012 at 09:33:23AM +0200, Emmanuel Florac wrote:
>> Le Tue, 26 Jun 2012 12:33:02 +1000 vous écriviez:
>>
>>> As ben said, the last reference has to go away before the space is
>>> freed. lsof is your friend.
>> I just had the same problem recently, but lsof reported zero open files
>> on the volume. umount/mount worked though, I didn't thought the cache
>> trick would be enough.
> 
> I think that we need a reproducable test case for this issue before
> we'll be able to make any progress on it, then....
> 
> Cheers,
> 
> Dave.



More information about the xfs mailing list