GL-iNet MT-1300 | Overlay + File Storage on TF

Hi, I'm using the GL-iNet MT-1300.
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 (GL-iNet firmare interface) only “mmcblk0p1” is seen and looks already mounted.

However, in the Luci “Mounting Points” page, neither partition 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:~#




This is your second post with the GL-iNet firmware... I'd really recommend that you either install official OpenWrt or use their forums to ask these questions.

3 Likes

The main reason I use this GL-inet firmware is that the router can be managed via GoodCloud.xyz just like locally, which is more friendly to anOpenWrt/Linux rookie like me (more than 1 router to maintain in different locations).

To enlarge the Overlay is to install some plug-ins as VPN. THE GL-iNet has already integrated the Wireguard into the firmware, but not working well (too slow). Other protocals like X-ray, Shadowsocks or Trojan needs more storage than the on-board Overlay.

So I am working on Overlay first, and hope to set up File Storage/Sharing on TF as well.
Not a quick learner, I have just made some progress (fomatted these 2 partition). :upside_down_face:

Thanks for you reply, and will use the GL-iNet forum.