Zeroeth Posted May 14, 2023 Share Posted May 14, 2023 (edited) 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 May 14, 2023 by Zeroeth Quote Link to comment
Solution JorgeB Posted May 15, 2023 Solution Share Posted May 15, 2023 That HBA doesn't support trim, connect the SSDs to the onboard SATA instead. Quote Link to comment
Zeroeth Posted May 15, 2023 Author Share Posted May 15, 2023 Thanks @JorgeB. I will check this... but I doubt there are any onboard SATA connectors on this Dell T620 mobo. Quote Link to comment
Recommended Posts
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.