BTRFS TRIM doesnt work


SavellM

Recommended Posts

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 by SavellM
Link to comment

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 by SavellM
Link to comment

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?

 

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.