All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleg Drokin <green@namesys.com>
To: D_i_F_i@gmx.de
Cc: reiserfs-list@namesys.com, mason@namesys.com
Subject: Re: "no space left" but df -k shows plenty of free space
Date: Mon, 19 May 2003 20:02:08 +0400	[thread overview]
Message-ID: <20030519160208.GA14048@namesys.com> (raw)
In-Reply-To: <3EC65671.DA1CB780@gmx.de>

Hello!

On Sat, May 17, 2003 at 05:34:09PM +0200, D_i_F_i@gmx.de wrote:
> while copying some data into a logical volume with reiserfs as
> filesystem, I've got an error message, that there isn't enough
> space left on the device. Even just creating a new empty file
> isn't possible anymore:
> sammy:/opt/kgm/data/log # touch abc
> touch: creating `abc': No space left on device
> But the df-command has still reported quite a lot of free capacity:
> sammy:/opt/kgm/data/log # df -k /opt/kgm/data
> Filesystem        1k-blocks     Used Available Use% Mounted on
> /dev/kgmvg/datalv  10485436  7987364   2498072  77% /opt/kgm/data

Hm, this is pretty strange.

> Only after moving some of the files into another filesystem, I was
> able to store further files into this filesystem. So I guessed,
> that it should work if I extend the reiserfs by 2G (lvextend and
> resize_reiserfs). And as a matter of fact this enlargement worked.
> Now, df -k /opt/kfm/data shows:
> Filesystem        1k-blocks     Used Available Use% Mounted on
> /dev/kgmvg/datalv  12582524  7987360   4595164  64% /opt/kgm/data
> Now we can use the filesystem without problems but I fear that we
> will run into problems when the filesystem reaches 77% usage again.

Hm, it will be interesting if you try.
May be it will stop working when there is 2498072 blocks left again.

> The directory with the biggest number of files currently contains
> about 70.000 files. I don't think that this is a real challange for

This is unlikely to be a problem indeed.

> I'm using reiserfs version 3.6.25 [built into kernel] of a
> SLES7-Distribution (SuSE) on IBM zSeries (z900, z/VM) in
> 64-Bit-Mode (s390x). The filesystem has been resized

Hm, what kernel version do they ship?

> 3 times on the fly (in mounted state). Could it be, that this
> caused the filesystem to get damaged somehow? Or is there a bug

No, this is unlikely.

> in the df-command, that may cause it to report wrong values for
> free capacities? Can it be, that the last enlargement of
> the filesystem didn't do its full job so that the problem maybe
> disapeared with the next enlargement? Or is it necessary to delete
> and recreate the whole filesystem (which would cause us a lot of
> trouble)? Or what do you suggest?

My current idea that it might have the "blocks reserved for use by fsck"
checked incorrectly.

Chris: Where can I look at the patches that came with
SLES7-Distribution's kernel?

Bye,
    Oleg

  reply	other threads:[~2003-05-19 16:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-17 15:34 "no space left" but df -k shows plenty of free space D_i_F_i
2003-05-19 16:02 ` Oleg Drokin [this message]
2003-05-19 16:10   ` Chris Mason
2003-05-19 17:38   ` Chris Mason
  -- strict thread matches above, loose matches on Subject: below --
2003-05-19 22:24 D_i_F_i
2003-05-20  9:44 ` Oleg Drokin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030519160208.GA14048@namesys.com \
    --to=green@namesys.com \
    --cc=D_i_F_i@gmx.de \
    --cc=mason@namesys.com \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.