UBI Resize with second volume table copy corrupted
Brent Taylor
motobud at gmail.com
Sat May 25 08:45:18 EDT 2013
I've created an ubifs filesystem image using ubinize. The image is
flashed to a NAND chip using U-Boot. The image is successfully
mounted on several hardware boards but one board contains a bad block
within the MTD partition the image is written to. U-Boot skips the
bad block and continues writing. When Linux starts to initialize the
UBI subsystem, UBI reports:
UBI warning: process_lvol: volume table copy #2 is corrupted
UBI: create volume table (copy #2)
UBI: volume table restored
UBI continues to attach to the MTD partition, but the volume is never
resized to expand to use the entire 128MB of the MTD partition and the
volume is immeditaly "full" because there are no more free LEB's.
On the other boards that successfully mount the UBIFS root partition,
the UBI volume is resized correctly.
I'm wondering if by re-creating the second volume table if the
"resize" flag is being copied?
Thanks for your time,
Brent Taylor
More information about the linux-mtd
mailing list