Help - Search - Members - Calendar
Full Version: Fsck.jffs2?
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
daniel3000
Hello,

is there a way to check the /dev/mtdblock3 fs (jffs2) on a C3100?
I'd like to make sure there are no fs errors after a system crash.
Thanks
daniel
iamasmith
jffs2 is a journalling file system. after a crash the file system will be brought into a consistent state and there are some internal checks when this happens.

But no, I have not come across any tools to analyse jffs2.

Please be aware that a lot of the 'errors' that you see are warnings... you will over and over get messages about child nodes not existing and files not existing in directories. These are purely informational and do not effect the representation of the file system.

The reason that jffs2 does not 'fix' these is because this would involve unnecessary writes to a hardware device that has a finite number of writes in its lifetime - behaviour is by design.

-Andy
daniel3000
QUOTE(iamasmith @ Jun 8 2006, 08:09 PM)
jffs2 is a journalling file system. after a crash the file system will be brought into a consistent state and there are some internal checks when this happens.

But no, I have not come across any tools to analyse jffs2.

Please be aware that a lot of the 'errors' that you see are warnings... you will over and over get messages about child nodes not existing and files not existing in directories. These are purely informational and do not effect the representation of the file system.

The reason that jffs2 does not 'fix' these is because this would involve unnecessary writes to a hardware device that has a finite number of writes in its lifetime - behaviour is by design.

-Andy
*


Thank you Andy,
so I don't have to be afraid of a corrupted /home file system at all.
What remains is the SD card with 2GB ext2 user data on it, but that's not a problem to check.

daniel
ldrolez
Hi !

My /home was corrupted, I could read strange messages when the Z rebooted. To fix the problem, I used the sharp backup/restore application and the messages dissapeared ! So no need for a fsck.

Cheers,

Ludo.
daniel3000
QUOTE(ldrolez @ Jun 10 2006, 03:23 PM)
Hi !

My /home was corrupted, I could read strange messages when the Z rebooted. To fix the problem, I used the sharp backup/restore application and the messages dissapeared ! So no need for a fsck.

Cheers,

  Ludo.
*


Did you restore a backup you made before the error messages appeared. or did you make a backup after the messages appeared and they disappeared after one backup / restore cycle?

What error messages did you see?

Thanks
daniel
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.