BTRFS Warning


dpikelny

Recommended Posts

Hi.

 

Having a bit of trouble running mover.

Unraid version is 6.7.2 (and pre-apologize if this is a noob question).

 

I have about 1.5GB on my cached SSD disk that I'm trying to move on my spinning disk array.

However, when I run mover, I get this - 

Nov 14 10:39:14 DavesTower kernel: BTRFS warning (device sdb1): csum failed root 5 ino 266 off 290033664 csum 0x48136f86 expected csum 0x4c019db8 mirror 1
Nov 14 10:39:14 DavesTower kernel: BTRFS warning (device sdb1): csum failed root 5 ino 266 off 290033664 csum 0x48136f86 expected csum 0x4c019db8 mirror 1
Nov 14 10:39:14 DavesTower kernel: BTRFS warning (device sdb1): csum failed root 5 ino 266 off 290033664 csum 0x48136f86 expected csum 0x4c019db8 mirror 1
Nov 14 10:39:14 DavesTower kernel: BTRFS warning (device sdb1): csum failed root 5 ino 266 off 290033664 csum 0x48136f86 expected csum 0x4c019db8 mirror 1

 

Next - I put the array offline.

And run this in the shell

btrfs check --check-data-csum -p /dev/sdb1

 

Opening filesystem to check...
Checking filesystem on /dev/sdb1
UUID: 26c49477-6bb5-4e95-992a-15fc5f798a42
[1/7] checking root items                      (0:00:00 elapsed, 124 items checked)
[2/7] checking extents                         (0:00:00 elapsed, 107 items checked)
[3/7] checking free space cache                (0:00:00 elapsed, 7 items checked)
[4/7] checking fs roots                        (0:00:00 elapsed, 2 items checked)
[5/7] checking csums against data              (0:00:03 elapsed, 190 items checked)
[6/7] checking root refs                       (0:00:00 elapsed, 3 items checked)
[7/7] checking quota groups skipped (not enabled on this FS)
found 1494335488 bytes used, no error found
total csum bytes: 1456960
total tree bytes: 1622016
total fs tree bytes: 32768
total extent tree bytes: 16384
btree space waste bytes: 126269
file data blocks allocated: 1492713472
 referenced 1492713472

 

No errors.

I'm like cool - I start the array - and run mover - and I get the same csum errors.

 

I've also tried running btrfs without the 'check' switch - but nothing.

 

Any ideas or next steps?

 

Thanks in advance!

 

Link to comment

Just to close the loop - looks like it's just 1 of my 2 ram chips are bad (thank goodness it wasn't a slot issue).

Doing mover again (with the 1 good ram chip) - and it's now rebalancing a ton of stuff from spinning disks to SSD and then, I guess, presumably back to equal distribution among spinning disks.

 

So far - all without BTRFS errors.

 

Thanks again for your help!

 

Link to comment

Yes, though for completion let me add that if the RAM was already bad when the data was originally written to cache it could still be corrupt, since in that case it could be corrupted in RAM and btrfs would store an already corrupted checksum, to avoid that you'd need ECC RAM, without ECC btrfs can still detect if data is being corrupted on read.

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.