smartctl / mpt on 9.0-RC1
Marat N.Afanasyev
amarat at ksu.ru
Mon Nov 7 11:24:05 UTC 2011
Alex Samorukov wrote:
> On 11/06/2011 09:37 PM, Alex Samorukov wrote:
>>> Command failed, ata.status=(0x00), ata.command=(0xec), ata.flags=(0x01)
>>> WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 0)
>>> Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
>>>
>>> A mandatory SMART command failed: exiting. To continue, add one or
>>> more '-T permissive' options.
>>>
>>
>>
>> Ok, looking in the code i found that on "3ware" device only
>> "ata_command_interface" is implemented (with
>> TW_OSL_IOCTL_FIRMWARE_PASS_THROUGH). The question is if that interface
>> actually supports SAS drives at all. From the quick view of the
>> sources i found TWE_Command_ATA packet description, but nothing
>> related to SCSI/SATA packets. So i am not sure that it is possible at
>> all. If you know any tool which able to get health information for SAS
>> drives we can try to debug ioctl it using to find the way to talk with
>> disk.
>>
> One more update - there is TWA_FW_CMD_EXECUTE_SCSI command in the twa
> driver, so it should be possible to get required data. I have no access
> to such hardware, but if anyone if going to provide it - i could try at
> least.
>
this is an output on mfi controller with mfip loaded:
# smartctl -a /dev/pass1
smartctl 5.41 2011-06-09 r3365 [FreeBSD 8.2-RELEASE amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Vendor: SEAGATE
Product: ST3146356SS
Revision: 0007
User Capacity: 146,815,737,856 bytes [146 GB]
Logical block size: 512 bytes
Logical Unit id: 0x5000c50028f8a56f
Serial number: 3QN4PWHS00009130JLKB
Device type: <31>
Transport protocol: SAS
Local Time is: Mon Nov 7 15:20:27 2011 MSK
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK
Current Drive Temperature: 26 C
Drive Trip Temperature: 68 C
Error counter log:
Errors Corrected by Total Correction
Gigabytes Total
ECC rereads/ errors algorithm
processed uncorrected
fast | delayed rewrites corrected invocations [10^9
bytes] errors
read: 9382124 0 0 9382124 9382124 3436.782
0
write: 0 0 0 0 0 8978.360
0
verify: 663433 0 0 663433 663433 332.651
0
Non-medium error count: 7
[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
No self-tests have been logged
Long (extended) Self Test duration: 1740 seconds [29.0 minutes]
btw, 3dm can tell about reallocated sector count on sas somehow, while
smartctl cannot, even on supported controller :(
--
SY, Marat
More information about the freebsd-stable
mailing list