master node can not be recovered

Richard Weinberger richard at nod.at
Mon Nov 2 08:46:05 PST 2015


Bean,

Am 02.11.2015 um 17:10 schrieb Bean Huo 霍斌斌 (beanhuo):
> Hi, Richard 
> I tested my UBI power loss solution, have a question about master node.
> We all know that if master node be corrupted by power loss , we can recover it by second one. But from my testing results, in fact,
> It cannot be recovered by second backup master node. If first master node be corrupted by power loss, this relevant block will be correctly read, get_master_node will not reture 0, so next time recover operation will not run.
> Or I'm wrong?

ubifs_recover_master_node() is very strict.
Can it be that in your case more than the last written page is corrupted?

Thanks,
//richard



More information about the linux-mtd mailing list