linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gareth Clay <gareth.clay@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Unmountable btrfs filesystem - 'unable to find logical' / 'no mapping'
Date: Tue, 15 Jul 2014 14:35:22 +0100	[thread overview]
Message-ID: <CABibBbuGtAC7Rpptdd_wF7m87MSqg8zUEHvWSFsfk3KH+w2Jmg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1672 bytes --]

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!

[-- Attachment #2: dmesg.log.gz --]
[-- Type: application/x-gzip, Size: 26498 bytes --]

             reply	other threads:[~2014-07-15 13:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-15 13:35 Gareth Clay [this message]
2014-07-16  8:00 ` Unmountable btrfs filesystem - 'unable to find logical' / 'no mapping' Duncan
2014-07-17 23:09   ` Gareth Clay
2014-07-18 10:01     ` Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABibBbuGtAC7Rpptdd_wF7m87MSqg8zUEHvWSFsfk3KH+w2Jmg@mail.gmail.com \
    --to=gareth.clay@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).