Author Topic: Input/output Error In Jffs2 File System  (Read 1467 times)

jfr

  • Newbie
  • *
  • Posts: 36
    • View Profile
Input/output Error In Jffs2 File System
« on: April 20, 2005, 07:19:53 pm »
I was trying to install an innocent little ipk, but got
mkdir: Cannot create directory `//home/tmp/ipkg/jgps/data': Input/output error

This occurs while ipkg is unpacking the ipk file. From inspection of the ipkg script, it creates the control directory (which is there), and then creates the data directory.

However, if I first create a directory /home/tmp/junk, then try the install again, I get the same failure but this time on the control directory. So I assume there's a problem with the file system, which is in the flash.

I tried rebooting and then resetting, in the hope that one of them would cause a check to be run, but it didn't help. If I run df on /dev/mtdblock3, it says it's only 47% full so I assume it's not a space issue.

There's no fsck.jffs2 in /sbin, so I'm not sure what to try next. Does anyone have any ideas?

TIA

jfr

  • Newbie
  • *
  • Posts: 36
    • View Profile
Input/output Error In Jffs2 File System
« Reply #1 on: April 21, 2005, 01:46:22 pm »
Doesn't look as though this has happened to many people :-)

In the end, I decided to treat it the same way as a system hang - with a reset to the factory state. That, and a nice recent backup, did the trick.