MT-1300 | Overlay + File Storage on TF

The 128G TF is partitioned into 2 (8G+111G).
May the 8G be mounted as Overlay and the 111G as File Storage?

In the “File Shareing” page only “mmcblk0p1” is seen and looks already mounted.
However, in the Luci “Mounting Points” page, neither partitions is mounted yet. Both partitions were just formatted, not mounted yet. (Still trying to figure out how to mount them as Overlay + File Storage.)

Any suggestions on this are appreciated. :handshake:

root@GL-MT1300:/dev# ls /dev
bus                 mmcblk0p1           mtd6                ppp                 ttyS2
console             mmcblk0p2           mtd6ro              ptmx                ttyS3
cpu_dma_latency     mtd0                mtdblock0           pts                 ttyS4
full                mtd0ro              mtdblock1           random              ttyS5
fuse                mtd1                mtdblock2           shm                 ttyS6
gpiochip0           mtd1ro              mtdblock3           tty                 ttyS7
gpiochip1           mtd2                mtdblock4           ttyS0               ttyS8
gpiochip2           mtd2ro              mtdblock5           ttyS1               ttyS9
hwrng               mtd3                mtdblock6           ttyS10              ubi_ctrl
i2c-0               mtd3ro              net                 ttyS11              urandom
kmsg                mtd4                network_latency     ttyS12              watchdog
log                 mtd4ro              network_throughput  ttyS13              watchdog0
memory_bandwidth    mtd5                null                ttyS14              zero
mmcblk0             mtd5ro              port                ttyS15
root@GL-MT1300:/dev# cd /root
root@GL-MT1300:~# ls /dev
bus                 mmcblk0p1           mtd6                ppp                 ttyS2
console             mmcblk0p2           mtd6ro              ptmx                ttyS3
cpu_dma_latency     mtd0                mtdblock0           pts                 ttyS4
full                mtd0ro              mtdblock1           random              ttyS5
fuse                mtd1                mtdblock2           shm                 ttyS6
gpiochip0           mtd1ro              mtdblock3           tty                 ttyS7
gpiochip1           mtd2                mtdblock4           ttyS0               ttyS8
gpiochip2           mtd2ro              mtdblock5           ttyS1               ttyS9
hwrng               mtd3                mtdblock6           ttyS10              ubi_ctrl
i2c-0               mtd3ro              net                 ttyS11              urandom
kmsg                mtd4                network_latency     ttyS12              watchdog
log                 mtd4ro              network_throughput  ttyS13              watchdog0
memory_bandwidth    mtd5                null                ttyS14              zero
mmcblk0             mtd5ro              port                ttyS15
root@GL-MT1300:~#
root@GL-MT1300:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                14336     14336         0 100% /rom
tmpfs                   126560      1060    125500   1% /tmp
/dev/mtdblock6           16256      3744     12512  23% /overlay
overlayfs:/overlay       16256      3744     12512  23% /
tmpfs                      512         0       512   0% /dev
root@GL-MT1300:~#
root@GL-MT1300:~# block info
/dev/mtdblock5: UUID="f28f0cac-34e0f290-926ce6bd-8164daa0" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: MOUNT="/overlay" TYPE="jffs2"
/dev/mmcblk0p1: UUID="2f88cb24-593f-4cb2-b04d-b8d1ec59daa3" VERSION="1.0" TYPE="ext4"
/dev/mmcblk0p2: UUID="332d89f1-5cad-4960-ba5e-8cf3043c7b08" VERSION="1.0" TYPE="ext4"
root@GL-MT1300:~# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mtdblock0    31:0    0   192K  1 disk
mtdblock1    31:1    0    64K  1 disk
mtdblock2    31:2    0    64K  1 disk
mtdblock3    31:3    0  31.7M  0 disk
mtdblock4    31:4    0     2M  1 disk
mtdblock5    31:5    0  29.8M  1 disk /rom
mtdblock6    31:6    0  15.9M  0 disk /overlay
mmcblk0     179:0    0 119.1G  0 disk
├─mmcblk0p1 179:1    0   7.7G  0 part
└─mmcblk0p2 179:2    0 111.3G  0 part
root@GL-MT1300:~#
1 Like

I would go with what LuCI and the SSH df command shows. Personally, I use LuCI UI for mount points and file sharing, not the GL.iNet UI.

I do not work for and I do not have formal association with GL.iNet

Thanks! Yes, I am tring the LuCI and SSH.

But I guess the seemingly more friendly GL.iNet UI shall work and be the reason why it is chosen by OpenWrt rookie like me :joy:

It is nice to add “modifying overlay” to the UI.

But a big internal storage is better.

Yes! “modifying overlay” in the UI would be great!! Thanks in advance! :pray: :pray:

Since a big internal storage will be cost/price sensitive, an official guide by GL-iNet on enlarging the overlay with TF/USB will surely be welcomed by rookies like me.