You are not logged in.
Pages: 1
My root filesystem seems to be broken after I forced my laptop restart by powering it off.
Now I am always dropped into an emergency shell. The log tells me that mount got segmentation fault when it tried to mount the root partition. I'm using btrfs for the root partition(silly me!).
I already tried mounting the root system from a live cd, got the same segmentation fault.
Can anyone shed some light on this? Is there any tool similar to fsck for btrfs?
If the log is required, I will attach it later.
Thanks in advance.
EDIT:
I tried running
btrfsck --repair /dev/sda7but also failed with
enabling repair mode
checking extents
checking fs roots
checking root refs
btrfsck: extent-tree.c:2549: btrfs_reserve_extent: Assertion `!(ret)` failed.
[1] 385 abort (core dumped) btrfsck --repair /dev/sda7EDIT 2:
The problem seems to be solved by following
http://www.funtoo.org/wiki/BTRFS_Fun
section Clearing the BTRFS journal and Using btrfsck
Last edited by qiuwei (2013-05-17 15:22:14)
Offline
Offline
Many thanks. It indeed solved the problem.
Offline
Please mark the thread as [Solved] then. As a new-ish btrfs user, I will be logging this somewhere in my head for future reference (hopefully only reference, and not use).
Offline
Pages: 1