Jump to content

BTRFS ERROR, CACHE possiblly corrupted


Go to solution Solved by JorgeB,

Recommended Posts

Hey guys,

 

I'm getting errors on my unRAID server:

Feb 25 18:26:03 SwagServer kernel: BTRFS warning (device sdd1): csum failed root 5 ino 11057991 off 73400320 csum 0x491c2044 expected csum 0xf2770f0e mirror 1
Feb 25 18:26:03 SwagServer kernel: BTRFS error (device sdd1): bdev /dev/sdc1 errs: wr 3341754, rd 454753, flush 228253, corrupt 5, gen 0
Feb 25 18:26:03 SwagServer kernel: BTRFS warning (device sdd1): csum failed root 5 ino 11057991 off 73404416 csum 0x1b593b06 expected csum 0x8941f998 mirror 1
Feb 25 18:26:03 SwagServer kernel: BTRFS error (device sdd1): bdev /dev/sdc1 errs: wr 3341754, rd 454753, flush 228253, corrupt 6, gen 0
Feb 25 18:26:03 SwagServer kernel: BTRFS warning (device sdd1): csum failed root 5 ino 11057991 off 73408512 csum 0x722766e4 expected csum 0x8941f998 mirror 1
Feb 25 18:26:03 SwagServer kernel: BTRFS error (device sdd1): bdev /dev/sdc1 errs: wr 3341754, rd 454753, flush 228253, corrupt 7, gen 0
Feb 25 18:26:03 SwagServer kernel: BTRFS warning (device sdd1): csum failed root 5 ino 11057991 off 73412608 csum 0x09d94116 expected csum 0x8941f998 mirror 1
Feb 25 18:26:03 SwagServer kernel: BTRFS error (device sdd1): bdev /dev/sdc1 errs: wr 3341754, rd 454753, flush 228253, corrupt 8, gen 0
Feb 25 18:26:03 SwagServer kernel: BTRFS error (device sdd1): parent transid verify failed on 4369711218688 wanted 794631 found 791060
Feb 25 18:26:03 SwagServer kernel: BTRFS error (device sdd1): parent transid verify failed on 4368831709184 wanted 794326 found 791150
Feb 25 18:26:03 SwagServer kernel: BTRFS warning (device sdd1): csum failed root 5 ino 11057991 off 73629696 csum 0xb4e5e826 expected csum 0xd2b663e6 mirror 1
Feb 25 18:26:03 SwagServer kernel: BTRFS error (device sdd1): bdev /dev/sdc1 errs: wr 3341754, rd 454753, flush 228253, corrupt 9, gen 0

 

I've been trying to solve this on my own. I tried to see which file is at 11057991 and I've found that it's the docker.img file. I have tried to delete this file from the GUI, by following the guide, but I'm still getting the error and the file is not deleting.

 

I then tried to delete it manually from command line but I get another error that says the cache is a read-only filesystem.

 

I have also tried to restart the server and when I did I saw this error (see screenshot.)

 

My sever has been down for over a week so any help would be greatly appreciated. I'm attaching diagnostics as well.

 

20220225_181158.jpg

swagserver-diagnostics-20220225-1844.zip

Link to comment
  • Solution
Feb 25 18:21:38 SwagServer kernel: BTRFS info (device sdd1): bdev /dev/sdd1 errs: wr 0, rd 0, flush 0, corrupt 67623, gen 0
Feb 25 18:21:38 SwagServer kernel: BTRFS info (device sdd1): bdev /dev/sdc1 errs: wr 3341754, rd 454753, flush 228253, corrupt 0, gen 0
Feb 25 18:21:38 SwagServer kernel: BTRFS info (device sdd1): bdev /dev/sdb1 errs: wr 284514652, rd 245960197, flush 2035012, corrupt 37140664, gen 57

 

All pool devices show errors, read/write errors suggest two of them dropped offline in the past, suggest you backup and re-format the pool, then check here for better pool monitoring.

Link to comment

Thanks for your response. I was able to follow your guide for mounting the cache to a different mount point and copied over the data from each drive (although I think all the drives had the same data since they where in a pool.)

 

But I'm having a bit of trouble finding how to format the drives. Could you point me in the direction where I can find that?

Link to comment
7 hours ago, Swagnoor19 said:

If I set the balance to raid 1, shouldn't the capacity bee like 1000GB?

How would you have two copies of the data (RAID1) on a 1512GB total capacity and be able to use 1000GB ?

 

756GB is in line with BTRFS RAID1 : https://carfax.org.uk/btrfs-usage/?c=2&slo=1&shi=1&p=0&dg=1&d=500&d=500&d=512

Also, consider that the free space displayed is not very reliable on an odd number of drives. (available space is good though)

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.

×
×
  • Create New...