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.

Unraid 6.12.10: How to permanently add a usb-storage quirk (to disable UAS)?

Featured Replies

Hi,

I just tried Unraid for the first time using an LC-Power LC-35U3-RAID-2 hard drive enclosure (no on-board raid activated, just two HDDs over USB).

Its using a JMS-561 controller from JMicron, which seems to have the typical UAS problems of similar controllers under Linux (e.g., sporadic disconnects, highly probable after reading SMART data).

 

On my Raspberry I simply had to add the quirk "usb-storage.quirks=152d:0561:u" to /boot/cmdline.txt. That disabled UAS and everything worked fine.

 

But where do I do this in Unraid?

 

  • First I fetched my device and vendor id using "lsusb". It was "152d:0561".
  • Then I tried adding "options usb-storage quirks=152d:0561:u" to "/sys/module/usb_storage/parameters/quirks" and "/etc/modprobe.d/local-disable-uas.conf" but those files vanish after a reboot.
  • Then I found some forum threads referring to "/boot/config/modprobe.d/", so I echoed "options usb-storage quirks=152d:0561:u" to "/boot/config/modprobe.d/local-disable-uas.conf".
  • After the reboot that file was correctly copied to "/etc/modprobe.d/local-disable-uas.conf".
  • But "dmesg | grep -i quirk" didn't include any information, like "usb-storage 2-3.2:1.0: Quirks match for vid 152d pid 0561: 800000".

 

Can anybody help me? Maybe there's another way to get the JMS-561 working?

 

Best regards and thanks in advance,

 

Flinkz

Edited by flinkz

Solved by JorgeB

  • flinkz changed the title to Unraid 6.12.10: How to permanently add a usb-storage quirk (to disable UAS)?
  • Community Expert
  • Solution

Unraid v6.12 doesn't support UASP, it's only from v7+, so I would think that's not the problem

  • Author

Hi Jorge,

 

thanks for your reply.

 

So you're saying that UAS is actively disabled in Unraid < v7 (or not compiled into the kernel) and every device is always using usb-storage?

 

That's strange, mostly because the quirk was working/helping on my Raspi.

 

But apart from that, for anyone who might find this thread when searching for a way how to apply storage quirks in Unraid: How are they configured in Unraid?

  • Community Expert

If you want to configure boot time options then you can amend the syslinux options by clicking on the Boot device on the Main tab.

  • Author

Thanks itimpi :)

 

As Jorge already said, this is probably something else and not UAS.

 

When using "smartctl" on the JMS-561 bridge's devices, both show the same serial number. That prevents Unraid from giving both drives unique IDs.

 

So unfortunately the bridge seems to be the problem.

 

I was hoping to use my existing Intel NUC, attach a USB drive enclosure with two HDDs. But it seems that Unraid needs a tower with onboard disk controllers, because all USB drive enclosures seem to use JMS chips and dont' simply forward the drives with all their capabilities.

 

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.