[FE training-materials-updates] Flash lab: warn about UBIFS resizing limitation

Michael Opdenacker michael.opdenacker at free-electrons.com
Wed Sep 14 08:10:17 CEST 2016

Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=369bce37e5d3b6ab9c0103dcb5fb649caf9925ae


commit 369bce37e5d3b6ab9c0103dcb5fb649caf9925ae
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Wed Sep 14 08:10:17 2016 +0200

    Flash lab: warn about UBIFS resizing limitation
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


 labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 42266eb..51b115a 100644
--- a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -206,8 +206,12 @@ data using the web server.
 In some cases you might need to adapt your NAND partitioning without
 re-flashing everything. Thanks to UBI this is possible.
-From Linux, resize the \code{data} volume to occupy 128 MiB,
-and then create a new \code{log} volume of 16MiB. Mount this
+First, from Linux, resize the \code{data} volume to consume 128 MiB.
+Check that this works as expected. However, you will notice that UBIFS
+is not able yet to take advantage of the new size. To do it, you would
+have to reflash this volume. 
+Next, create a new \code{log} volume of 16MiB. Mount this
 volume as a UBIFS filesystem and see what happens.
 Update your init script to mount the UBI \code{log} volume on \code{/var/log}.
@@ -265,4 +269,4 @@ the second kernel volume if the first one is corrupted:
     the backup one)
-%TODO: provide a correction
+%TODO: provide a solution

More information about the training-materials-updates mailing list