meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:fs:btrfs:btrfs_check [2022/12/13 08:54] niziaklinux:fs:btrfs:btrfs_check [2023/03/13 10:44] (current) niziak
Line 1: Line 1:
 ====== btrfs check ====== ====== btrfs check ======
 +
 +====== checksum error at logical ======
 +
 +<code>
 +BTRFS warning (device sdb4): checksum error at logical 271624814592 on dev /dev/sdb4, physical 270551072768, root 677114, inode 739, offset 14508666880, length 4096, links 1 (path: Windows_10/Snapshots/{8b68a2dd-457e-496f-96df-cf24806dfe2d}.vdi)
 +</code>
 +
 +Reading of mentioned file returns IO error when hit 70% of progress.
 +
 +Corruption detected by periodic scrub. File was not touched for long time, so probably bitrot occurs.
 +This is single SSD data, so there is no mirror of data. There is a backup of data.
 +
 +Possible solution:
 +  * delete file to remove invalid entry from cksum tree and restore from backup
 +  * try playing with mounting with ''ro,rescue=ignoredatacsums'' and copy bad file to another place and delete from source
 +
 +
 +
 ======  corrupt leaf invalid data ref offset ====== ======  corrupt leaf invalid data ref offset ======
 <code> <code>