File in JFFS2 corrupted after power loss during removal of other files
Richard Weinberger
richard at nod.at
Tue May 5 08:44:32 PDT 2015
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?
Thanks,
//richard
More information about the linux-mtd
mailing list