SD Card corruption on reboot after power failure
Username: xavier83
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1877
-
problem occurs on zbt-we1326 with mt7621 cpu with mtk_sd kernel module loaded.
-
openwrt latest snapshot(30-08-2017) firmware downloaded from openwrt.
-
Steps to reproduce
-
setup extroot on the sdcard with a partition of 1gb(ext4)(boot) mounted as /overlay and 31gb(f2fs)(data) mounted at /media/
-
works fine on normal reboot(through ui).
-
turn off router power and start the router by plugging back in. notice corruption of extroot or data folder or both . it doesn’t happen rarely but it definitely happens on subsequent power off/on cycle.