Esp8266 LittleFS weird issue

Final update. I changed the flash layout from eagle.flash.4m1m.ld to eagle.flash.4m2m.ld and now mesh.initOTAReceive doesn't kill the FS.