HeadlinesBriefing favicon HeadlinesBriefing.com

Fixing USB3 Storage Issues on Linux

DEV Community •
×

Linux users can work around faulty UAS (USB Attached SCSI) implementations by forcing devices to use the classic usb-storage driver instead. This resolves random I/O errors, resets, and SMART pass-through issues common with certain USB-to-SATA/NVMe bridges.

The fix involves applying usb-storage quirks using VID:PID identifiers. Users can set these temporarily via sysfs or persistently through modprobe.d configuration files. Flags like u (IGNORE_UAS) and m (MAX_SECTORS_64) control driver behavior and transfer sizes.

Systems that load storage drivers early in boot may need initramfs rebuilds using dracut or update-initramfs. This ensures quirks are applied before critical services start. Reconnecting devices or rebooting is often required after applying changes.