Thread (3 messages) 3 messages, 2 authors, 2012-01-19

Re: bad tree block problems

From: Chris Baines <hidden>
Date: 2012-01-19 03:26:02

Right, I can mount read only. Running a find command across the
filesystem, yields lots of:
[ 7775.228342] btrfs: corrupt leaf, bad key order:
block=3D756502351872,root=3D1, slot=3D1
type messages in dmesg, running a scrub gives:
scrub status for 7d65d152-1200-4043-981a-06757707f1ba
	scrub started at Wed Jan 18 22:29:30 2012 and was aborted after 5575 s=
econds
	total bytes scrubbed: 1.26TB with 0 errors
And in dmesg:
[13370.886533] btrfs bad tree block start 714438135808 714427781120
[13370.962864] btrfs bad tree block start 714438135808 714427781120
[13371.681333] btrfs bad tree block start 714438135808 714427781120
[13371.724529] btrfs bad tree block start 714438135808 714427781120
[13371.724690] btrfs bad tree block start 714438135808 714427781120
[13371.724969] btrfs bad tree block start 714438135808 714427781120
[13371.725099] btrfs bad tree block start 714438135808 714427781120
[13371.725243] btrfs bad tree block start 714438135808 714427781120
[13371.725412] btrfs bad tree block start 714438135808 714427781120
[13371.725714] btrfs bad tree block start 714438135808 714427781120

On 18 January 2012 20:48, cwillu [off-list ref] wrote:
First thing I'd try is to try mounting it readonly ("mount ... -o
ro"). =A0This should get it mounted, or at least failing at a later
point with different (better?) error messages to work from. =A0(dmesg
output after such an attempt would be useful).

On the vanilla kernel front, Ubuntu has kernel debs without any extra
patches, which will/should work with debian. =A0(There may be a simil=
ar
pure debian thing somewhere already, but anyways).

If you see anything about dkms building modules when installing,
you'll have to disable those in order to prevent the nvidia and
virtualbox modules from being built/installed with vanilla kernel.

Debs available from
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.1-precise/

And the relevant dkms lines if applicable (module names may also vary=
,
but dkms status will list the relevant ones assuming dkms is in fact
in use):

"dkms status"
"dkms uninstall -m nvidia -v <from status> -k <from status, something
something 3.2.1>"
"dkms uninstall -m vboxhost -v <from status> -k <from status,
something something 3.2.1>"
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help