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.

BTRFS error (device sdaa1): bdev /dev/sdaa1 errs: wr 106017132, rd 82906, flush 0, corrupt 0, gen 0

Featured Replies

I started getting these notifications a few weeks ago,  "fstrim: /mnt/mediacache: the discard operation is not supported". I went to poke around and checked my logs to find a wall of this: BTRFS error (device sdaa1): bdev /dev/sdaa1 errs: wr 106017132, rd 82906, flush 0, corrupt 0, gen 0

 

what causes this, and what should I do to remedy the situation?

Shut down, reseat cables, start back up?


I've uploaded my diagnostics

skynet-diagnostics-20230506-0817.zip

Edited by Neldonado

Solved by JorgeB

  • Author

E5S.png

  • Neldonado changed the title to BTRFS error (device sdaa1): bdev /dev/sdaa1 errs: wr 106017132, rd 82906, flush 0, corrupt 0, gen 0
  • Author

I’ve got roughly 1.2TB of data on this cache pool, would it be safe to run the mover and get the data off? 

  • Community Expert

Syslog rotated so cannot see the beginning of the problem, but looks like this device dropped offline a few days ago:

 

May  4 04:43:00 Skynet kernel: BTRFS error (device sdaa1): bdev /dev/sdaa1 errs: wr 67401451, rd 44447, flush 0, corrupt 0, gen 0

 

Reboot and post new diags after array start.

  • Author

looks like the drive is throwing the same errors, I imagine it'll drop offline any minute.

  • Community Expert

No device errors so far, the ones you see logged is btrfs bringing that device up to sync, SMART looks good, you should now run a scrub, if it happens again replace the cables, also take a look here for better pool monitoring so you're notified if there's a problem.

  • Author
3 hours ago, JorgeB said:

No device errors so far, the ones you see logged is btrfs bringing that device up to sync, SMART looks good, you should now run a scrub, if it happens again replace the cables, also take a look here for better pool monitoring so you're notified if there's a problem.

Are these the same errors (see picture) sdx is the other drive in this cache pool. 
 

BTFS error (device sdl: state EA): parent transid verify failed on 316334

9286912 wanted 36459 found 36425


uploading diagnostics again. Somethings weird going on, I replaced all my cables a month or two ago and I just started noticing these errors out of nowhere.

IMG_1637.jpeg

skynet-diagnostics-20230508-0436.zip

  • Community Expert
20 minutes ago, Neldonado said:

you should now run a scrub

make sure all errors are corrected.

  • Author

So is this what I want to do?

btrfs scrub start -B -d -r /dev/sdaa1 

and 

btrfs scrub start -B -d -r /dev/sdx1 


 

  • Community Expert

You can use the GUI, click on the first pool member and scroll down to the scrub section.

  • Author
14 minutes ago, JorgeB said:

You can use the GUI, click on the first pool member and scroll down to the scrub section.

So I do that and it refreshes and says aborted? 
 

UUID: xxxx

Scrub started: Mon May 8 05:57:58 2023 Status: aborted Duration: 0:00:00 Total to scrub: 3.04TiB Rate: 0.00B/s Error summary: no errors found

  • Community Expert

Post new diags to see if there's something there.

  • Community Expert

I see that the scrub is aborting but not why it is aborting, reboot and try again, if the issue persists best to backup and recreate the pool.

  • Author
6 minutes ago, JorgeB said:

I see that the scrub is aborting but not why it is aborting, reboot and try again, if the issue persists best to backup and recreate the pool.

Tons of errors being corrected… this is all good I hope? Looks like I’ve got some downtime before it’s finished. 

IMG_1639.jpeg

  • Community Expert

As long as they all are corrected it's good, disk that before dropped offline needs to be synced up.

  • Author
On 5/8/2023 at 7:47 AM, JorgeB said:

As long as they all are corrected it's good, disk that before dropped offline needs to be synced up.

G3S.png

 

Finished scrubbing and including diagnostics after finishing.

also noticed my log is full, what should next steps be?

UK.png

skynet-diagnostics-20230510-1535.zip

  • Community Expert

Pool should be fixed, reboot to clear the log, also see the link I posted above to reset the pool stats and keep monitoring.

  • Author
On 5/11/2023 at 12:53 AM, JorgeB said:

Pool should be fixed, reboot to clear the log, also see the link I posted above to reset the pool stats and keep monitoring.

OK, it's been almost 4 days and I started getting errors again.
GY.png
diagnostics attached.

 

skynet-diagnostics-20230515-0334.zip

  • Community Expert

Disk dropped offline again, check/replace cables or swap with a different disk.

  • Author

These cables are relatively new, is there any way to see if it’s just a bad disk or a power issue? 

  • Community Expert
  • Solution

Swap both SATA and power cable with a different disk, then see where the problem follows.

  • 3 weeks later...
  • Author

Calling this closed for now, I swapped the drives around and haven't noticed anything

 

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.