jjm2473 / rtd1295-openwrt18-porting

porting openwrt 19.07+ to rtd1295/rtd1296 devices (android + openwrt dual os) (移植新版OpenWrt到RTD1295(如Zidoo Z9S))
https://github.com/jjm2473/openwrt/wiki/RTD129X-Openwrt-18.06
MIT License
40 stars 10 forks source link

Frequent input/output error on internal hdd X10 #23

Open davicom88 opened 4 years ago

davicom88 commented 4 years ago

Hi Jim, how are you? I still owe you some coffee;). I wanted to ask your opinion regarding constant errors occurring with the internal hdd of my X10 ext4. I know perfectly well that it could be a lot of different things, and I certainly don't have your knowledge of the zidoo operating system, but I honestly think it could be due to the simultaneous double mounting on Android and OpenWrt. Since thanks to you I use my X10 exclusively as a NAS, and in the future I intend to try to configure a raid 5 it would be really useful to eliminate this annoying problem, which often forces me to give "e2fsck" from openwrt terminal to recover "error on journal "and so on. I ask you: is there a way to disable mounting on android but at the same time keep it on OpenWrt to see how it goes? Alternatively it could be a library problem on openwrt but in that case I think there is little to do ... Thanks in advance and sorry if I dwelt

jjm2473 commented 4 years ago

This problem may introduced by Android shutdown process.

Android does not notify OpenWrt that it is shutting down, so OpenWrt did not umount filesystems.

Just my guess, I will check it out sometime.

I don't know if there a way to disable mounting on android, it always mount fs when disk plug.

Can you enable fs check on mount point manager? That it will check fs every mount.

davicom88 commented 4 years ago

Hi, in fact: as I suspected...

Well yes I tried to enable check fs before mounting on openwrt but it seems to make matters worse: in this way hdd fail to mount at all.

The only way that works, After input/output error Is: unmount from android, unmount from OpenWRT, manually get e2fsck...

Il sab 19 set 2020, 16:03 练亮斌 notifications@github.com ha scritto:

This problem may introduced by Android shutdown process.

Android does not notify OpenWrt that it is shutting down, so OpenWrt did not umount filesystems.

Just my guess, I will check it out sometime.

I don't know if there a way to disable mounting on android, it always mount fs when disk plug.

Can you enable fs check on mount point manager? That it will check fs every mount.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jjm2473/rtd1295-openwrt18-porting/issues/23#issuecomment-695217400, or unsubscribe https://github.com/notifications/unsubscribe-auth/APSQP2RLI2QJGLG6FR5SA5TSGS243ANCNFSM4RS3F6EQ .

jjm2473 commented 4 years ago

Maybe android already mounted the disk before openwrt doing check.

Is there a way to enable fs check on android?

davicom88 commented 4 years ago

Yes, under developer options...

But in that case I think I remember me that could be problem on OpenWRT mounting.

Probably the only exception i didn't try Is to set fs check both android and OpenWRT but I think there will be any benefit...

Il dom 20 set 2020, 03:15 练亮斌 notifications@github.com ha scritto:

Maybe android already mounted the disk before openwrt doing check.

Is there a way to enable fs check on android?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jjm2473/rtd1295-openwrt18-porting/issues/23#issuecomment-695424554, or unsubscribe https://github.com/notifications/unsubscribe-auth/APSQP2WR4RYGZ6KKYCTJIM3SGVJTFANCNFSM4RS3F6EQ .