OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: daniel3000 on June 08, 2006, 12:20:59 pm

Title: Fsck.jffs2?
Post by: daniel3000 on June 08, 2006, 12:20:59 pm
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
Title: Fsck.jffs2?
Post by: iamasmith on June 08, 2006, 02:09:23 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
Title: Fsck.jffs2?
Post by: daniel3000 on June 08, 2006, 03:22:17 pm
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130433\"][{POST_SNAPBACK}][/a][/div]

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
Title: Fsck.jffs2?
Post by: ldrolez on June 10, 2006, 09:23:37 am
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.
Title: Fsck.jffs2?
Post by: daniel3000 on June 10, 2006, 02:05:51 pm
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130654\"][{POST_SNAPBACK}][/a][/div]

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