I just upgraded my server to use ZoL .8.x and I filled it with six new Crucial MX500 2TB drives in a raidz2 that are sitting in a Supermicro 36 Drive SAS3 Chassis connected to a LSI 9300-8i (3008 chip) SAS HBA. To my complete surprise, trim does not work. Digging into these threads:
Can't TRIM Samsung 850 EVO · Issue #8874 · zfsonlinux/zfs
Topicbox
Broadcom Inc. | Connecting Everything
The LSI HBA in IT mode requires DRAT (deterministic read after trim) and RZAT (read zeros after trim) in order for trim to work.
So the Crucial MX500 SSDs does not support DRAT or RZAT.
According to hdparm -I:
hdparm -I /dev/sdn | grep -i trim
* Data Set Management TRIM supported (limit 8 blocks)
From what I can see, there is no firmware upgrade for the Crucial MX500s that add support for DRAT or RZAT So the only option left, is a new SAS3 HBA. Can anyone recommend a native Linux kernel supported SAS3 controller that allows trim to happen without needing DRAT and RZAT. I checked Supermicro's site for HBAs and they all seem LSI based.
Can't TRIM Samsung 850 EVO · Issue #8874 · zfsonlinux/zfs
Topicbox
Broadcom Inc. | Connecting Everything
The LSI HBA in IT mode requires DRAT (deterministic read after trim) and RZAT (read zeros after trim) in order for trim to work.
So the Crucial MX500 SSDs does not support DRAT or RZAT.
According to hdparm -I:
hdparm -I /dev/sdn | grep -i trim
* Data Set Management TRIM supported (limit 8 blocks)
From what I can see, there is no firmware upgrade for the Crucial MX500s that add support for DRAT or RZAT So the only option left, is a new SAS3 HBA. Can anyone recommend a native Linux kernel supported SAS3 controller that allows trim to happen without needing DRAT and RZAT. I checked Supermicro's site for HBAs and they all seem LSI based.