How to activate UASP?

My drive (WD Easystore 14TB) is supposed to support UASP, but it seems like it’s not active:

# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M

Is there any way I can enable it? It’s my boot drive.

Easystore I have one of those. They are lousy. Pretty sure they don’t do uasp. When using my 18tb over samba I get around 70 to 100mb/s. Over USB I get up to 180. Oh also I suggest you use a ssd as your boot drive or a faster drive or even a thumb drive could be faster.

when I test its speed with DD I get 200-220 MBs.

It’s Ultrastar CMR drive inside. Supposed to be decent.

I get tests that high too. Be careful with those drives make sure you back up your files. I’ve never had one fail but I’m always reading about them failing. Mine would get very hot I used it as a samba share for like 2 years an still use one for backup over samba. so my experience is that they are fairly reliable but slower than a regular drive while also running hotter because they’re in a plastic case with no fan.

AH i just read a thing…something about forcing uasp. maybe someone on here knows?

You can check with lsusb -v if your device supports UASP.
bInterfaceProtocol should be 98 for UASP.
My SATA to USB2 adapter only supports 80 (which is USB 2.0 I guess).

If your device (and the USB port and the adapter/cable) supports it, it is chosen by default.

I’ve also read adapters with JMicron chips should work better with UASP and linux.

2 Likes

I tested right now with an powered USB 3.0 to SATA adapter and I got ootb

root@RPi4:~# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M

without doing anything.
So maybe your adapter/cable does not support it?

side notet: for some unknown reason it does not boot, when the system drive is attached to this adapter :thinking:

ah…here it is

2 Likes