find file based on sector or inode (btrfs csum errors)


drawde

Recommended Posts

Sep 3 14:12:14 Tower kernel: BTRFS warning (device sdj1): checksum error at logical 11432484864 on dev /dev/sdj1, sector 22329072, root 5, inode 612, offset 117137408: path resolving failed with ret=-2 
Sep 3 14:12:14 Tower kernel: BTRFS error (device sdj1): bdev /dev/sdj1 errs: wr 0, rd 0, flush 0, corrupt 35, gen 0 
scrub status for 59954780-c280-4c81-8ca1-241073d3894e
	scrub started at Mon Sep  3 14:11:08 2018 and finished after 00:13:40
	total bytes scrubbed: 100.46GiB with 1 errors
	error details: csum=1
	corrected errors: 0, uncorrectable errors: 0, unverified errors: 0

 

anyone know how to identify these files/folders? usually for these csum errors i'd just delete the files in question but as you can see from the output it doesn't tell me which files are causing the errors.

Edited by drawde
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.