EDIT:
I've given the solution in the ExtRoot wiki page.
Read on if you are interested in my dull story of how I came to that result.
ORIGINAL STORY:
I did prepare a miniSDHC for the "pivot-overlay" type of ExtRoot as per instructions.
The card sits in a slot of an USB-modem (Huawei E3131).
I tried to mount this device as per instructions above - from the /etc/config/fstab - but it failed. Increasing the delay_root global option up to 60 seconds does not help.
Then I followed Max Hopper's advise which has helped me to some extent (no need to sleep 10s in a script).
But still I do not see any volume increase on the /:
root@OpenWrt:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 896 244 652 27% /
/dev/root 2048 2048 0 100% /rom
tmpfs 14708 64 14644 0% /tmp
/dev/mtdblock6 7759872 477328 7221104 6% /overlay
overlayfs:/overlay 896 244 652 27% /
tmpfs 512 0 512 0% /dev
/dev/sda1 7759872 477328 7221104 6% /overlay
/dev/sdb1 7759872 477328 7221104 6% /mnt/sda1
root@OpenWrt:~#
May be I'm wrong, but I did expect to obtain the same 6% of occupancy on the /.
Without my "extrooting" I get the same 27% at /overlay (/dev/mountblock6), so it sort of "works" but not quite.
root@OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock6 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/sda1 on /overlay type f2fs (rw,relatime,background_gc=on,user_xattr,active_logs=6)
/dev/sdb1 on /mnt/sda1 type f2fs (rw,relatime,background_gc=on,user_xattr,active_logs=6)
root@OpenWrt:~#
I did try to format the card to ext4 with the same (apparently failing) result.
Please comment.
Thank you in advance.
(Last edited by booBot on 21 Apr 2016, 23:05)