Reply
Visitor
middleageman
Posts: 1
Registered: ‎08-10-2012
0

SMART data conversion

I have a number of different Seagate drives (ST3250310NS firmware version SN16 is one, among others) that are being controlled by a 3ware RAID card (9690SA) in a high uptime Linux environment. I need to get some information on the SMART data of each drive, however I am unable to install any software (smartmontools, etc) and am unable to take the units down to run Seatools or other utilitiy due to the critical nature of the servers. The 3ware array utility will provide the raw SMART data on each drive when SSH'ed into the server, however the format of the SMART data is not easily readable:

 

//Sales_Demo_Unit> /c3/p8 show all
/c3/p8 Status = OK
/c3/p8 Model = ST3250310NS
/c3/p8 Firmware Version = SN16
/c3/p8 Serial = 9SF0WASH
/c3/p8 Capacity = 232.88 GB (488397168 Blocks)
/c3/p8 WWN = 5000c50010ff2f30
/c3/p8 Drive Type = SATA
/c3/p8 Interface Type = Enclosure
/c3/p8 Drive Ports = 1
/c3/p8 Drive Connections = 1
/c3/p8 Reallocated Sectors = 9
/c3/p8 Power On Hours = 25787
/c3/p8 Temperature = 25 deg C
/c3/p8 Spindle Speed = 7200 RPM
/c3/p8 Link Speed Supported = 1.5 Gbps and 3.0 Gbps
/c3/p8 Link Speed = 3.0 Gbps
/c3/p8 Queuing Supported = Yes
/c3/p8 Queuing Enabled = Yes
/c3/p8 Identify Status = off
/c3/p8 Belongs to Unit = u0

/c3/p8 Drive SMART Data:
0A 00 01 0F 00 51 3E 94 64 BE 07 00 00 00 03 03
00 63 63 00 00 00 00 00 00 00 04 32 00 64 64 0D
00 00 00 00 00 00 05 33 00 64 64 09 00 00 00 00
00 00 07 0F 00 4D 3C 78 EB CB 3D 14 00 00 09 32
00 47 47 BB 64 00 00 00 00 00 0A 13 00 64 64 00
00 00 00 00 00 00 0C 32 00 64 25 0D 00 00 00 00
00 00 B8 32 00 64 64 00 00 00 00 00 00 00 BB 32
00 64 64 00 00 00 00 00 00 00 BC 32 00 64 63 01
00 01 00 01 00 00 BD 3A 00 64 64 00 00 00 00 00
00 00 BE 22 00 4B 47 19 00 15 1B 00 00 00 C2 22
00 19 28 19 00 00 00 11 00 00 C3 1A 00 35 31 94
64 BE 07 00 00 00 C5 12 00 64 64 00 00 00 00 00
00 00 C6 10 00 64 64 00 00 00 00 00 00 00 C7 3E
00 C8 C8 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 82 00 7A 02 00 7B
03 00 01 00 01 3A 02 00 00 00 00 00 00 00 00 00
00 00 00 00 EE 01 00 00 05 01 01 01 01 01 01 01
01 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00
00 00 00 00 00 00 00 00 4E 12 5F 0E 6F 54 00 00
00 00 00 00 01 00 FF FF 3D 1C E9 64 24 2A 08 00
2B 74 42 C5 AC 21 0A 00 00 00 00 00 42 A7 2E 00
00 00 00 00 01 00 00 00 C6 05 00 00 00 00 00 00
12 00 00 00 CC B8 01 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08

 

Is any documentation available on how to change or convert the above data into something like that shown in Seatools?

Yottabyte
fzabkar
Posts: 4,661
Registered: ‎01-27-2009
0

Re: SMART data conversion

[ Edited ]
Your SMART data appear to be the following (in hexadecimal, starting at offset 0x002):

01 0F 00 51 3E 94 64 BE 07 00 00 00
03 03 00 63 63 00 00 00 00 00 00 00
04 32 00 64 64 0D 00 00 00 00 00 00
05 33 00 64 64 09 00 00 00 00 00 00
07 0F 00 4D 3C 78 EB CB 3D 14 00 00
09 32 00 47 47 BB 64 00 00 00 00 00
0A 13 00 64 64 00 00 00 00 00 00 00
0C 32 00 64 25 0D 00 00 00 00 00 00
B8 32 00 64 64 00 00 00 00 00 00 00
BB 32 00 64 64 00 00 00 00 00 00 00
BC 32 00 64 63 01 00 01 00 01 00 00
BD 3A 00 64 64 00 00 00 00 00 00 00
BE 22 00 4B 47 19 00 15 1B 00 00 00
C2 22 00 19 28 19 00 00 00 11 00 00
C3 1A 00 35 31 94 64 BE 07 00 00 00
C5 12 00 64 64 00 00 00 00 00 00 00
C6 10 00 64 64 00 00 00 00 00 00 00
C7 3E 00 C8 C8 00 00 00 00 00 00 00

Column #1 = Attribute ID
Column #2 = Attribute type
Column #4 = Current value
Column #5 = Worst value
Columns #6 - #11 = 48-bit raw value in little endian format

For example, attribute 05 is the Reallocated Sector Count. Its Current and Worst normalised values are 100 (= 0x64), and the raw value is 0x000000000009, ie 9 sectors.

Attribute 09 is the Power-On Hours count. It has a raw value of 0x64BB, ie 25787 hours.

Attribute BE is the Airflow Temperature, or Temperature Difference from 100. There are three raw values, namely 0x19 (= 25C), 0x15 (= 21C), and 0x1B (= 27C). These would probably be the current, minimum, and maximum temperatures for the current power cycle.

Similarly, attribute C2 is the Temperature. Once again 0x19 (= 25C) is the current temperature, and 0x11 (= 17C) is probably the lowest lifetime temperature, and 0x28 (= 40C) is probably the highest recorded temperature.

See http://en.wikipedia.org/wiki/S.M.A.R.T.