New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot trim: no devices in pool support trim operations on Samsung 870 EVO #13108
Comments
5.16 remains broken with all released versions. It would not surprise me if this was just one more brokenness. |
It is working fine for me with zfs-dkms 2.1.2-2 which is using some patches for 5.16:
This is with a Samsung SSD 970 EVO Plus 500GB and a KINGSTON SA2000M81000G. Extra 5.16 patches used by zfs-dkms 2.1.2-2:
|
k. My other thought would be that I believe Linux relatively recently blacklisted at least some kinds of TRIM for all Samsung SATA SSDs for misbehaving; perhaps see if things that aren't ZFS think they can currently use TRIM on them? |
I have just edited my original comment as I am also running with zfs-dkms 2.1.2-2 with the same patches.
Testing support for TRIM...
Then with hdparm:
I am tempted to test the pool on FreeBSD, but as I recall FreeBSD is only on ZFS 2.0. |
It seems the problem was a local one with the SATA controller. I had a hunch about the SATA controller on the box, so I moved the pool to another machine also running Arch and zfs-dkms 2.1.2-2 and trimming is working on that on the disks. |
Arch Linux 5.16.9-arch1-1 running with ZFS DKMS 2.1.2-2.
I am running with a mirror pool of 2 Samsung 870 EVO 500GB.
From the Samsung website, all Samsung SSD supports TRIM.
Other than that everything works well. I can enable the autotrim option on the pool, but suspect it isn't working.
The text was updated successfully, but these errors were encountered: