This is on my MT1300. The main issue that I have with this release is that you cannot setup a flash card as a overlay. Well you can, just don’t reboot — meaning you have to do everything manually post boot. /etc/config/fstab
correctly shows my card mounting to /overlay
but on reboot, /dev/mtdblock6
gets mounted to /overlay
regardless of anything I try to do. I cannot for the life of me override this like I was able to with release 2. GL.iNet folks - please provide some suggestions.
Try the Post #9 procedure in this thread:
I do not work for and I am not directly associated with GL.iNet
That seemed to make things worse… (accounted for different device with the script).
For whatever reason /dev/mtdblock6
is now mounting to /rom/overlay
and /dev/mmcblock0
isn’t automounting anywhere…
I’ll try downgrading to release 2 later unless there are other ideas on how to resolve this issue.
root@GL-MT1300:~# uci show fstab
fstab.@global[0]=global
fstab.@global[0].anon_swap='0'
fstab.@global[0].anon_mount='0'
fstab.@global[0].auto_swap='1'
fstab.@global[0].auto_mount='1'
fstab.@global[0].delay_root='5'
fstab.@global[0].check_fs='0'
fstab.@mount[0]=mount
fstab.@mount[0].target='/overlay'
fstab.@mount[0].uuid='bcb480a4-4b3f-4987-ae40-bc427ba9a1e9'
fstab.@mount[0].enabled='1'
root@GL-MT1300:~# block info
/dev/mtdblock5: UUID="96a7afb7-b8f4bb97-ac66639d-1150cda4" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: MOUNT="/rom/overlay" TYPE="jffs2"
/dev/mmcblk0: UUID="bcb480a4-4b3f-4987-ae40-bc427ba9a1e9" VERSION="1.0" TYPE="ext4"
root@GL-MT1300:~# cat /etc/config/fstab
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
config 'mount'
option target '/overlay'
option uuid 'bcb480a4-4b3f-4987-ae40-bc427ba9a1e9'
option enabled '1'
root@GL-MT1300:~#
Looks like 4.3.6 release 3 “stable” branch has been pulled from the site for the MT1300. Latest beta is back to release 2 and the stable back is showing as 3.216. So back to release 2 it is for me. Next time I’ll wait a couple weeks before upgrading and having to go through this mess of an upgrade. Hopefully, downgrading resolves the aforementioned issues. I’ll report back.
It was removed not because of bugs, but because of the upgrade.
Reverting to release 2 fixed my issue. I don’t know the difference between release 2 and release 3 but there is something that breaks the ability to mount a flash card as overlay. Please double check on this prior to any further releases.
root@GL-MT1300:/tmp# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 13824 13824 0 100% /rom
tmpfs 124972 1996 122976 2% /tmp
/dev/mmcblk0 61073228 1119348 56819112 2% /overlay
overlayfs:/overlay 61073228 1119348 56819112 2% /
tmpfs 512 0 512 0% /dev
/dev/mmcblk0 61073228 1119348 56819112 2% /mnt/mmcblk0
root@GL-MT1300:/tmp# uci show fstab
fstab.@global[0]=global
fstab.@global[0].anon_swap='0'
fstab.@global[0].anon_mount='0'
fstab.@global[0].auto_swap='1'
fstab.@global[0].auto_mount='1'
fstab.@global[0].delay_root='5'
fstab.@global[0].check_fs='0'
fstab.@mount[0]=mount
fstab.@mount[0].target='/overlay'
fstab.@mount[0].uuid='bcb480a4-4b3f-4987-ae40-bc427ba9a1e9'
fstab.@mount[0].enabled='1'
root@GL-MT1300:/tmp# block info
/dev/mtdblock5: UUID="3fccd726-70b86e62-f00552af-bcde5837" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: TYPE="jffs2"
/dev/mmcblk0: UUID="bcb480a4-4b3f-4987-ae40-bc427ba9a1e9" VERSION="1.0" MOUNT="/overlay" TYPE="ext4"
root@GL-MT1300:/tmp# cat /etc/config/fstab
config global
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
config mount
option target '/overlay'
option uuid 'bcb480a4-4b3f-4987-ae40-bc427ba9a1e9'
option enabled '1'
root@GL-MT1300:/tmp#
You can see from the block info
that mtdblock6 goes from trying to mount on /overlay/rom
in release 3 to just being a type="jffs2"
in release 2