From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Subject: Re: What is the real issue when file system is full (100%), deleting data won't be effective for df to display correct free space until reboot Date: Fri, 31 Jan 2014 17:04:34 +0100 Message-ID: <20140131160434.GA31776@quack.suse.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: jupiter Return-path: Received: from cantor2.suse.de ([195.135.220.15]:47722 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932313AbaAaQEi (ORCPT ); Fri, 31 Jan 2014 11:04:38 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, On Thu 30-01-14 21:12:09, jupiter wrote: > I am not sure if it is file system issue or df issue. I am running on > CentOS, in both ext3 and ext4 when file system is full, deleting data > / files to evacuate space won't immediate be effective in df command, > the df won't display correct free space value until reboot the > machine. > > Many posts talking about that because some processes still seize the > deleted data or files, I don't see it is true. The files I deleted > were not used by any processes, but the df would sitll display the > same old free space value before deleting the files. That's strange. So do you say that if you do: df dd if=/dev/zero of=/file bs=1M count=1 df rm /file df Then the second and the third output are the same? Honza -- Jan Kara SUSE Labs, CR