2 ms·
Tangentially, I'm curious on how OP monitors health of USB drives. Getting SMART data from USB drives has been a pain on linux as the kernel rejects SAT ATA pa
by Abishek_Muthian 8y ago
Tangentially, I'm curious on how OP monitors health of USB drives.
Getting SMART data from USB drives has been a pain on linux as the kernel rejects SAT ATA pass-through commands & so doesn't work with smartmontools[1].
I have tested across different USB 3.0 drives such as Seagate Backup Plus, MYDIGITALSSD|OTG, SAMSUNG Portable SSD T5 all of which use 'uas' driver under linux & if used with USB 3.0 hub like Tplink USB 3.0 port hub; it bridges using 'hub/4p' driver.
After trying out several other methods in vain, the only tool which I found to be helpful in checking for USB drive health on linux is discscan[2]; which tests for unreadable sectors & latency without using SMART values.
[1]: https://www.smartmontools.org/wiki/USB https://www.smartmontools.org/wiki/USB
[2]: https://github.com/baruch/diskscan https://github.com/baruch/diskscan
- Vogtinator 8y agoI have never any issues with USB HDDs with smartctl. In the rare cases where autodetection did not work, smartctl -d <type> with trial and error works.
- Abishek_Muthian 8y agoI see, I forgot to mention - d scsi gives only basic manufacturer info and tests fail. Does your drive work in uas mode?