File system question - free blocks

File system question - free blocks

am 15.04.2010 21:58:29 von Rohan Sheth

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

[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

Re: File system question - free blocks

am 15.04.2010 22:07:21 von Rohan Sheth

On Thu, 15 Apr 2010 15:01 -0500, "James Paton"
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: File system question - free blocks

am 15.04.2010 22:07:34 von Mathew Snyder

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 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
>
> [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.ht=
ml
>
--
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

Re: File system question - free blocks

am 15.04.2010 22:42:04 von Rohan Sheth

On Thu, 15 Apr 2010 16:07 -0400, "Mathew Snyder"
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html