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.

kernel: critical target error | kernel: BTRFS warning

Featured Replies

Hi!

 

I've been getting this error & warning when the SSD TRIM runs (scheduled daily) on one of my Unraid servers running 6.11.5.

Pool consists of 2 Samsung SSD 870 EVO 2TB disks.

 

May 12 11:01:48 Zeroeth kernel: critical target error, dev sdi, sector 3902943146 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 0
May 12 11:01:48 Zeroeth kernel: BTRFS warning (device sdi1): failed to trim 1 device(s), last error -121
May 13 11:01:51 Zeroeth kernel: sd 9:0:5:0: [sdi] tag#3030 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s
May 13 11:01:51 Zeroeth kernel: sd 9:0:5:0: [sdi] tag#3030 Sense Key : 0x5 [current] 
May 13 11:01:51 Zeroeth kernel: sd 9:0:5:0: [sdi] tag#3030 ASC=0x21 ASCQ=0x0 
May 13 11:01:51 Zeroeth kernel: sd 9:0:5:0: [sdi] tag#3030 CDB: opcode=0x42 42 00 00 00 00 00 00 00 18 00

 

Have tried running scrub with the repair option but I continue to get this error.

 

May 13 11:01:51 Zeroeth kernel: critical target error, dev sdi, sector 3902943146 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 0
May 13 11:01:51 Zeroeth kernel: BTRFS warning (device sdi1): failed to trim 1 device(s), last error -121
May 13 20:24:55 Zeroeth kernel: BTRFS info (device sdi1): scrub: started on devid 1
May 13 20:24:55 Zeroeth kernel: BTRFS info (device sdi1): scrub: started on devid 2
May 13 20:47:23 Zeroeth kernel: BTRFS info (device sdi1): scrub: finished on devid 2 with status: 0
May 13 20:47:23 Zeroeth kernel: BTRFS info (device sdi1): scrub: finished on devid 1 with status: 0
May 13 20:52:28 Zeroeth kernel: BTRFS info (device sdi1): scrub: started on devid 1
May 13 20:52:28 Zeroeth kernel: BTRFS info (device sdi1): scrub: started on devid 2
May 13 21:14:50 Zeroeth kernel: BTRFS info (device sdi1): scrub: finished on devid 1 with status: 0
May 13 21:14:50 Zeroeth kernel: BTRFS info (device sdi1): scrub: finished on devid 2 with status: 0
May 14 11:01:50 Zeroeth kernel: sd 9:0:5:0: [sdi] tag#208 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s
May 14 11:01:50 Zeroeth kernel: sd 9:0:5:0: [sdi] tag#208 Sense Key : 0x5 [current] 
May 14 11:01:50 Zeroeth kernel: sd 9:0:5:0: [sdi] tag#208 ASC=0x21 ASCQ=0x0 
May 14 11:01:50 Zeroeth kernel: sd 9:0:5:0: [sdi] tag#208 CDB: opcode=0x42 42 00 00 00 00 00 00 00 18 00
May 14 11:01:50 Zeroeth kernel: critical target error, dev sdi, sector 3902943146 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 0
May 14 11:01:50 Zeroeth kernel: BTRFS warning (device sdi1): failed to trim 1 device(s), last error -121

 

Any insights would be really helpful. Need to know if there is an issue with the SSD drive maybe? Nothing is reported on the SMART info.

 

Diagnostics attached.

zeroeth-diagnostics-20230514-1214.zip

Edited by Zeroeth

Solved by JorgeB

  • Community Expert
  • Solution

That HBA doesn't support trim, connect the SSDs to the onboard SATA instead.

  • Author

Thanks @JorgeB.

 

I will check this... but I doubt there are any onboard SATA connectors on this Dell T620 mobo.

 

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.