btrfs filesystem problem: mount /dev/sdb2 on /mnt failed: Cannot allocate memory

Hi,

mein btrfs Filesystem ist defekt.
Leider fehlen mir 3 Dateien in der Datensicherung

gibt es eine Möglichkeit das Filesystem readonly zu mounten?

#fdisk -l

Disk /dev/sdb: 500.1 GB, 500107837440 bytes, 976773120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0005f89a

Device Boot Start End Blocks Id System
/dev/sdb1 2048 16771071 8384512 82 Linux swap / Solaris
/dev/sdb2 * 16771072 750782463 367005696 83 Linux

mount /dev/sdb2 /mnt

mount: mount /dev/sdb2 on /mnt failed: Cannot allocate memory

#btrfsck --repair /dev/sdb2

nabling repair mode
parent transid verify failed on 443277312 wanted 391397 found 391383
parent transid verify failed on 443277312 wanted 391397 found 391383
parent transid verify failed on 443277312 wanted 391397 found 391383
parent transid verify failed on 443277312 wanted 391397 found 391383
Ignoring transid failure
Checking filesystem on /dev/sdb2
UUID: f2fcf334-98e6-4e85-8cb1-e796c81b3718
checking extents


root 263 inode 24798 errors 1000, some csum missing
root 263 inode 25085 errors 1000, some csum missing
root 263 inode 25091 errors 1000, some csum missing
root 263 inode 25092 errors 1000, some csum missing
root 263 inode 25367 errors 1000, some csum missing
root 263 inode 25417 errors 1000, some csum missing
root 263 inode 25440 errors 1000, some csum missing
root 263 inode 25456 errors 1000, some csum missing
root 263 inode 25467 errors 1000, some csum missing
root 263 inode 25515 errors 1000, some csum missing
root 263 inode 25579 errors 1000, some csum missing
root 263 inode 25581 errors 1000, some csum missing
root 269 inode 640 errors 1000, some csum missing
root 269 inode 647 errors 1000, some csum missing
parent transid verify failed on 66056192 wanted 383588 found 391395
Ignoring transid failure
btrfsck: cmds-check.c:1320: walk_down_tree: Assertion `!(1)’ failed.
Aborted

Danke
Thomas

Hallo,

Du kannst von einer Live-CD aus booten.

Viele Grüße
Sarah

Hallo,

Danke. das habe ich schon probiert,
bekomme aber das gleich Ergebnis.

Gruß
Thomas

Hi,

the best way that I found was

./btrfs restore /dev/sda /mnt/restore