File system becomes read only spontaneously
|
16th May, 2014, 11:11 AM
Post: #1
|
|||
|
|||
File system becomes read only spontaneously
Something that has been happening rather frequently lately is that the xbian filesystem will become read only spontaneously. This has been happening every couple weeks and each time I just reinstall, upgrade, and restore from backup. I have not been able to figure out what is causing damage to the file system. It will happen at time when it is running but not in use. I'll simpliy ssh into it and see and error saying the filesystem is read only.
I am using a model b raspberry pi. Could this be a power supply problem? I am using an iphone charger as a power supply which provides 1 amp which should be enough. Could the cable be causing an issue? I turned off overclocking just in case that was causing the issue but the file system will still become corrupted. Could it be a bad SD card? Is there a way to check it? I have a usb hard drive attached but with external power, incase that information helps. Any help is appreciated. Thanks |
|||
16th May, 2014, 06:45 PM
Post: #2
|
|||
|
|||
RE: File system becomes read only spontaneously
What does dmesg say when your FS turns readonly?
pilight - modular domotica solution
|
|||
26th May, 2014, 09:02 PM
Post: #3
|
|||
|
|||
RE: File system becomes read only spontaneously
Happened to me, with similar configuration, a 1TB ext4 external disc with own power supply.
I have noticed that sometimes appears a message in XBMC saying that xbian-beta2 partition is being unmounted and mounted again... |
|||
26th May, 2014, 11:04 PM
Post: #4
|
|||
|
|||
RE: File system becomes read only spontaneously
(26th May, 2014 09:02 PM)chochis Wrote: Happened to me, with similar configuration, a 1TB ext4 external disc with own power supply. I'll see that message appear periodically as well. Right now the system is working correctly. When it inevitably dies again I'll check dmesg to see what it says. |
|||
25th Jul, 2014, 04:29 AM
Post: #5
|
|||
|
|||
RE: File system becomes read only spontaneously
(26th May, 2014 11:04 PM)bullginger Wrote:(26th May, 2014 09:02 PM)chochis Wrote: Happened to me, with similar configuration, a 1TB ext4 external disc with own power supply. I think I am having this issue now... I try to change settings but they dont keep on reboot... Any ideas how to force it back to non-read only? |
|||
6th Aug, 2014, 12:08 PM
Post: #6
|
|||
|
|||
RE: File system becomes read only spontaneously
@all
the remount to RO is only possibility to avoid reflash. BTRFS remounts to RO if data/metadata being processed do not match, metadata tree looks broken etc. this can have many reasons, mostly it is poor AC, too much OC (in rare case also older kernel, like pre 3.12.x). if filesystem would continue W operations with wrong informations, it would become unreadable completely very soon. if the problem is just OC or spikes in poor AC, then just reboot is enough. if FS is really damaged, then RO will return 30s-1m after boot. in that case reboot to initramfs and "btrfs check" could help (btrfs-tools at minimum 3.14 version - otherwise reformat). Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Xbian on ext4 file-system?? | MacUsers | 13 | 39,689 |
3rd Feb, 2014 10:04 AM Last Post: MacUsers |