File system question - free blocks

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

[rohan [at] box1 ~]$ df

Filesystem Total Used Free
/dev/partition 10000 9990 0

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

[rohan [at] 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 [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rohan Sheth [ Do, 15 April 2010 21:58 ] [ ID #2038944 ]

Re: File system question - free blocks

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

Nope, physical disk.

--Rohan
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rohan Sheth [ Do, 15 April 2010 22:07 ] [ ID #2038945 ]

Re: File system question - free blocks

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-percent age/

-Mathew

On Thu, Apr 15, 2010 at 3:58 PM, Rohan Sheth <rohan [at] rs3net.net> wrote:
> Under what circumstances would I see something like this happen (ext3=
)?
>
> [rohan [at] box1 ~]$ df
>
> Filesystem =C2=A0 =C2=A0 =C2=A0 =C2=A0 Total Used Free
> /dev/partition =C2=A0 =C2=A0 10000 9990 0
>
> [rohan [at] box1 ~]$ rm <some files on that partition>
>
> [rohan [at] box1 ~]$ df
>
> Filesystem =C2=A0 =C2=A0 =C2=A0 Total Used Free
> /dev/partition =C2=A0 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 [at] vger.kernel.org
> More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info.ht=
ml
>
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Mathew Snyder [ Do, 15 April 2010 22:07 ] [ ID #2038946 ]

Re: File system question - free blocks

On Thu, 15 Apr 2010 16:07 -0400, "Mathew Snyder"
<mathew.snyder [at] 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-percent age/
>
> -Mathew

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

--Rohan
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rohan Sheth [ Do, 15 April 2010 22:42 ] [ ID #2038947 ]
Linux » gmane.linux.admin » File system question - free blocks

Vorheriges Thema: deleted perl hacks in /tmp
Nächstes Thema: Printing an mbox