failed to trim 1 device


Recommended Posts

Hello,

 

since a few days i have the following error in my syslog:

 

Oct 30 13:53:35 Avalon kernel: blk_update_request: critical target error, dev sdd, sector 486672334 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 0
Oct 30 13:53:35 Avalon kernel: BTRFS warning (device sdd1): failed to trim 1 device(s), last error -121

 

A manual use of

 

fstrim -v /mnt/cache/ (/mnt/cache/=sdd1)

 

and the use of the Trim-Plugin generates this error. In my Opinion this is a new error, never had this error before. The SSD is connected to a HBA with IT-Mode flashed, the Firmware is 19. But i have never had this error before so i think is it not ascribe to the HBA Firmware.

 

How can i check and repair this an the blk_update_request: critical target error?

 

Thanks a lot

Christian

 

Link to comment
21 hours ago, Squid said:

Not all firmware versions on HBA's support trim.  ie: on my controllers, the latest is v20, but only v16 supports trim.  Does the command succeed if you connect the SSD to the motherboard?

 

Hi,

now i have tested the SSD on a SATA-Port at the mainboard, and voila no error:

 

root@Avalon:~# fstrim -v /mnt/cache/
/mnt/cache/: 232.9 GiB (250048569344 bytes) trimmed

 

For me means that

 

a) downgrade the firmware of the HBA from 19 to 16

or

b) buy a respectively two SATA III PCIe Cards because the Mainboard of my HP Proliant hat only SATA II onboard.

 

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.