Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

File system becomes read only spontaneously
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
File system becomes read only spontaneously
16th May, 2014, 11:11 AM
Post: #1
bullginger Offline
Registered
Posts: 2
Joined: May 2014
Reputation: 0
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
Find all posts by this user
Quote this message in a reply
16th May, 2014, 06:45 PM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: File system becomes read only spontaneously
What does dmesg say when your FS turns readonly?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
26th May, 2014, 09:02 PM
Post: #3
chochis Offline
Registered
Posts: 33
Joined: Jan 2014
Reputation: 0
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...
Find all posts by this user
Quote this message in a reply
26th May, 2014, 11:04 PM
Post: #4
bullginger Offline
Registered
Posts: 2
Joined: May 2014
Reputation: 0
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 have noticed that sometimes appears a message in XBMC saying that xbian-beta2 partition is being unmounted and mounted again...

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.
Find all posts by this user
Quote this message in a reply
25th Jul, 2014, 04:29 AM
Post: #5
rbthompsonv Offline
Registered
Posts: 26
Joined: Aug 2013
Reputation: 0
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 have noticed that sometimes appears a message in XBMC saying that xbian-beta2 partition is being unmounted and mounted again...

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.

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?
Find all posts by this user
Quote this message in a reply
6th Aug, 2014, 12:08 PM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
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
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Xbian on ext4 file-system?? MacUsers 13 41,410 3rd Feb, 2014 10:04 AM
Last Post: MacUsers

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 02:58 PM Powered By MyBB, © 2002-2025 MyBB Group.