Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

failed to trim 1 device

Featured Replies

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

 

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?

  • Author
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.

 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.