BTRFS just started mounting my / directory as read only. I can no longer boot my system
Not downloaded yet
What happened here? I tried to open google chrome which failed because it could not create some log variable. I checked the permissions but everything was fine. After opening thunar I noticed that all of my files had little lock symbols next to them.
I rebooted my system and can now no longer log into it. This is what I get:
What the hell do I do now?
Kernel version is 4.8.1-1-ck btw
edit: btrfs-scrub showed no issues
edit 2: Output of
btrfs check
https://imgur.com/a/RLcXB (two images)
Edited 25 Sep 2015. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 3 · 100% up
- Kind
- Image
- ID
- 3mc4kl
7 comments
My guess is that the filesystem is full (or, too full to operate, normally). Did you convert it from an ext? filesystem? If so, you need to delete the old filesystem backup subvolume that is created, automatically, then defrag the btrfs.
A btrfs fsck fixed the issue, but now it's back. I did not convert from ext, but I am trying to defrag right now.
Ok. I was only going from my own experience.
Can you try running this?
If you're able to get it rw, then you should be able to fix it without needing any kind of installation media.
Anyway, whether you're able to remount it or if you need to use an external boot media for the time being, you might want to make sure that your bootloader has the rw kernel flag.
Happened to me recently.
I debugged as far as 'the kernel is flipping the partition to ro due to corruption to protect against further damage'.
I then:
This was my last resort, thought I would share in case it comes to that for you. But your problem might not be the same as mine was.
Is it a raid disk? This happens when one disk in a pair or array fails.
Nope, it's a single ssd.