No space left on device

Sebastian sebastian.vaitus at
Wed Mar 27 13:49:37 EST 2002


I have logged the output for the problem described in a previous email
(attached below). I am using 6 erase blocks this time instead of 8 (which
should still be enough for the 280 byte JFFS2 image). From what I saw in the
logs, I think that JFFS is only able to use the first block out of the 6 due
to some formatting or erasing problem with the rest of 5 blocks. Please have
a  look at the attached log and maybe you'll be able to easily identify the


> sebastian.vaitus at said:
> >  I was able to create a JFFS2 image with mkfs.jffs2, erase the flash,
> > and then copy the image to the flash ( about 200 bytes). I can mount
> > the mtdblock and browse the files on the JFFS2 file system, but I
> > cannot make any changes to the existing files or add new ones.
> > Everytime I try to modify it I get the 'No space left on device'
> > error.
> Please compile with CONFIG_JFFS2_FS_DEBUG=1, set the console loglevel to 9
> so that you see all the KERN_DEBUG messages, and log the output over a
> serial console while you reproduce this and also run 'df'.
> --
> dwmw2
> ______________________________________________________
> Linux MTD discussion mailing list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jffs2_clean
Type: application/octet-stream
Size: 9751 bytes
Desc: not available
Url : 

More information about the linux-mtd mailing list