xfs
[Top] [All Lists]

Re: Strange case of deleting lots of files and "df" not recognizing it..

To: Linda Walsh <xfs@xxxxxxxxx>
Subject: Re: Strange case of deleting lots of files and "df" not recognizing it....(unless I umount/mount) the disk...
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 26 Jun 2012 12:33:02 +1000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <4FE7FDF4.6080506@xxxxxxxxx>
References: <4FE7FDF4.6080506@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sun, Jun 24, 2012 at 10:58:12PM -0700, Linda Walsh wrote:
> This isn't that big of a deal, as I'm not close to the limit,
> but I pruned a backup disk that was at 87% full (1.5T free), down
> by 3.8T.  Indeed, doing a 'du' of the disk shows space is ~6-7T (/11T)
> but df still shows 9.5T usage.
> 
> I've done sync a few times, but the files were deleted almost a half an hour
> ago.
> 
> So when does it actually synchronize w/o me forcing it?  (I.e. umount/mount)?

As ben said, the last reference has to go away before the space is
freed. lsof is your friend.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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