lkml.org 
[lkml]   [2004]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: space left on ext3 (2.6.6-bk3)
On Fri, Jun 18, 2004 at 12:23:25AM +0200, Guennadi Liakhovetski wrote:
> On a ext3 fs:
>
> fast:/mnt/tmp# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sda3 958488 521864 387936 58% /mnt
>
> fast:/mnt/tmp# cat /dev/zero > zr
> cat: write error: No space left on device
>
> fast:/mnt/tmp# ls -l
> total 436624
> -rw-r--r-- 1 root root 446660608 Jun 18 00:23 zr
[...]
> Is this an expected behaviour?.. Yeah, it is nice to have more space than
> you think you have, but...

436192 blocks

958488-521864 = 436624 blocks

I think you have 5% reserved for root, as this is the default setting
when creating ext3 fs'.

LLAP, Martin
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:03    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site