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.

Trim suddenly failing on cache drive

Featured Replies

I'm suddenly having a very strange problem with my cache drive and not really sure what the cause could be.  This morning while checking logs/updating containers etc..  I noticed the following entries:

 

Jan 3 18:00:36 Tower kernel: print_req_error: critical target error, dev sdd, sector 230729786
Jan 3 18:00:36 Tower kernel: BTRFS warning (device sdd1): failed to trim 1 device(s), last error -121
Jan 3 18:00:36 Tower root: /etc/libvirt: 920.8 MiB (965472256 bytes) trimmed
Jan 3 18:00:36 Tower root: /var/lib/docker: 8.6 GiB (9238429696 bytes) trimmed

 

The first line doesn't concern me to much, I've seen it ever since I first set unraid up and assume it's just a bad sector on the ssd (it's over 4 years old at least).  The second line however is new and concerns me.  I did a google search and found a post by someone from December and the consensus seemed to be check your cables.  All my drives are in hotswap bays on my Supermicro server so I powered the system down, swapped the drive into a new bay and powered it back on.   The problem remained.  What's interesting is that even though it says trim failed, the next two lines below that appears to show that it actually did complete the trim.

 

I'm really not sure what the problem could be and was hoping someone more experienced with the inner workings of unraid could point me in the right direction.

 

Thanks, diagnostic info is posted below...

 

tower-diagnostics-20190103-1850.zip

It's been common for a while trim not working on most (if not all now) SSDs connected to LSI HBAs, it should work fine if you connect both to the onboard Intel SATA ports.

 

4 hours ago, rclifton said:

Jan 3 18:00:36 Tower root: /etc/libvirt: 920.8 MiB (965472256 bytes) trimmed
Jan 3 18:00:36 Tower root: /var/lib/docker: 8.6 GiB (9238429696 bytes) trimmed

This is just the images being trimmed, it works even if they are on an HDD.

  • Author

Thanks, any idea why I am just now seeing this message?  Since I've never seen it before I would assume that means it actually was working up until yesterday when I first started seeing these messages.

Are you sure it was working before, kind of doubt it, especially on latest releases, like mentioned you should use the onboard SATA ports.

Archived

This topic is now archived and is closed to further replies.

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.