Hasty Briefsbeta

How to Disable USB Attached Storage (UAS)

21 hours ago
  • #USB Storage
  • #Kernel Modules
  • #Linux
  • USB Attached Storage (UAS) can cause issues like slow write performance or device disconnections.
  • To disable UAS, first find the USB device ID using `lsusb` or `dmesg` logs.
  • Disabling UAS involves passing a quirk parameter to the `usb_storage` kernel module.
  • Temporary solution: Unload and reload the `usb-storage` module with the quirk parameter.
  • Permanent solution via `modprobe.d`: Create a config file and rebuild `initrd`.
  • Permanent solution via kernel cmdline: Edit bootloader configs to include the quirk.
  • Symptoms requiring UAS disablement include slow transfers, S.M.A.R.T. info unavailability, and kernel errors.
  • Common errors involve `uas_eh_abort_handler` messages indicating UAS-related issues.