public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* space left on ext3 (2.6.6-bk3)
@ 2004-06-17 22:23 Guennadi Liakhovetski
  2004-06-17 22:37 ` Martin Hermanowski
  2004-06-17 22:58 ` tom st denis
  0 siblings, 2 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2004-06-17 22:23 UTC (permalink / raw)
  To: linux-kernel

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

fast:/mnt/tmp# rm zr

fast:/mnt/tmp# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3               958488    521864    387936  58% /mnt

Is this an expected behaviour?.. Yeah, it is nice to have more space than 
you think you have, but...

Thanks
Guennadi
---
Guennadi Liakhovetski


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

* Re: space left on ext3 (2.6.6-bk3)
  2004-06-17 22:23 space left on ext3 (2.6.6-bk3) Guennadi Liakhovetski
@ 2004-06-17 22:37 ` Martin Hermanowski
  2004-06-18 18:21   ` Guennadi Liakhovetski
  2004-06-17 22:58 ` tom st denis
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Hermanowski @ 2004-06-17 22:37 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: space left on ext3 (2.6.6-bk3)
  2004-06-17 22:23 space left on ext3 (2.6.6-bk3) Guennadi Liakhovetski
  2004-06-17 22:37 ` Martin Hermanowski
@ 2004-06-17 22:58 ` tom st denis
  1 sibling, 0 replies; 4+ messages in thread
From: tom st denis @ 2004-06-17 22:58 UTC (permalink / raw)
  To: linux-kernel

--- Guennadi Liakhovetski <g.liakhovetski@gmx.de> 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
> 
> fast:/mnt/tmp# rm zr
> 
> fast:/mnt/tmp# df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda3               958488    521864    387936  58% /mnt
> 
> Is this an expected behaviour?.. Yeah, it is nice to have more space
> than 
> you think you have, but...

Have you tried running fsck on it?  How many inodes are available.

Tom


		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

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

* Re: space left on ext3 (2.6.6-bk3)
  2004-06-17 22:37 ` Martin Hermanowski
@ 2004-06-18 18:21   ` Guennadi Liakhovetski
  0 siblings, 0 replies; 4+ messages in thread
From: Guennadi Liakhovetski @ 2004-06-18 18:21 UTC (permalink / raw)
  To: Martin Hermanowski; +Cc: linux-kernel

On Fri, 18 Jun 2004, Martin Hermanowski wrote:

> On Fri, Jun 18, 2004 at 12:23:25AM +0200, Guennadi Liakhovetski wrote:
>
> I think you have 5% reserved for root, as this is the default setting
> when creating ext3 fs'.

Oh, I forgot about that again... Wouldn't it be good to have df either
1) report different amounts for root / non-root
or
2) report both
?

Thanks
Guennadi
---
Guennadi Liakhovetski


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

end of thread, other threads:[~2004-06-18 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17 22:23 space left on ext3 (2.6.6-bk3) Guennadi Liakhovetski
2004-06-17 22:37 ` Martin Hermanowski
2004-06-18 18:21   ` Guennadi Liakhovetski
2004-06-17 22:58 ` tom st denis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox