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=756502351872,root=1, slot=1
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 seconds
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 <cwillu@xxxxxxxxxx> wrote:
> First thing I'd try is to try mounting it readonly ("mount ... -o
> ro"). This should get it mounted, or at least failing at a later
> point with different (better?) error messages to work from. (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. (There may be a similar
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html