From: Sander <sander@humilis.net>
To: Adrien Dessemond <adessemond@funtoo.org>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Logical/i-nodes lookups give "path resolving failed with ret=-2"
Date: Fri, 26 Apr 2013 09:32:20 +0200 [thread overview]
Message-ID: <20130426073220.GA15882@panda> (raw)
In-Reply-To: <CAD2cAXzECvNBNC_3gqLExiE4tnZ33VzDdP7v6O_mS0cOqNz8bg@mail.gmail.com>
Adrien Dessemond wrote (ao):
> I scrubbed a BTRFS volume (mounted as a VFS root) and got several
> errors. However I am not able to make btrfs print the path of the
> corrupted files...
>
> E.g. kernel log gives :
>
>
> [51078.682876] btrfs: unable to fixup (regular) error at logical
> 51241746432 on dev /dev/root
> [51078.683013] btrfs: checksum error at logical 51242385408 on dev
> /dev/root, sector 102196320, root 684, inode 60676040, offset
> 352583680: path resolving failed with ret=-2
> [51078.683016] btrfs: bdev /dev/root errs: wr 0, rd 0, flush 0,
> corrupt 35782, gen 0
>
> Manual lookup :
>
> # btrfs inspect-internal logical-resolve -v 51241746432 /
> ioctl ret=0, bytes_left=4080, bytes_missing=0, cnt=0, missed=0
> # ./btrfs inspect-internal inode-resolve 60676040 /
> ioctl ret=-1, error: No such file or directory
>
> Kernel is Linux 3.9-rc8, latest btrfs-progs from Chris Mason's Git repository.
>
> I am sure I am missing something but I am unable to figure out
> what.... Any idea? Thanks!!
Maybe: find / -xdev -inum 60676040
prev parent reply other threads:[~2013-04-26 7:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 12:04 Logical/i-nodes lookups give "path resolving failed with ret=-2" Adrien Dessemond
2013-04-26 7:32 ` Sander [this message]
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=20130426073220.GA15882@panda \
--to=sander@humilis.net \
--cc=adessemond@funtoo.org \
--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