Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BTRS errors - sometimes coming back - help wanted

Featured Replies

Hello,

 

I’ve been seeing some BTRFS errors for a while now. Last week I changed all my cables but today I was alerted of another one. Is there something else that could be the cause here? I attached my diagnostic file. Really looking forward for some tips here… I read around the forum but I cannot see any reason why my system should be giving these errors (except bitrot?). I do use SATA controller: ASMedia Technology Inc. ASM1064 Serial ATA Controller but this should work according to the recommended sata controller guide I found on this forum. 

 

Thanks in advance! 

 

 

Quote
Mar  9 01:15:47 HomeLabServer kernel: BTRFS warning (device md5p1): checksum error at logical 1172517629952 on dev /dev/md5p1, physical 1005022294016, root 5, inode 195919, offset 22123798528, length 4096, links 1 (path: data/media/tv/tv/[Bluray-2160p Remux][DV HDR10][DTS-HD MA 5.1][HEVC]-FraMeSToR.mkv)
Mar  9 01:15:47 HomeLabServer kernel: BTRFS error (device md5p1): bdev /dev/md5p1 errs: wr 0, rd 0, flush 0, corrupt 1, gen 0
Mar  9 01:15:47 HomeLabServer kernel: BTRFS warning (device md5p1): checksum error at logical 1172517634048 on dev /dev/md5p1, physical 1005022298112, root 5, inode 195919, offset 22123802624, length 4096, links 1 (path: data/media/tv/tv/ [Bluray-2160p Remux][DV HDR10][DTS-HD MA 5.1][HEVC]-FraMeSToR.mkv)
Mar  9 01:15:47 HomeLabServer kernel: BTRFS error (device md5p1): bdev /dev/md5p1 errs: wr 0, rd 0, flush 0, corrupt 2, gen 0
Mar  9 01:15:47 HomeLabServer kernel: BTRFS warning (device md5p1): checksum error at logical 1172517638144 on dev /dev/md5p1, physical 1005022302208, root 5, inode 195919, offset 22123806720, length 4096, links 1 (path: data/media/tv/tv/ [Bluray-2160p Remux][DV HDR10][DTS-HD MA 5.1][HEVC]-FraMeSToR.mkv)
Mar  9 01:15:47 HomeLabServer kernel: BTRFS error (device md5p1): bdev /dev/md5p1 errs: wr 0, rd 0, flush 0, corrupt 3, gen 0
Mar  9 01:15:47 HomeLabServer kernel: BTRFS warning (device md5p1): checksum error at logical 1172517642240 on dev /dev/md5p1, physical 1005022306304, root 5, inode 195919, offset 22123810816, length 4096, links 1 (path: data/media/tv/tv/[Bluray-2160p Remux][DV HDR10][DTS-HD MA 5.1][HEVC]-FraMeSToR.mkv)
Mar  9 01:15:47 HomeLabServer kernel: BTRFS error (device md5p1): bdev /dev/md5p1 errs: wr 0, rd 0, flush 0, corrupt 4, gen 0
Mar  9 01:15:47 HomeLabServer kernel: BTRFS warning (device md5p1): checksum error at logical 1172517646336 on dev /dev/md5p1, physical 1005022310400, root 5, inode 195919, offset 22123814912, length 4096, links 1 (path: data/media/tv/tv/[Bluray-2160p Remux][DV HDR10][DTS-HD MA 5.1][HEVC]-FraMeSToR.mkv)
Mar  9 01:15:47 HomeLabServer kernel: BTRFS error (device md5p1): bdev /dev/md5p1 errs: wr 0, rd 0, flush 0, corrupt 5, gen 0

 

 

Mar  3 23:13:46 HomeLabServer kernel: BTRFS warning (device md1p1): checksum error at logical 1204729884672 on dev /dev/md1p1, physical 1204738273280, root 5, inode 1610, offset 1571762176, length 4096, links 1 (path: data/media/movies/films-kinderen/[WEBDL-1080p][8bit][h264][AAC 2.0]-NLKIDS.mkv)
Mar  3 23:13:46 HomeLabServer kernel: BTRFS error (device md1p1): bdev /dev/md1p1 errs: wr 0, rd 0, flush 0, corrupt 1, gen 0
Mar  3 23:13:46 HomeLabServer kernel: BTRFS warning (device md1p1): checksum error at logical 1204729888768 on dev /dev/md1p1, physical 1204738277376, root 5, inode 1610, offset 1571766272, length 4096, links 1 (path: data/media/movies/films-kinderen/WEBDL-1080p][8bit][h264][AAC 2.0]-NLKIDS.mkv)
Mar  3 23:13:46 HomeLabServer kernel: BTRFS error (device md1p1): bdev /dev/md1p1 errs: wr 0, rd 0, flush 0, corrupt 2, gen 0
Mar  3 23:13:46 HomeLabServer kernel: BTRFS warning (device md1p1): checksum error at logical 1204729892864 on dev /dev/md1p1, physical 1204738281472, root 5, inode 1610, offset 1571770368, length 4096, links 1 (path: data/media/movies/films-kinderen/[WEBDL-1080p][8bit][h264][AAC 2.0]-NLKIDS.mkv)
Mar  3 23:13:46 HomeLabServer kernel: BTRFS error (device md1p1): bdev /dev/md1p1 errs: wr 0, rd 0, flush 0, corrupt 3, gen 0
Mar  3 23:13:46 HomeLabServer kernel: BTRFS warning (device md1p1): checksum error at logical 1204729896960 on dev /dev/md1p1, physical 1204738285568, root 5, inode 1610, offset 1571774464, length 4096, links 1 (path: data/media/movies/films-kinderen/[WEBDL-1080p][8bit][h264][AAC 2.0]-NLKIDS.mkv)
Mar  3 23:13:46 HomeLabServer kernel: BTRFS error (device md1p1): bdev /dev/md1p1 errs: wr 0, rd 0, flush 0, corrupt 4, gen 0
Mar  3 23:13:46 HomeLabServer kernel: BTRFS warning (device md1p1): checksum error at logical 1204729901056 on dev /dev/md1p1, physical 1204738289664, root 5, inode 1610, offset 1571778560, length 4096, links 1 (path: data/media/movies/films-kinderen/[WEBDL-1080p][8bit][h264][AAC 2.0]-NLKIDS.mkv)
Mar  3 23:13:46 HomeLabServer kernel: BTRFS error (device md1p1): bdev /dev/md1p1 errs: wr 0, rd 0, flush 0, corrupt 5, gen 0

homelabserver-diagnostics-20240309-0934.zip

Solved by JorgeB

  • Community Expert

Btrfs is detecting data corruption, start by running memtest, could also be a bad controller, but bad RAM is much more common.

  • Author

Thank you for your answer. I recently upgraded all ram and the errors kept coming back. So I’m thinking it is the controller. I will run a memtest tomorrow night to be sure. 
 

Do you have a recommendation for a sata controller (4sata ports x1)?

  • Community Expert

The Asmedia is usually a good option, but that one can have a defect, you can see below for some more options:

 

  • Author

Okay if there are no memory errors I will buy a new controller. Do you prefer a brand? Otherwise I’ll buy the one listed below:
 

IO Crest

  • Community Expert

That should be fine.

  • 4 weeks later...
  • Author

Hello,

 

so after a month of waiting today the BTRFS scrub yielded again 5 errors. 
I have already changed the cables and changed the asmedia controller with a new one and ran memtest for 24 hours without errors. 
 

The weird thing for me is that it is always 5 errors (I reset the disk stats everytime and it is a different file). This time it is a file that was downloaded 29 march. It happens only to the disks connected to the asmedia controller.
 

Any pointers? The data corrupted is easily replaced but it is driving me nuts… it has to do something with the controller or all the disk would be effected…?

  • Community Expert
  • Solution

If you can return that one I would try using a controller with a different chip, like a JMB585, in case it's some compatibility issue with your board.

  • Author

I'll try that. Is one as this a possible candidate?

Link

I am also wondering if transcoding in memory could cause this? I use my memory for plex encoding.

Edited by Soulplayer

  • Community Expert

I don't know the JMB586, and cannot find any references to that on the JMicron site, JMB585 is fine, it's a 5 port controller, if the JMB586 is the equivalent 6 port controller it should also be fine, though strange that it's not mentioned in their site.

  • Community Expert
43 minutes ago, Soulplayer said:

I am also wondering if transcoding in memory could cause this? I use my memory for plex encoding.

Don't think so.

  • Author
8 minutes ago, JorgeB said:

I don't know the JMB586, and cannot find any references to that on the JMicron site, JMB585 is fine, it's a 5 port controller, if the JMB586 is the equivalent 6 port controller it should also be fine, though strange that it's not mentioned in their site.

Strange indeed... I have to find one that fits a X1. I have 2 X16 but those have GPU's inside of them and then 2x X1.

  • 1 month later...
  • Author

using a different controller fixed the issue. Weird but I'm happy

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.