kernel: critical target error | kernel: BTRFS warning


Go to solution Solved by JorgeB,

Recommended Posts

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