ubifs: replay log error

hujianyang hujianyang at huawei.com
Tue Jun 10 02:15:20 PDT 2014


Hi Artem,

I meet a serious problem when I was mounting an ubifs partition in v3.10.

[  938.975707] UBIFS: background thread "ubifs_bgt0_0" started, PID 2222
[  938.992994] UBIFS: recovery needed
[  939.005971] UBIFS error (pid 2220): replay_log_leb: first log node at LEB 4:0 is not CS node
[  939.006004] UBIFS error (pid 2220): replay_log_leb: log error detected while replaying the log at LEB 4:0
[  939.006024]  magic          0x6101831
[  939.006046]  crc            0x81e22cd5
[  939.006063]  node_type      8 (reference node)
[  939.006084]  group_type     0 (no node group)
[  939.006105]  sqnum          2375337
[  939.006123]  len            64
[  939.006144]  lnum           5273
[  939.006164]  offs           122880
[  939.006181]  jhead          2
[  939.006279] UBIFS: background thread "ubifs_bgt0_0" stops

I found a similar problem fixed by commit c6727932, Do you think they are
related?

In my environment, system will be shutdown by high temperature. So the
filesystem would be unclean umount several times.

Besides, do we have some tools like fsck to re-valid the partition after
this error happen? I can't mount this partition now and format it again is
the only way I know to deal with this situation.

Thanks.

Hu




More information about the linux-mtd mailing list