autoresize causes insufficient reservation of PEBs for bad PEB handling
Egli, Samuel
samuel.egli at siemens.com
Tue Jul 7 04:19:36 PDT 2015
Hi Richard,
>-----Original Message-----
>From: Richard Weinberger [mailto:richard at nod.at]
>Sent: Dienstag, 7. Juli 2015 13:05
>To: Egli, Samuel
>Cc: linux-mtd at lists.infradead.org
>Subject: Re: autoresize causes insufficient reservation of PEBs for bad
>PEB handling
>
>[...]
>>
>> So this is actually ok. I get my 80 blocks reserved.
>>
>> Sorry for the confusion.
>
>Okay. So there is no issue at all? :-)
Well, in my opinion it is a workaround to define all 3 vol_size's
But I would like to use the "autoresize" flag for the 3rd volume.
And I'm just worried that something else is not working properly
because I think it should work also with autoresize.
I was also checking to modify the ubifs parameters.
Initially I thought, that max leb count should have the size of my
mtd partition, i.e. 4056. Reading the documentation I understood,
that you can limit the space the image will take. So tried to limit
it to 2827 (4065 - 2*579 - 80) LEBs. But this didn't help either.
e.g.
mkfs.ubifs -r ../conf/path -o conf.ubifs -F -m 2048 -e 126976 -c 2827
Thanks,
Sam
More information about the linux-mtd
mailing list