Re: Need help with btrfs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris,

Here's the information you requested.

I'm wondering just how this happened. One of the messages refers to "beyond end of device". I'm alarmed.

Regards,

George...

[ 2017.474378] BTRFS info (device sda8): scrub: started on devid 1
[ 2101.646773] BTRFS warning (device sda8): checksum error at logical 1780042522624 on dev /dev/sda8, physical 6250299392, root 256, inode 257, offset 786432, length 4096, links 1 (path: image)
[ 2101.646813] BTRFS warning (device sda8): checksum error at logical 1780042653696 on dev /dev/sda8, physical 6250430464, root 256, inode 257, offset 917504, length 4096, links 1 (path: image)
[ 2101.646824] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042522624 on dev /dev/sda8
[ 2101.646823] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 163, gen 0
[ 2101.646842] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780041998336 on dev /dev/sda8
[ 2101.646846] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 164, gen 0
[ 2101.646858] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042653696 on dev /dev/sda8
[ 2101.646862] BTRFS warning (device sda8): checksum error at logical 1780042129408 on dev /dev/sda8, physical 6249906176, root 256, inode 257, offset 393216, length 4096, links 1 (path: image)
[ 2101.646894] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 165, gen 0
[ 2101.646908] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042129408 on dev /dev/sda8
[ 2101.646931] BTRFS warning (device sda8): checksum error at logical 1780042391552 on dev /dev/sda8, physical 6250168320, root 256, inode 257, offset 655360, length 4096, links 1 (path: image)
[ 2101.646941] BTRFS warning (device sda8): checksum error at logical 1780041736192 on dev /dev/sda8, physical 6249512960, root 256, inode 257, offset 0, length 4096, links 1 (path: image)
[ 2101.646954] BTRFS warning (device sda8): checksum error at logical 1780042260480 on dev /dev/sda8, physical 6250037248, root 256, inode 257, offset 524288, length 4096, links 1 (path: image)
[ 2101.646960] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 166, gen 0
[ 2101.646964] BTRFS warning (device sda8): checksum error at logical 1780041867264 on dev /dev/sda8, physical 6249644032, root 256, inode 257, offset 131072, length 4096, links 1 (path: image)
[ 2101.646969] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780041736192 on dev /dev/sda8
[ 2101.646968] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 167, gen 0
[ 2101.646978] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042391552 on dev /dev/sda8
[ 2101.646986] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 168, gen 0
[ 2101.646995] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 169, gen 0
[ 2101.647000] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042260480 on dev /dev/sda8
[ 2101.647010] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780041867264 on dev /dev/sda8
[ 2101.648001] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 170, gen 0
[ 2101.648017] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042133504 on dev /dev/sda8
[ 2101.648028] BTRFS warning (device sda8): checksum error at logical 1780042526720 on dev /dev/sda8, physical 6250303488, root 256, inode 257, offset 790528, length 4096, links 1 (path: image)
[ 2101.648051] BTRFS warning (device sda8): checksum error at logical 1780042002432 on dev /dev/sda8, physical 6249779200, root 256, inode 257, offset 266240, length 4096, links 1 (path: image)
[ 2101.648067] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 171, gen 0
[ 2101.648081] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 172, gen 0
[ 2101.648089] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042526720 on dev /dev/sda8
[ 6419.353481] perf: interrupt took too long (2519 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
[ 8850.583857] perf: interrupt took too long (3152 > 3148), lowering kernel.perf_event_max_sample_rate to 63000
[12805.242553] perf: interrupt took too long (3954 > 3940), lowering kernel.perf_event_max_sample_rate to 50000
[17077.326338] perf: interrupt took too long (4943 > 4942), lowering kernel.perf_event_max_sample_rate to 40000
[34090.956936] perf: interrupt took too long (6207 > 6178), lowering kernel.perf_event_max_sample_rate to 32000
[36365.549230] BTRFS error (device sda8): scrub: tree block 1777055424512 spanning stripes, ignored. logical=1777055367168
[36365.549262] attempt to access beyond end of device
               sda8: rw=0, want=3470811376, limit=3470811312
[36370.664946] BTRFS info (device sda8): scrub: finished on devid 1 with status: 0
[ 2017.474378] BTRFS info (device sda8): scrub: started on devid 1
[ 2101.646773] BTRFS warning (device sda8): checksum error at logical 1780042522624 on dev /dev/sda8, physical 6250299392, root 256, inode 257, offset 786432, length 4096, links 1 (path: image)
[ 2101.646813] BTRFS warning (device sda8): checksum error at logical 1780042653696 on dev /dev/sda8, physical 6250430464, root 256, inode 257, offset 917504, length 4096, links 1 (path: image)
[ 2101.646824] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042522624 on dev /dev/sda8
[ 2101.646823] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 163, gen 0
[ 2101.646842] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780041998336 on dev /dev/sda8
[ 2101.646846] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 164, gen 0
[ 2101.646858] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042653696 on dev /dev/sda8
[ 2101.646862] BTRFS warning (device sda8): checksum error at logical 1780042129408 on dev /dev/sda8, physical 6249906176, root 256, inode 257, offset 393216, length 4096, links 1 (path: image)
[ 2101.646894] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 165, gen 0
[ 2101.646908] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042129408 on dev /dev/sda8
[ 2101.646931] BTRFS warning (device sda8): checksum error at logical 1780042391552 on dev /dev/sda8, physical 6250168320, root 256, inode 257, offset 655360, length 4096, links 1 (path: image)
[ 2101.646941] BTRFS warning (device sda8): checksum error at logical 1780041736192 on dev /dev/sda8, physical 6249512960, root 256, inode 257, offset 0, length 4096, links 1 (path: image)
[ 2101.646954] BTRFS warning (device sda8): checksum error at logical 1780042260480 on dev /dev/sda8, physical 6250037248, root 256, inode 257, offset 524288, length 4096, links 1 (path: image)
[ 2101.646960] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 166, gen 0
[ 2101.646964] BTRFS warning (device sda8): checksum error at logical 1780041867264 on dev /dev/sda8, physical 6249644032, root 256, inode 257, offset 131072, length 4096, links 1 (path: image)
[ 2101.646969] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780041736192 on dev /dev/sda8
[ 2101.646968] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 167, gen 0
[ 2101.646978] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042391552 on dev /dev/sda8
[ 2101.646986] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 168, gen 0
[ 2101.646995] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 169, gen 0
[ 2101.647000] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042260480 on dev /dev/sda8
[ 2101.647010] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780041867264 on dev /dev/sda8
[ 2101.648001] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 170, gen 0
[ 2101.648017] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042133504 on dev /dev/sda8
[ 2101.648028] BTRFS warning (device sda8): checksum error at logical 1780042526720 on dev /dev/sda8, physical 6250303488, root 256, inode 257, offset 790528, length 4096, links 1 (path: image)
[ 2101.648051] BTRFS warning (device sda8): checksum error at logical 1780042002432 on dev /dev/sda8, physical 6249779200, root 256, inode 257, offset 266240, length 4096, links 1 (path: image)
[ 2101.648067] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 171, gen 0
[ 2101.648081] BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 172, gen 0
[ 2101.648089] BTRFS error (device sda8): unable to fixup (regular) error at logical 1780042526720 on dev /dev/sda8
[ 6419.353481] perf: interrupt took too long (2519 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
[ 8850.583857] perf: interrupt took too long (3152 > 3148), lowering kernel.perf_event_max_sample_rate to 63000
[12805.242553] perf: interrupt took too long (3954 > 3940), lowering kernel.perf_event_max_sample_rate to 50000
[17077.326338] perf: interrupt took too long (4943 > 4942), lowering kernel.perf_event_max_sample_rate to 40000
[34090.956936] perf: interrupt took too long (6207 > 6178), lowering kernel.perf_event_max_sample_rate to 32000
[36365.549230] BTRFS error (device sda8): scrub: tree block 1777055424512 spanning stripes, ignored. logical=1777055367168
[36365.549262] attempt to access beyond end of device
               sda8: rw=0, want=3470811376, limit=3470811312
[36370.664946] BTRFS info (device sda8): scrub: finished on devid 1 with status: 0





On Monday, February 22, 2021, 1:58:18 PM PST, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote: 





On Mon, Feb 22, 2021 at 1:39 AM George R Goffe <grgoffe@xxxxxxxxx> wrote:

> Feb 21 18:55:38 fc35 kernel: BTRFS warning (device sda8): csum failed root 256 ino 257 off 0 csum 0xe05b8b2e expected csum 0xc90f1f63 mirror 1
> Feb 21 18:55:38 fc35 kernel: BTRFS error (device sda8): bdev /dev/sda8 errs: wr 0, rd 0, flush 0, corrupt 150, gen 0
> Feb 21 18:55:38 fc35 kernel: blk_update_request: I/O error, dev loop0, sector 2 op 0x0:(READ) flags 0x1000 phys_seg 1 prio class 0
> Feb 21 18:55:38 fc35 kernel: EXT4-fs (loop0): unable to read superblock

Btrfs says the block doesn't match up with the checksum (which is
itself checksummed and yet we don't have an error for that which means
we can consider this error reasonably reliable). Upon checksum
mismatches, Btrfs will issue an I/O error for that block. It doesn't
turn over corrupt data. That results in the 3rd line, which in turn
results in the 4th line because the ext4 super block is offset one
sector, i.e. sector 2.

All the errors you reported are related to the same basic problem
which is that btrfs thinks this block is bad. This is not the end of
the story though because there's a bunch of backup supers on ext4.

[snip all other error messages, since they're the same issue]

We should find out if there's more widespread corruption. The basic
command to scrub that particular Btrfs file system is:

sudo btrfs scrub start /mnt

The command scrubs the whole file system, verifying all metadata and
data with their checksums. If this were a default Fedora installation
where / and /home/ are on the same Btrfs file system, you can scrub
either / or /home/, but there's no point in doing both.

The results will be dumped into kernel messages. Note that these
messages, when it finds corrupt files, will include the entire path to
file, including filenames. This might be a privacy concern so before
posting, check the filenames.

A normal scrub without errors has kernel messages:

[20520.216852] BTRFS info (device sda5): scrub: started on devid 1
[20520.965950] BTRFS info (device sda5): scrub: finished on devid 1
with status: 0

All errors will be between these two messages. Yours will have at
least one error for the "/mnt/ext2_saved/image" that we already know
about. What I want to know is if there's more problems before moving

on.


-- 
Chris Murphy
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux