can't mount ubifs after resizing with ubirsvol

Dongsheng Yang yangds.fnst at cn.fujitsu.com
Thu Nov 19 16:09:49 PST 2015


On 11/19/2015 11:02 PM, Richard Weinberger wrote:
> Am 19.11.2015 um 15:09 schrieb Konstantin Tokarev:
>> I can confirm that shrinking UBIFS volume corrupts it.
>
> There are no UBIFS volumes.
> If you shrink a UBI volume, you kill UBIFS for sure.
> It is like shrinking a HDD partition without resizing ext4 before.
>
> Maybe we can do a resizeubifs tool at some point.
> I'm currently checking the source what we need for a online-shrink...

Interesting idea. What about a ubifs tool with a subcommand named as
resize? Then we can add more subcommands for ubifs. Anyway, waiting for 
your
patch. :)

Thanx
Yang

>
> Thanks,
> //richard
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>




More information about the linux-mtd mailing list