-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read-only file system #409
Comments
I 've got this when the sdcard was "corrupted" it mounts the flesystem in read only. |
I had this issue too with the previous changes. With the last changes I have not recognized it. |
Getting this alot. Know I have a ok SD card |
I have also had this error recently. |
@youqingkui can you please test #527? |
|
There is a way to add this command in run.sh ? I don't know if we can check the status before ... |
Use fsck on a mounted file system? Thought that was a big NO-NO? |
After last update I have this error |
Dosfsck is probably not on your path. Either add /system/sdcard/bin to your path or cd there and run it from there. |
Hello, |
@dmolner Should be |
@Dopeyr |
Hmm, if the sdcard was read only when you did the update, you might not have dosfsck as it could not write it (I guess?). It's probably best to take the card out, check it on a different machine, format it and then install everything from scratch. You might want to keep a copy of your |
This issue should be reopened. I still have the same problem with ro mount today. Was able to fix via ssh login to shell and running the command mount -o remount,rw /system/sdcard So it is presumably not the sdcard that is broken nor a corrupted filesystem. But is does occur when cycling the power to the cameras. Not good for a standalone and remote security camera to behave like this -- one might not have ssh access (to fix the problem) and one might not even notice the problem. I have had to remount multiple times in the same session, as indicated by dmesg output: [root@DAFANG:bin]# dmesg | grep unmounted Hardware: Wyzecam V2 |
+1 @reikred . I have this issue on regular basis. |
same issue but i cant access ssh. |
Also having the same issue. But when this happens ssh is not working so the only solution is to remove the sd card from the camera wich is a pain beacuse all my cameras are mounted on the wall near the cealing. |
Same issue |
Same issue. Sometimes sdcard is read only (Dafang) |
Same issue... |
Have the same issue |
I resolved my issue by formatting the SD and re flashing from scratch. Windows line endings were inserted in several of the config files and rather than trying to find and fix them all I took that route and made sure any file I edited had the LF line endings before saving the file. |
can we have an option in the UI to remount the sdcard? mount -o remount,rw /system/sdcard |
Same issue here |
Now finally getting my wyzecam v2 jx23 connected to my wifi, I'm having this issue too. Unable to SSH to it either. Edit: I found a small partition on my SD card that was not being used, seems it may have been the cause of this. If you're fluent with Windows, insert your SD card, right click on "My PC" in file explorer, select Manage. Low on the list you'll see "Storage" and "Disk Management", select that. In the center window there will be a bottom portion that shows the physical disks and then the partitions within them. If your SD card has more than one, kill it all, format, and put the files back on the card. Edit 2: after unintentional reboots from attempts to use other software integrations (like homebridge), I got this error again. It's able to be cleared by the mount command mentioned above, but pretty sure it will only be temporarily. |
Just start from scratch then |
I had the same error today; power out. Was about to write it up as the auto-link didn't find the bug, so this is pretty formal :)
Wyze Cam, v2 (WYZEC2)
DescriptionI got everything working, changed some settings (Camera name, disabled arrows) I then pulled the plug to reboot. (I know … probably dumb, but consumers are like that) Now, despite running fsck from a root terminal session, it still says settings can't be changed, read only file system. I checked dmesg, and this doesn't look good:
What did you do to debug the issueRan fsck:
No joy. No error messages, even with -v, but it didn't fix it either. Evidencedmesg given above. Contribute BackThe fix for me was to move the sdcard back to my PC, and run chkdsk /f. Oddly, it reported no errors:
I'm not sure if the linux distro can handle power outs, but maybe we should convert to ext file system? I'll report back if I figure it out. |
Did you try the command mentioned above? |
No, honestly I had already fixed it via chkdsk before I saw this thread. I realize this would help with debugging, but I don't see shell access as a permanent fix. At the most, there could be a UI for doing this in the web pages under setup, but that could generate a DOS attack too. |
I hope it helps: Once I had this problem with a Dafang with motion detection activated and capturing snapshots in local storage (I didn't notice I ever activated that option). I was missing that I had only 512MB, and the read only flag in notifications appeared because the storage was already full. Yet, after deleting all media, the error remained. I just had to delete all from de SD card and copy the modified firmware, easy as c/p. Not need to reflash. |
Have same issue every power cycle on camera with ALWAYS ON TIME LAPSE RECORDING to sdcard. Found dirty solution to put script in
Dont forget to Typical dosfsck output is:
In my case doing just dosfsck and remount, without proper reboot will always cause some problems and kernel crush in next 5-10 minutes.
Another approach to do same check, is in placing script in
And some times fails to execute script, some times run it, have no idea about this. |
I sometimes get message when for example running autoupdate or trying to edit files: "Read-only file system"
I do not think it is my sd-card that is faulty as I can solve the problem bu running
mount -o remount,rw /system/sdcard
or rebooting.
For some reason the filesystem is made read-only sometimes?
The text was updated successfully, but these errors were encountered: