Re: File in JFFS2 corrupted after power loss during removal of otherfiles
Marcin Adamski
mass85 at tlen.pl
Tue May 5 09:51:44 PDT 2015
Dnia 5 maja 2015 17:44 Richard Weinberger <richard at nod.at> napisał(a):
>
> > Am 05.05.2015 um 17:12 schrieb Marcin Adamski:
> > On Mon, May 5, 2015 at 16:35, Richard Weinberger <richard.weinberger at gmail.com> wrote:
> >> I'd say "it's complicated". :)
> >>
> >> UBIFS was created to deal with such situations.
> >> If you want to be on the safe side, use it.
> >>
> >
> > I'm afraid it is too late for me to use UBIFS, as I need to perform upgrade of my devices in the field and migration from JFFS2 to UBIFS seems impossible (at least without some additional free space in flash).
> >
> > I concluded that JFFS2 should also handle this kind of scenarios after reading about CRC failures in http://www.linux-mtd.infradead.org/faq/jffs2.html#L_messages
>
> AFAIK it depends on the corruption. But JFFS2 predates me. :)
> Usually in such situations I inspect the corrupt image by hand.
> Maybe it is also an hardware issue. Is this NAND flash?
It is NAND flash. I think I will give up on inspecting image by hand, this seems too hard.
Regards
Marcin Adamski
More information about the linux-mtd
mailing list