UBIFS corruption and UBI + unstable bit questions

Richard Weinberger richard.weinberger at gmail.com
Thu Mar 26 09:45:17 PDT 2015


On Thu, Mar 26, 2015 at 5:00 PM, Morand, Guy <Guy.Morand at comet.ch> wrote:
> Hello UBI developers,
>
> I was wondering what happens to the UBI volume if an UBIFS partition gets
> corrupted:
> * Is only the partition corrupted?
> * Is the whole volume corrupted?

Can you please be more specific.
What exactly do you mean by "only the partition"?
Also what do you mean by "corrupted"?

If a filesystem is corrupted there is nothing you can do...
(By definition of corrupted)

> Moreover, about this "Unstable bit issue" ...
> * Does it still make sense to use UBI/UBIFS as it doesn't seem to be fully
>   power cut failsafe?

It all depends on how you define "fully power cut failsafe".
UBI/FS is not a magic bullet. People who *really* care about power cut safety
attack the problem also with their hardware.
e.g., by not using the cheapest NAND chip they can find. ;-)

> * Have you planned to fix this issue?

TBH nobody cared enough so far to either fix the issue on its own or
fund one of us UBI developers.

Are you able to trigger this problem?

-- 
Thanks,
//richard



More information about the linux-mtd mailing list