Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Logical/i-nodes lookups give "path resolving failed with ret=-2"
@ 2013-04-24 12:04 Adrien Dessemond
  2013-04-26  7:32 ` Sander
  0 siblings, 1 reply; 2+ messages in thread
From: Adrien Dessemond @ 2013-04-24 12:04 UTC (permalink / raw)
  To: linux-btrfs

Hi,


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!!

Adrien

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Logical/i-nodes lookups give "path resolving failed with ret=-2"
  2013-04-24 12:04 Logical/i-nodes lookups give "path resolving failed with ret=-2" Adrien Dessemond
@ 2013-04-26  7:32 ` Sander
  0 siblings, 0 replies; 2+ messages in thread
From: Sander @ 2013-04-26  7:32 UTC (permalink / raw)
  To: Adrien Dessemond; +Cc: linux-btrfs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-26  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox