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.

[Guidance needed] Disk1 keeps going offline even after a full rewrite

Featured Replies

One of my disks keeps going offline with the following error

Feb 27 20:25:59 Tower kernel: critical target error, dev sdc, sector 2049660712 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
Feb 27 20:25:59 Tower kernel: md: disk1 write error, sector=2049660648

 

I already did a full rewrite of the disk and also checked the cabling but the error comes back in a few days. This disk is in an external HDD enclosure with other disks, that are not affected in any way. Is this the end of the line for this specific HDD? Any guidance would be appreciated.

 

(Logs attached)

 

tower-diagnostics-20250228-0821.zip

Edited by ajayjohn
Fixed attachment to include diagnostics.

Solved by JorgeB

  • Author

@JorgeB My bad. I updated the opening post with the diagnostic instead.

Edited by ajayjohn

Could be a UASP driver issue with that USB bridge, you can try reverting to the old driver, but keep in mind that USB is not recommended for array and pools, post the output from:

 

lsusb -vt

 

  • Author

Understood and you're right, I am using a 4-bay HDD enclosure (https://www.amazon.com/Mediasonic-SATA-Hard-Drive-Enclosure/dp/B078YQHWYW) connected via a USB-C cable since Unraid is running on a mini PC, which cannot support a 3.5 inch HDD.
 

Here is the output from lsusb -vt. Is there a way to revert the USB driver from within Unraid or is this something I will handle via the command line?

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/3p, 20000M/x2
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 001: Dev 002, If 0, Class=Mass Storage, Driver=uas, 10000M
        ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter
    |__ Port 003: Dev 003, If 0, Class=Hub, Driver=hub/4p, 10000M
        ID 2109:8822 VIA Labs, Inc. 
        |__ Port 001: Dev 004, If 0, Class=Mass Storage, Driver=uas, 10000M
            ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
        |__ Port 002: Dev 005, If 0, Class=Mass Storage, Driver=uas, 10000M
            ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
        |__ Port 003: Dev 006, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
            ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
        |__ Port 004: Dev 007, If 0, Class=Mass Storage, Driver=uas, 10000M
            ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 003: Dev 002, If 0, Class=Hub, Driver=hub/2p, 480M
        ID 2109:2822 VIA Labs, Inc. 
        |__ Port 001: Dev 004, If 0, Class=Mass Storage, Driver=usb-storage, 480M
            ID 058f:6387 Alcor Micro Corp. Flash Drive
    |__ Port 006: Dev 003, If 0, Class=Hub, Driver=hub/5p, 480M
        ID 2109:2822 VIA Labs, Inc. 
        |__ Port 005: Dev 005, If 0, Class=[unknown], Driver=[none], 480M
            ID 2109:8818 VIA Labs, Inc. 
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 003: Dev 002, If 0, Class=Hub, Driver=hub/2p, 10000M
        ID 2109:0822 VIA Labs, Inc. 

 

  • Solution

Add a quirk to syslinux.cfg, same as below but with 2109:0715:u

uasp add quirk.JPG

 

Then reboot and retest.

  • Author

Thanks for the deduction. I added the quirk and rebooted, but unfortunately, I still continue to get the error below:

Feb 28 12:40:44 Tower kernel: I/O error, dev sda, sector 208013128 op 0x0:(READ) flags 0x80700 phys_seg 60 prio class 2

 

For reference:

image.thumb.png.17cf0b475339bf9ea13e6478a994d4e4.png

 

Do you need a fresh dump of diagnostics since I did a reboot?

It's duplicated, just the first two lines should exist, and the quirk after /bzroot, then reboot again, and post

lsusb -t

again to confirm it's working

  • Author

Thanks for clarifying that! I made the changes and rebooted the machine. I can confirm that the USB storage driver is now in use. Oh, there's it? I still have the same error as before and the disk is still disabled. Is there anything else that I can try to fix this?

 

# lsusb -vt:

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/3p, 20000M/x2
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 001: Dev 002, If 0, Class=Mass Storage, Driver=uas, 10000M
        ID 0bda:9210 Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter
    |__ Port 003: Dev 003, If 0, Class=Hub, Driver=hub/4p, 10000M
        ID 2109:8822 VIA Labs, Inc. 
        |__ Port 001: Dev 004, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
            ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
        |__ Port 002: Dev 005, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
            ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
        |__ Port 003: Dev 006, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
            ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
        |__ Port 004: Dev 007, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
            ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 003: Dev 002, If 0, Class=Hub, Driver=hub/2p, 480M
        ID 2109:2822 VIA Labs, Inc. 
        |__ Port 001: Dev 004, If 0, Class=Mass Storage, Driver=usb-storage, 480M
            ID 058f:6387 Alcor Micro Corp. Flash Drive
    |__ Port 006: Dev 003, If 0, Class=Hub, Driver=hub/5p, 480M
        ID 2109:2822 VIA Labs, Inc. 
        |__ Port 005: Dev 005, If 0, Class=[unknown], Driver=[none], 480M
            ID 2109:8818 VIA Labs, Inc. 
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 003: Dev 002, If 0, Class=Hub, Driver=hub/2p, 10000M
        ID 2109:0822 VIA Labs, Inc. 

 

Error:

Feb 28 15:08:07 Tower kernel: critical target error, dev sdf, sector 1031549968 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 2

 

Edited by ajayjohn

Disk still being disabled is expected, but post new diags.

sda is the USB to NVMe adapter, also add a quirk for it, add a comma after the current quirk and the add 

 

0bda:9210:u

 

so quirks=2109:0715:u,0bda:9210:u

 

The reboot

  • Author

@JorgeB Can you please check my latest diagnostics when you get a chance, and suggest how I can get my HDD enabled again?

  • Author

No problem! Just started the rebuild process. Will report back if the issue gets solved.
Thanks!

  • 2 weeks later...
  • Author

Thank you, @JorgeB! It's been a week now and I have not had any issues with the hard disk so far.

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.