public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Paul van Gool <paul.vangool@rinconnetworks.com>
To: linux-mtd@lists.infradead.org
Subject: No space left on almost empty JFFS2 filesystem
Date: Wed, 25 Jun 2003 08:48:15 -0700	[thread overview]
Message-ID: <20030625154815.GA15437@rinconnetworks.com> (raw)

Hi,

I have created an small and almost empty JFFS2 filesystem and have put it
on my flash. The image is padded to 128K and there should be space left.
When I mount it though the filesystem shows up as full. Any hints where to
look?

I created the image with:

mkfs.jffs2 --pad --little-endian --squash -e 0x20000 -d /home/vangool/jffs -o jffs.img

/home/vangool/jffs contains:

[vangool@sb-lnx3 vangool]$ ls -l /home/vangool/jffs
total 16
-rwxr-xr-x    1 vangool  develop     11769 Jun 25 07:49 hello
-rw-r--r--    1 vangool  develop       158 Jun 25 07:49 hello.c

When I mount it on my dev board I see:

# mount -t jffs2  /dev/mtdblock4 /mnt/jffs                                      
mtdblock_open                                                                   
ok                                                                              
# df                                                                              
Filesystem           1k-blocks      Used Available Use% Mounted on              
rootfs                    7931      3682      4249  46% /                       
/dev/root                 7931      3682      4249  46% /                       
10.0.2.11:/           74730396   3471336  67462904   5% /mnt/camb-lnx1          
10.0.2.12:/           74754492   5980872  64976256   8% /mnt/camb-lnx2          
/dev/mtdblock4             128       128         0 100% /mnt/jffs

And as a result:

# /mnt/jffs/hello > /mnt/jffs/hello.out                                         
cannot create /mnt/jffs/hello.out: No space left on device                      

In case it's important, I flashed the image using Redboot:

load -r -v -b 0x8F000000 camb-devbrd1/jffs.img -m TFTP -h 10.0.2.12
fis create jffs -f 0x80300000 -l 0x20000 -b 0x8F000000 -r 0x8F000000

Thanks in advance.

Paul
-- 
Paul van Gool                                               Rincon Networks
paul.vangool@rinconnetworks.com                              (805)-705-1442

             reply	other threads:[~2003-06-25 15:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-25 15:48 Paul van Gool [this message]
2003-06-25 15:52 ` No space left on almost empty JFFS2 filesystem Jasmine Strong
2003-06-25 15:58   ` Paul van Gool
2003-06-25 18:20     ` Paul van Gool
2003-06-25 18:24       ` Paul van Gool
2003-06-25 18:29         ` Jasmine Strong
2003-06-25 18:49           ` Jörn Engel
2003-06-25 19:44             ` Paul van Gool
2003-06-25 20:03               ` Paul van Gool
2003-06-25 19:52         ` Thomas Gleixner
2003-06-25 19:43           ` Paul van Gool
2003-06-25 16:04   ` Jörn Engel

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=20030625154815.GA15437@rinconnetworks.com \
    --to=paul.vangool@rinconnetworks.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