Re: Logical/i-nodes lookups give path resolving failed with ret=-2

2013-04-26 Thread Sander
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
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Logical/i-nodes lookups give path resolving failed with ret=-2

2013-04-24 Thread Adrien Dessemond
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
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html