public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Craig Gwydir" <craig@reefedge.com>
To: <linux-mtd@lists.infradead.org>
Subject: jffs v1 - runs out of space...what next?
Date: Mon, 3 Dec 2001 15:14:26 -0500	[thread overview]
Message-ID: <BCEMJHKGMLINCAMLMLBFOELLCDAA.craig@reefedge.com> (raw)

For rather evil purposes, we are using the linux 2.4.16 jffs code on a
read-write filesystem.
Occasionally, I use rsync to update this jffs filesystem then reboot.

A problem occurs when the jffs v1 filesystem becomes full.  The next reboot
of the target displays:

jffs_scan_flash(): did not find even a single chuck of freespace. That is
BAD!
jffs_scan_flash(): free sized accounting screwed
jffs_scan_flash(): free_chukc_size1 == 0xf00000, free_chuck_size2 == 0x0,
                   fmc->free_size == 0x0

JFFS: failed to mount root device
kernel panic: Unable to mount root fs
kdb>

There is only about 12MB on my 16MB flash in use tho.  I believe rsync
created a tmp file
during the transfer of a large file which caused useable space to fill.


Question:

1) Any internal JFFS config settings I can tweak to avoid this condition?
   (Yes, I know, the "don't do that" suggestion works here ;)

2) Has anybody had this condition of jffs running out of space, and they
experience the same
   condition?

Yes, I know I probably should run jffs mounts as real-only since it is
flash.
I thought that jffs v1 was supposed to be robust enough to handle failures,
including
"no space on device" errors.

Thanks,
Craig

             reply	other threads:[~2001-12-03 20:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-03 20:14 Craig Gwydir [this message]
2001-12-03 22:14 ` creating jffs filesystems with mkfs.jffs Craig Gwydir

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=BCEMJHKGMLINCAMLMLBFOELLCDAA.craig@reefedge.com \
    --to=craig@reefedge.com \
    --cc=linux-mtd@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox