[smartmontools-support] Support for unrecognized USB bridge?
Schorschi Decker
schorschi at dc.rr.com
Sat Nov 14 17:00:43 CET 2020
Christian,
VOX 4 disk USB enclosure. It is SATA Disk To USB. The lsusb output is...
Bus 002 Device 006: ID 07f7:012d Century Corp.
Because it is not listed in the database , the supported or unsupported
list(s), I asked if it could be added. :)
=====
# smartctl -a -d auto /dev/sdb1
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-12-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: Century
Product: EX35SW4_SB4-A
Revision: 0100
User Capacity: 500,107,861,504 bytes [500 GB]
Logical block size: 512 bytes
Rotation Rate: 5400 rpm
Device type: disk
Local Time is: Sat Nov 14 07:25:56 2020 PST
SMART support is: Unavailable - device lacks SMART capability.
=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Elements in grown defect list: 0
Error Counter logging not supported
Device does not support Self Test logging
====
# smartctl -a -d sat -T permissive /dev/sdb1
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-12-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error unsupported scsi opcode
=== START OF INFORMATION SECTION ===
Device Model: [No Information Found]
Serial Number: [No Information Found]
Firmware Version: [No Information Found]
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: [No Information Found]
Local Time is: Sat Nov 14 07:28:47 2020 PST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show
if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show
if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
====
# smartctl -a -d sat -s on -T verypermissive /dev/sdb1
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-12-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error unsupported scsi opcode
=== START OF INFORMATION SECTION ===
Device Model: [No Information Found]
Serial Number: [No Information Found]
Firmware Version: [No Information Found]
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: [No Information Found]
Local Time is: Sat Nov 14 07:31:29 2020 PST
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show
if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show
if SMART is enabled.
Checking to be sure by trying SMART RETURN STATUS
command.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enable failed: scsi error unsupported scsi opcode
Read SMART Data failed: scsi error unsupported scsi opcode
=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported scsi opcode
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.
Read SMART Error Log failed: scsi error unsupported scsi opcode
Read SMART Self-test Log failed: scsi error unsupported scsi opcode
Selective Self-tests/Logging not supported
===
# smartctl -a -d scsi -s on -T verypermissive /dev/sdb1
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-12-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: Century
Product: EX35SW4_SB4-A
Revision: 0100
User Capacity: 500,107,861,504 bytes [500 GB]
Logical block size: 512 bytes
Rotation Rate: 5400 rpm
Device type: disk
Local Time is: Sat Nov 14 07:33:50 2020 PST
SMART support is: Unavailable - device lacks SMART capability.
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Elements in grown defect list: 0
Error Counter logging not supported
Device does not support Self Test logging
===
So it appears the specific USB bridge does not provide any visibility
for SMART. Or maybe the drives themselves don't?
# hdparm -i /dev/sdb
/dev/sdb:
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 10 00 00 00
00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
HDIO_GET_IDENTITY failed: Invalid argument
# cat /sys/class/block/sdb/device/{model,vendor}
EX35SW4_SB4-A
Century
# lsblk -S
NAME HCTL TYPE VENDOR MODEL REV TRAN
sdb 3:0:0:0 disk Century EX35SW4_SB4-A 0100 usb
sdc 3:0:0:1 disk Century EX35SW4_SB4-B 0100 usb
sdd 3:0:0:2 disk Century EX35SW4_SB4-C 0100 usb
sde 3:0:0:3 disk Century EX35SW4_SB4-D 0100 usb
The actual disk drive manufacturer information is blocked or masked by
the enclosure? The drives are Hitachi 500GB SATA drives (Hitachi
Deskstar E7K500 HDS725050KLA360 - hard drive - 500 GB). According to the
manufacturer documentation there is at least some SMART support.
Schor-
On 11/14/2020 04:25, Christian Franke wrote:
> Schorschi Decker wrote:
>> Support request for unrecognized USB bridge? I could not find the
>> following USB bridge in the supported or the unsupported list.
>>
>> Unknown USB bridge [0x07f7:0x012d (0x300)]
>>
>> Would appreciate consideration to add the above to the supported list
>> and added to the smartmontools package. Thanks.
>
> Which device (USB drive, enclosure, adapter, ...) includes this bridge ?
> Is it an USB to SATA or USB to NVMe bridge?
> If SATA: Does 'smartctl -d sat ...' work with this bridge?
> See https://www.smartmontools.org/wiki/USB for other possible options.
>
> The USB Vendor ID 0x07f7 is not yet mentioned in drivedb.h or
> https://www.smartmontools.org/wiki/Supported_USB-Devices
> According to http://www.linux-usb.org/, it is the ID of "Century Corp.".
>
> Regards,
> Christian
>
More information about the Smartmontools-support
mailing list