From: Jan Kara <jack@suse.cz>
To: jupiter <jupiter.hce@gmail.com>
Cc: linux-fsdevel@vger.kernel.org
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 [thread overview]
Message-ID: <20140131160434.GA31776@quack.suse.cz> (raw)
In-Reply-To: <CAA=hcWTdutA5puyuK59-MgfUeqw5C0G_AwZ2rN6Akuegypu1bQ@mail.gmail.com>
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 <jack@suse.cz>
SUSE Labs, CR
prev parent reply other threads:[~2014-01-31 16:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-30 10:12 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 jupiter
2014-01-31 16:04 ` Jan Kara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140131160434.GA31776@quack.suse.cz \
--to=jack@suse.cz \
--cc=jupiter.hce@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).