On 09/29/2016 11:34 AM, jd1008 wrote:
Can anyone tell me if this means drive is dying? Or could it be an issue with the slowness of the USB port?
[16906.959961] sd 4:0:0:0: [sdb] uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN [16906.959973] sd 4:0:0:0: [sdb] CDB: [16906.959975] ATA command pass through(12)/Blank: a1 08 2e d0 01 00 4f c2 00 b0 00 00 [16963.002365] sd 4:0:0:0: [sdb] uas_eh_abort_handler 0 uas-tag 3 inflight: CMD [16963.002375] sd 4:0:0:0: [sdb] CDB: [16963.002379] Write(16): 8a 00 00 00 00 00 85 c4 53 80 00 00 00 80 00 00 [16963.002403] scsi host4: uas_eh_bus_reset_handler start [16963.003954] sd 4:0:0:0: [sdb] uas_zap_pending 0 uas-tag 2 inflight: CMD [16963.003958] sd 4:0:0:0: [sdb] CDB: [16963.003959] Synchronize Cache(10): 35 00 00 00 00 00 00 00 00 00 [16963.003965] sd 4:0:0:0: [sdb] uas_zap_pending 0 uas-tag 4 inflight: CMD [16963.003967] sd 4:0:0:0: [sdb] CDB: [16963.003968] Write(16): 8a 00 00 00 00 00 85 c4 64 00 00 00 00 48 00 00 [16963.076589] usb 4-1.3: reset high-speed USB device number 4 using ehci-pci [16963.225499] scsi host4: uas_eh_bus_reset_handler success
Most USB adapters hide the underlying architecture. smartctl knows about a number of USB adapters, so the first thing is to do an "lsusb" as root and look at the make and model of USB adapter you have. Then do a "man smartctl" and see if the make/model is listed in that man page under the description of the "-d" parameter.
If you see that, (as root) try:
smartctl -x -d <name-of-USB-device> /dev/sdb
I happened to have two USB hard drives:
[root@prophead ~]# lsusb ... Bus 003 Device 002: ID 0411:00a2 BUFFALO INC. (formerly MelCo., Inc.) Bus 004 Device 005: ID 0bc2:ab21 Seagate RSS LLC Backup Plus Slim ...
And neither are on smartctl's "-d <type>" list. I tried all of the "-d" options and the one that worked for both devices as the "usbsunplus", so I can get all the data via:
smartctl -x -d usbsunplus /dev/sdb AND smartctl -x -d usbsunplus /dev/sdc
Your mileage may vary. There is no guarantee this will get you any data that's useful since there is no direct connection to the drive itself. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Real Time, adj.: Here and now, as opposed to fake time, which only - - occurs there and then - ----------------------------------------------------------------------