SavellM Posted November 28, 2019 Share Posted November 28, 2019 (edited) I have a LSI 9201-16i. I noticed that my TRIM command doesnt work. I read some stuff about some controllers not supporting TRIM but not sure what the work around is for it. Nov 28 02:00:12 unRAID kernel: print_req_error: critical target error, dev sdl, sector 1950351263 Nov 28 02:00:12 unRAID kernel: BTRFS warning (device sdl1): failed to trim 1 device(s), last error -121 Nov 28 02:00:12 unRAID root: /var/lib/docker: 31.9 GiB (34268774400 bytes) trimmed on /dev/loop2 I am using 2x Samsung 860 Evo 1tb drives as my cache. Is there anything I can do, or do I really need to get this working? IF I dont will I see issues down the line? unraid-diagnostics-20191128-1021.zip Edited November 28, 2019 by SavellM Quote Link to comment
JorgeB Posted November 28, 2019 Share Posted November 28, 2019 It's a known issue, it only works with SAS3 models, SAS2008 based models work with firmware downgraded to p16, it might also work for SAS2016 models, but a better solution would be to use the onboard Intel SATA ports if possible. Quote Link to comment
SavellM Posted November 28, 2019 Author Share Posted November 28, 2019 (edited) Hey Johnnie, I could in theory use onboard SATA, but I have my 2 cache drives in the front of my case using the backplane. It would be so much better/easier to keep them there as they run a lot cooler. I have a SAS3008 (which you probably noticed in the logs) but I cant remember which firmware its running. How come you have to downgrade firmware for it to work? Edited November 28, 2019 by SavellM Quote Link to comment
JorgeB Posted November 28, 2019 Share Posted November 28, 2019 I didn't noticed at first, you also have one LSI 9300-8i or similar, connect the SSDs there, that one will trim them. Quote Link to comment
SavellM Posted November 28, 2019 Author Share Posted November 28, 2019 Ok I just looked at the diagram for my backplane BPN-SAS-846A and where I connected the SAS3008 to. I'll move my drives around tonight hopefully. I have 8 ports running of this controller and the rest off the 9201-16i. It wont matter the mix match of controllers to the backplane will it? Quote Link to comment
JorgeB Posted November 28, 2019 Share Posted November 28, 2019 1 minute ago, SavellM said: It wont matter the mix match of controllers to the backplane will it? That's not a problem. Quote Link to comment
SavellM Posted November 28, 2019 Author Share Posted November 28, 2019 Perfect! I'll move the drives around tonight when I get home Quote Link to comment
JorgeB Posted November 28, 2019 Share Posted November 28, 2019 Also note that LSI requires SSDs with determinist trim support, or trim won't work, 860 EVO that you are using supports it, but if for example you were using the 850 EVO it wouldn't' work. Quote Link to comment
SavellM Posted November 28, 2019 Author Share Posted November 28, 2019 Phew well I lucked out there Thanks for your help, really appreciate it. Quote Link to comment
SavellM Posted November 28, 2019 Author Share Posted November 28, 2019 Thanks @johnnie.black Switched the drives and: root@unRAID:~# fstrim -v /mnt/cache /mnt/cache: 1.8 TiB (1918192943104 bytes) trimmed 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.