Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Generally it works with kernel ver 4.xx but not with kernel ver 5.xx, probably because changing UAS mode access.
My device is Seagate Expansion Desk USB v3 4TB HDD (0bc2:3322) is listed in smartmontools as unsupported. It always shows that SMART is avaliable but disabled. No way to enable it.
Is any way to make it working with hdparm correctly as previous?
Last edited by mackowiakp; 12-13-2019 at 01:05 PM.
According to https://www.smartmontools.org/wiki/SAT-with-UAS-Linux, for older USB to SATA converter, it is necessary to disable the UAS mode access in kernels 5.xxx.
So I create file /etc/modprobe.d/disable_uas.conf with content:
where 0bc2:3322 are VendorID:UnitID taken from lsusb.
It works now but iotop shows 5 M/s for USB v3 interface. It is 10 times slower than the same HDD connected to OpenVRT Asus based router. Any idea how to seed-up such connection?
Yep. It works too. Byt with disabled the UAS access mode only. And still performance is very low. Does not matter I connect HDD to USB v3 or v3.1. HDD is v3 device.
Must be the USB connection, one way or the other (inside the drive enclosure or inside your PC).
Usually these USB drives are just normal drives in a USB enclosure; you can try taking the drive out and connecting it directly via SATA cable or some such.
Did you say that you have performance problems with only one of three SBCs?
That would of course put a different spin on things.
The only thing that helps is to disable UAS for particular USB device, as I described above. Then it is possible to use hdparm without problems. It is needed only on kernel 5.xx. Mageia forum stands that UAS does not support older USB/SATA chip converters so such disabling is necesery. Strange. My Seagate USB HDD is 2 or 3 years old so its rather new. But as we can see, not for 5.xx kernels, especially in Mageia (dont know about other distros).
But maybe someone know how to enable/disable UAS support on-demand? Is it possible at all?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.