linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* File system question - free blocks
@ 2010-04-15 19:58 Rohan Sheth
       [not found] ` <4BC7708B.3070601@gmail.com>
  2010-04-15 20:07 ` Mathew Snyder
  0 siblings, 2 replies; 4+ messages in thread
From: Rohan Sheth @ 2010-04-15 19:58 UTC (permalink / raw)
  To: linux-admin

Under what circumstances would I see something like this happen (ext3)?

[rohan@box1 ~]$ df

Filesystem         Total Used Free
/dev/partition     10000 9990 0

[rohan@box1 ~]$ rm <some files on that partition>

[rohan@box1 ~]$ df

Filesystem       Total Used Free
/dev/partition   10000 9700 0

So the number of blocks in use went down, but the number free did not
increase. Why?

--Rohan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: File system question - free blocks
       [not found] ` <4BC7708B.3070601@gmail.com>
@ 2010-04-15 20:07   ` Rohan Sheth
  0 siblings, 0 replies; 4+ messages in thread
From: Rohan Sheth @ 2010-04-15 20:07 UTC (permalink / raw)
  To: James Paton; +Cc: linux-admin

On Thu, 15 Apr 2010 15:01 -0500, "James Paton" <jpaton2@gmail.com>
wrote:
> Is it a virtual disk?
> 
> -- Jim

Nope, physical disk.

--Rohan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: File system question - free blocks
  2010-04-15 19:58 File system question - free blocks Rohan Sheth
       [not found] ` <4BC7708B.3070601@gmail.com>
@ 2010-04-15 20:07 ` Mathew Snyder
  2010-04-15 20:42   ` Rohan Sheth
  1 sibling, 1 reply; 4+ messages in thread
From: Mathew Snyder @ 2010-04-15 20:07 UTC (permalink / raw)
  To: Rohan Sheth; +Cc: linux-admin

The space you've freed up is probably reserved for root and the
various process run as root. In order to prevent the system from
crashing it will report no free space to normal users when there is
clearly some there once a certain threshold is reached.

http://www.ducea.com/2008/03/04/ext3-reserved-blocks-percentage/

-Mathew

On Thu, Apr 15, 2010 at 3:58 PM, Rohan Sheth <rohan@rs3net.net> wrote:
> Under what circumstances would I see something like this happen (ext3)?
>
> [rohan@box1 ~]$ df
>
> Filesystem         Total Used Free
> /dev/partition     10000 9990 0
>
> [rohan@box1 ~]$ rm <some files on that partition>
>
> [rohan@box1 ~]$ df
>
> Filesystem       Total Used Free
> /dev/partition   10000 9700 0
>
> So the number of blocks in use went down, but the number free did not
> increase. Why?
>
> --Rohan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: File system question - free blocks
  2010-04-15 20:07 ` Mathew Snyder
@ 2010-04-15 20:42   ` Rohan Sheth
  0 siblings, 0 replies; 4+ messages in thread
From: Rohan Sheth @ 2010-04-15 20:42 UTC (permalink / raw)
  To: Mathew Snyder; +Cc: linux-admin

On Thu, 15 Apr 2010 16:07 -0400, "Mathew Snyder"
<mathew.snyder@gmail.com> wrote:
> The space you've freed up is probably reserved for root and the
> various process run as root. In order to prevent the system from
> crashing it will report no free space to normal users when there is
> clearly some there once a certain threshold is reached.
> 
> http://www.ducea.com/2008/03/04/ext3-reserved-blocks-percentage/
> 
> -Mathew

Yep, that seems to have been the culprit, thanks!

--Rohan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-15 20:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15 19:58 File system question - free blocks Rohan Sheth
     [not found] ` <4BC7708B.3070601@gmail.com>
2010-04-15 20:07   ` Rohan Sheth
2010-04-15 20:07 ` Mathew Snyder
2010-04-15 20:42   ` Rohan Sheth

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).