Gareth Clay
2014-Jul-15 13:35 UTC
Unmountable btrfs filesystem - 'unable to find logical' / 'no mapping'
Hi there, I noticed yesterday that the mount points on my btrfs RAID1 filesystem had become read-only. On a reboot, the filesystem fails to mount. I wondered if someone here might be able offer any advice on how to recover (if possible) from this position? dmesg is showing the following errors [61355.392226] btrfs: bdev /dev/sdd errs: wr 3175131, rd 2633223, flush 0, corrupt 0, gen 0 [61356.205444] BTRFS critical (device sdd): unable to find logical 457140613120 len 4096 [61356.207007] BTRFS critical (device sdd): No mapping for 457140613120-457140617216 [61356.207007] [61356.210005] BTRFS critical (device sdd): unable to find logical 457140613120 len 4096 [61356.211532] BTRFS critical (device sdd): No mapping for 457140613120-457140617216 [61356.211532] [61356.214587] Failed to read block groups: -5 [61356.234306] btrfs: open_ctree failed [61380.234793] btrfs: device label server-mirror devid 3 transid 40496 /dev/sdc [61380.829916] btrfs: allowing degraded mounts [61380.829918] btrfs: disk space caching is enabled btrfsck /dev/sdc: btrfsck: volumes.c:1104: btrfs_num_copies: Assertion '!(ce->start > logical || ce->start + ce->size < logical)' failed. Aborted btrfs fi show: Label: 'server-mirror' uuid: 2fec5bfc-aa24-4e1d-a18d-18da768c5ea5 Total devices 2 FS bytes used 962.99GiB devid 2 size 1.82TiB used 977.03GiB path /dev/sdd devid 3 size 1.82TiB used 977.03GiB path /dev/sdc Btrfs v3.12 uname -a: Linux ubuntu-pc 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux I've attached my dmesg.log gzipped to keep within the mailing list size limits. Thanks for any help you might be able to offer!