Untitled
pirespro
plain_text
a month ago
18 kB
1
Indexable
Never
any insights from this message? I got an alert from netdata of possible btrfs corruption error root@Matrix:~# dmesg | grep -i btrfs [ 4.328998] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no [ 23.509697] BTRFS: device fsid cd6da39f-77eb-4614-ac42-8b9b51601a5f devid 2 transid 61723 /dev/nvme1n1p1 scanned by udevd (1089) [ 23.784982] BTRFS: device fsid cd6da39f-77eb-4614-ac42-8b9b51601a5f devid 1 transid 61723 /dev/nvme0n1p1 scanned by udevd (1046) [ 32.577558] BTRFS: device fsid b2954e6d-100b-437f-a388-dd8916d1c16c devid 1 transid 787 /dev/sdb1 scanned by udevd (1237) [ 100.662017] BTRFS info (device md1p1): first mount of filesystem b2954e6d-100b-437f-a388-dd8916d1c16c [ 100.662037] BTRFS info (device md1p1): using crc32c (crc32c-intel) checksum algorithm [ 100.662047] BTRFS info (device md1p1): using free space tree [ 101.158066] BTRFS info (device md1p1: state M): use zstd compression, level 3 [ 101.162023] BTRFS info (device md1p1): resizing devid 1 [ 101.174136] BTRFS info (device nvme0n1p1): first mount of filesystem cd6da39f-77eb-4614-ac42-8b9b51601a5f [ 101.174156] BTRFS info (device nvme0n1p1): using crc32c (crc32c-intel) checksum algorithm [ 101.174165] BTRFS info (device nvme0n1p1): using free space tree [ 101.209306] BTRFS info (device nvme0n1p1): enabling ssd optimizations [ 101.214005] BTRFS info (device nvme0n1p1: state M): turning on async discard [ 105.711188] BTRFS: device fsid 06f69cd9-e18a-46a2-9664-127b2751476d devid 1 transid 63305 /dev/loop2 scanned by mount (16797) [ 105.711715] BTRFS info (device loop2): first mount of filesystem 06f69cd9-e18a-46a2-9664-127b2751476d [ 105.711729] BTRFS info (device loop2): using crc32c (crc32c-intel) checksum algorithm [ 105.711735] BTRFS info (device loop2): using free space tree [ 105.793011] BTRFS info (device loop2): enabling ssd optimizations [ 114.738195] BTRFS: device fsid f69382cb-a60b-41de-8272-1a2b93705b43 devid 1 transid 62 /dev/loop3 scanned by mount (19889) [ 114.740311] BTRFS info (device loop3): first mount of filesystem f69382cb-a60b-41de-8272-1a2b93705b43 [ 114.740325] BTRFS info (device loop3): using crc32c (crc32c-intel) checksum algorithm [ 114.740331] BTRFS info (device loop3): using free space tree [ 114.744985] BTRFS info (device loop3): enabling ssd optimizations [266820.426056] BTRFS info (device nvme0n1p1): scrub: started on devid 1 [266820.426436] BTRFS info (device nvme0n1p1): scrub: started on devid 2 [266820.426906] BTRFS info (device md1p1): scrub: started on devid 1 [266820.456263] BTRFS info (device nvme0n1p1): balance: start -dusage=50 [266820.467931] BTRFS info (device nvme0n1p1): relocating block group 389798690816 flags data|raid1 [266820.539154] BTRFS info (device md1p1): balance: start -dusage=50 [266820.601650] BTRFS info (device md1p1): relocating block group 242830278656 flags data [266822.032399] BTRFS info (device nvme0n1p1): found 1697 extents, stage: move data extents [266823.009741] BTRFS info (device md1p1): found 795 extents, stage: move data extents [266824.076995] BTRFS info (device md1p1): found 795 extents, stage: update data pointers [266824.265681] BTRFS info (device nvme0n1p1): found 1697 extents, stage: update data pointers [266824.721559] BTRFS info (device md1p1): balance: ended with status: 0 [266825.004338] BTRFS warning (device nvme0n1p1): tree block 60096512 mirror 2 has bad bytenr, has 0 want 60096512 [266825.006591] BTRFS warning (device nvme0n1p1): tree block 60096512 mirror 1 has bad bytenr, has 0 want 60096512 [266825.006632] BTRFS error (device nvme0n1p1): bdev /dev/nvme1n1p1 errs: wr 0, rd 0, flush 0, corrupt 1, gen 0 [266825.006775] BTRFS info (device nvme0n1p1): relocating block group 388724948992 flags data|raid1 [266825.264910] BTRFS info (device nvme0n1p1): found 212 extents, stage: move data extents [266825.853868] BTRFS info (device nvme0n1p1): found 212 extents, stage: update data pointers [266826.246110] BTRFS info (device nvme0n1p1): balance: ended with status: 0 [267151.228862] BTRFS info (device nvme0n1p1): scrub: finished on devid 1 with status: 0 [267263.167072] BTRFS info (device nvme0n1p1): scrub: finished on devid 2 with status: 0 [269289.727248] BTRFS info (device md1p1): scrub: finished on devid 1 with status: 0 [563548.205064] BTRFS info (device loop2): scrub: started on devid 1 [563740.259708] BTRFS info (device loop2): scrub: finished on devid 1 with status: 0 [564254.046515] BTRFS info (device nvme0n1p1): scrub: started on devid 1 [564254.047080] BTRFS info (device nvme0n1p1): scrub: started on devid 2 [564485.428024] BTRFS info (device nvme0n1p1): scrub: finished on devid 1 with status: 0 [564602.883470] BTRFS info (device nvme0n1p1): scrub: finished on devid 2 with status: 0 [585586.638030] BTRFS info (device nvme0n1p1): scrub: started on devid 1 [585586.638362] BTRFS info (device nvme0n1p1): scrub: started on devid 2 [585612.352321] BTRFS info (device md1p1): scrub: started on devid 1 [585900.289523] BTRFS info (device nvme0n1p1): scrub: finished on devid 1 with status: 0 [585969.142478] BTRFS info (device nvme0n1p1): scrub: finished on devid 2 with status: 0 [587093.220003] BTRFS info (device md1p1): scrub: finished on devid 1 with status: 0 [871603.155876] BTRFS info (device nvme0n1p1): balance: start -dusage=50 [871603.156436] BTRFS info (device nvme0n1p1): relocating block group 1134103101440 flags data|raid1 [871603.248578] BTRFS info (device md1p1): balance: start -dusage=50 [871603.248581] BTRFS info (device md1p1): scrub: started on devid 1 [871603.249099] BTRFS info (device md1p1): balance: ended with status: 0 [871605.790309] BTRFS info (device nvme0n1p1): found 29 extents, stage: move data extents [871606.190180] BTRFS info (device nvme0n1p1): found 29 extents, stage: update data pointers [871606.279445] BTRFS info (device nvme0n1p1): scrub: started on devid 1 [871606.279445] BTRFS info (device nvme0n1p1): scrub: started on devid 2 [871606.280749] BTRFS info (device nvme0n1p1): balance: ended with status: 0 [871927.944692] BTRFS info (device nvme0n1p1): scrub: finished on devid 1 with status: 0 [872073.974472] BTRFS info (device nvme0n1p1): scrub: finished on devid 2 with status: 0 [875098.065128] BTRFS info (device md1p1): scrub: finished on devid 1 with status: 0 [1266693.342753] BTRFS info (device md1p1): scrub: started on devid 1 [1266707.319337] BTRFS info (device nvme0n1p1): scrub: started on devid 1 [1266707.321528] BTRFS info (device nvme0n1p1): scrub: started on devid 2 [1266711.608534] BTRFS info (device loop2): scrub: started on devid 1 [1266715.428560] BTRFS info (device loop3): scrub: started on devid 1 [1266715.808972] BTRFS info (device loop3): scrub: finished on devid 1 with status: 0 [1266731.190311] BTRFS info (device loop3): scrub: started on devid 1 [1266731.194894] BTRFS info (device loop3): scrub: finished on devid 1 with status: 0 [1267073.503026] BTRFS info (device nvme0n1p1): scrub: finished on devid 1 with status: 0 [1267140.411069] BTRFS info (device loop2): scrub: finished on devid 1 with status: 0 [1267220.829981] BTRFS info (device nvme0n1p1): scrub: finished on devid 2 with status: 0 [1268634.417212] BTRFS info (device md1p1): scrub: finished on devid 1 with status: 0 [1476387.336769] BTRFS info (device nvme0n1p1): scrub: started on devid 1 [1476387.337020] BTRFS info (device nvme0n1p1): scrub: started on devid 2 [1476387.337042] BTRFS info (device md1p1): scrub: started on devid 1 [1476387.375620] BTRFS info (device nvme0n1p1): balance: start -dusage=50 [1476387.383374] BTRFS info (device nvme0n1p1): relocating block group 1177086328832 flags data|raid1 [1476387.593694] BTRFS info (device md1p1): balance: start -dusage=50 [1476387.596770] BTRFS info (device md1p1): balance: ended with status: 0 [1476389.766460] BTRFS info (device nvme0n1p1): found 7 extents, stage: move data extents [1476390.108092] BTRFS info (device nvme0n1p1): found 7 extents, stage: update data pointers [1476390.267811] BTRFS warning (device nvme0n1p1): tree block 52428800 mirror 2 has bad bytenr, has 0 want 52428800 [1476390.268659] BTRFS info (device nvme0n1p1): balance: ended with status: 0 [1476390.294502] BTRFS warning (device nvme0n1p1): tree block 52428800 mirror 1 has bad bytenr, has 0 want 52428800 [1476390.294530] BTRFS error (device nvme0n1p1): bdev /dev/nvme1n1p1 errs: wr 0, rd 0, flush 0, corrupt 2, gen 0 [1476768.249156] BTRFS info (device nvme0n1p1): scrub: finished on devid 1 with status: 0 [1476989.163530] BTRFS info (device nvme0n1p1): scrub: finished on devid 2 with status: 0 [1480918.103344] BTRFS info (device md1p1): scrub: finished on devid 1 with status: 0 [2081170.575604] BTRFS info (device nvme0n1p1): scrub: started on devid 1 [2081170.575875] BTRFS info (device nvme0n1p1): scrub: started on devid 2 [2081170.576064] BTRFS info (device md1p1): scrub: started on devid 1 [2081170.608243] BTRFS info (device nvme0n1p1): balance: start -dusage=50 [2081170.619555] BTRFS info (device nvme0n1p1): relocating block group 1143766777856 flags data|raid1 [2081170.686012] BTRFS info (device md1p1): balance: start -dusage=50 [2081170.776793] BTRFS info (device md1p1): relocating block group 503850205184 flags data [2081171.267513] BTRFS info (device nvme0n1p1): found 22 extents, stage: move data extents [2081171.642242] BTRFS info (device nvme0n1p1): found 22 extents, stage: update data pointers [2081171.828464] BTRFS info (device nvme0n1p1): relocating block group 1099709808640 flags data|raid1 [2081174.941926] BTRFS info (device md1p1): found 66 extents, stage: move data extents [2081175.310807] BTRFS info (device md1p1): found 66 extents, stage: update data pointers [2081175.576006] BTRFS info (device md1p1): balance: ended with status: 0 [2081176.117919] BTRFS info (device nvme0n1p1): found 2573 extents, stage: move data extents [2081177.575475] BTRFS info (device nvme0n1p1): found 2573 extents, stage: update data pointers [2081178.272756] BTRFS info (device nvme0n1p1): relocating block group 1094341099520 flags data|raid1 [2081182.687158] BTRFS info (device nvme0n1p1): found 124 extents, stage: move data extents [2081184.198144] BTRFS info (device nvme0n1p1): found 124 extents, stage: update data pointers [2081184.790608] BTRFS info (device nvme0n1p1): relocating block group 1093267357696 flags data|raid1 [2081185.344147] BTRFS info (device nvme0n1p1): found 287 extents, stage: move data extents [2081186.128093] BTRFS info (device nvme0n1p1): found 287 extents, stage: update data pointers [2081186.395633] BTRFS info (device nvme0n1p1): relocating block group 1092193615872 flags data|raid1 [2081186.494086] BTRFS info (device nvme0n1p1): found 14 extents, stage: move data extents [2081186.604388] BTRFS info (device nvme0n1p1): found 14 extents, stage: update data pointers [2081186.656770] BTRFS info (device nvme0n1p1): relocating block group 1091119874048 flags data|raid1 [2081186.683682] BTRFS info (device nvme0n1p1): found 13 extents, stage: move data extents [2081186.739125] BTRFS info (device nvme0n1p1): found 13 extents, stage: update data pointers [2081186.825339] BTRFS info (device nvme0n1p1): relocating block group 1090046132224 flags data|raid1 [2081186.856956] BTRFS info (device nvme0n1p1): found 1 extents, stage: move data extents [2081186.942180] BTRFS info (device nvme0n1p1): found 1 extents, stage: update data pointers [2081187.019505] BTRFS info (device nvme0n1p1): relocating block group 1088972390400 flags data|raid1 [2081187.059634] BTRFS info (device nvme0n1p1): found 22 extents, stage: move data extents [2081187.226030] BTRFS info (device nvme0n1p1): found 22 extents, stage: update data pointers [2081187.390725] BTRFS info (device nvme0n1p1): relocating block group 1087898648576 flags data|raid1 [2081187.437055] BTRFS info (device nvme0n1p1): found 29 extents, stage: move data extents [2081187.556948] BTRFS info (device nvme0n1p1): found 29 extents, stage: update data pointers [2081187.647473] BTRFS info (device nvme0n1p1): relocating block group 1086824906752 flags data|raid1 [2081187.694958] BTRFS info (device nvme0n1p1): found 34 extents, stage: move data extents [2081187.786404] BTRFS info (device nvme0n1p1): found 34 extents, stage: update data pointers [2081187.860973] BTRFS info (device nvme0n1p1): relocating block group 1083603681280 flags data|raid1 [2081187.887423] BTRFS info (device nvme0n1p1): found 1 extents, stage: move data extents [2081187.979999] BTRFS info (device nvme0n1p1): found 1 extents, stage: update data pointers [2081188.048392] BTRFS info (device nvme0n1p1): relocating block group 1067463999488 flags data|raid1 [2081189.807052] BTRFS info (device nvme0n1p1): found 45 extents, stage: move data extents [2081190.369052] BTRFS info (device nvme0n1p1): found 45 extents, stage: update data pointers [2081190.661852] BTRFS info (device nvme0n1p1): relocating block group 1066390257664 flags data|raid1 [2081190.696707] BTRFS info (device nvme0n1p1): found 2 extents, stage: move data extents [2081190.837457] BTRFS info (device nvme0n1p1): found 2 extents, stage: update data pointers [2081190.932007] BTRFS info (device nvme0n1p1): relocating block group 1065316515840 flags data|raid1 [2081190.957262] BTRFS info (device nvme0n1p1): found 1 extents, stage: move data extents [2081191.030552] BTRFS info (device nvme0n1p1): found 1 extents, stage: update data pointers [2081191.101739] BTRFS info (device nvme0n1p1): relocating block group 1064242774016 flags data|raid1 [2081191.278431] BTRFS info (device nvme0n1p1): found 68 extents, stage: move data extents [2081191.925002] BTRFS info (device nvme0n1p1): found 68 extents, stage: update data pointers [2081192.451040] BTRFS info (device nvme0n1p1): relocating block group 1063169032192 flags data|raid1 [2081192.627473] BTRFS info (device nvme0n1p1): found 9 extents, stage: move data extents [2081192.858988] BTRFS info (device nvme0n1p1): found 9 extents, stage: update data pointers [2081193.018900] BTRFS info (device nvme0n1p1): relocating block group 1001932193792 flags data|raid1 [2081193.318595] BTRFS info (device nvme0n1p1): found 403 extents, stage: move data extents [2081194.572925] BTRFS info (device nvme0n1p1): found 403 extents, stage: update data pointers [2081195.312137] BTRFS info (device nvme0n1p1): relocating block group 1000858451968 flags data|raid1 [2081196.880608] BTRFS info (device nvme0n1p1): found 437 extents, stage: move data extents [2081198.277503] BTRFS info (device nvme0n1p1): found 437 extents, stage: update data pointers [2081199.183535] BTRFS info (device nvme0n1p1): relocating block group 999784710144 flags data|raid1 [2081199.304484] BTRFS info (device nvme0n1p1): found 95 extents, stage: move data extents [2081199.704773] BTRFS info (device nvme0n1p1): found 95 extents, stage: update data pointers [2081200.031412] BTRFS info (device nvme0n1p1): relocating block group 998710968320 flags data|raid1 [2081200.073232] BTRFS info (device nvme0n1p1): found 4 extents, stage: move data extents [2081200.152655] BTRFS info (device nvme0n1p1): found 4 extents, stage: update data pointers [2081200.225252] BTRFS info (device nvme0n1p1): relocating block group 997637226496 flags data|raid1 [2081200.298549] BTRFS info (device nvme0n1p1): found 69 extents, stage: move data extents [2081200.677036] BTRFS info (device nvme0n1p1): found 69 extents, stage: update data pointers [2081200.971434] BTRFS info (device nvme0n1p1): relocating block group 994416001024 flags data|raid1 [2081201.019871] BTRFS info (device nvme0n1p1): found 42 extents, stage: move data extents [2081201.167498] BTRFS info (device nvme0n1p1): found 42 extents, stage: update data pointers [2081201.268894] BTRFS info (device nvme0n1p1): relocating block group 992268517376 flags data|raid1 [2081201.305011] BTRFS info (device nvme0n1p1): found 1 extents, stage: move data extents [2081201.375367] BTRFS info (device nvme0n1p1): found 1 extents, stage: update data pointers [2081201.443160] BTRFS info (device nvme0n1p1): relocating block group 989047291904 flags data|raid1 [2081202.606206] BTRFS info (device nvme0n1p1): found 12 extents, stage: move data extents [2081202.757588] BTRFS info (device nvme0n1p1): found 12 extents, stage: update data pointers [2081202.889954] BTRFS info (device nvme0n1p1): relocating block group 782855307264 flags data|raid1 [2081207.301460] BTRFS info (device nvme0n1p1): found 916 extents, stage: move data extents [2081209.171262] BTRFS info (device nvme0n1p1): found 913 extents, stage: update data pointers [2081210.598103] BTRFS info (device nvme0n1p1): balance: ended with status: 0 [2081565.688490] BTRFS info (device nvme0n1p1): scrub: finished on devid 1 with status: 0 [2081889.866435] BTRFS info (device nvme0n1p1): scrub: finished on devid 2 with status: 0 [2086060.234572] BTRFS info (device md1p1): scrub: finished on devid 1 with status: 0 The log messages from dmesg indicate that your Btrfs filesystem on /dev/nvme0n1p1 is encountering issues with data corruption. Specifically, the warnings and errors related to "tree block ... mirror ... has bad bytenr" and "bdev /dev/nvme1n1p1 errs: wr 0, rd 0, flush 0, corrupt ..." are signs of potential data corruption or problems with the underlying storage device. Here are some key points from the log: Corruption Warnings: The errors such as "tree block ... mirror ... has bad bytenr, has 0 want ..." suggest that Btrfs is detecting inconsistencies in the block tree, which is a critical part of the filesystem structure. The error messages indicate that Btrfs tried to access a block and found that its location (bytenr) was not what it expected, which could be due to data corruption. Device Errors: The device /dev/nvme1n1p1 has logged a "corrupt" error, indicating that Btrfs detected data corruption during operation. Scrubbing and Balancing: Scrubbing operations have been run multiple times, and the logs show that they completed with a "status: 0," which typically means no uncorrectable errors were found during the scrub. However, the presence of corruption errors indicates that some data might be at risk.
Leave a Comment