Как можно декодировать в человеко-понятный вид сырые данные SMART, полученные от контроллера 3ware?
Я пытался использовать
smartctl
, но он выдаёт ошибку.
# smartctl -A -d 3ware,1 /dev/tws0
smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RELEASE-p2 amd64] (local build)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/tws0: 3ware controller type unknown, use /dev/tweX or /dev/twaX devices
Но tws0 — единственное устройство в системе, напоминающее о контроллере.
# ls -l /dev/tw*
crw------- 1 root operator 0, 36 Nov 4 2013 /dev/tws0
Зато запрос сырых данных SMART успешно обрабатывается. Вопрос, как их понять?
# tw_cli /c0/p1 show smart
/c0/p3 Drive SMART Data:
0A 00 01 0F 00 76 63 D0 EF 49 0A 00 00 00 03 03
00 61 61 00 00 00 00 00 00 00 04 32 00 64 64 12
00 00 00 00 00 00 05 33 00 64 64 00 00 00 00 00
00 00 07 0F 00 59 3C 0E 6E C9 33 00 00 00 09 32
00 4F 4F FF 48 00 00 00 00 00 0A 13 00 64 64 00
00 00 00 00 00 00 0C 32 00 64 64 12 00 00 00 00
00 00 B7 32 00 64 64 00 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 08 00 08 00 08
00 00 BD 3A 00 64 64 00 00 00 00 00 00 00 BE 22
00 4A 40 1A 00 14 20 00 00 00 BF 32 00 64 64 00
00 00 00 00 00 00 C0 32 00 64 64 11 00 00 00 00
00 00 C1 32 00 64 64 73 00 00 00 00 00 00 C2 22
00 1A 28 1A 00 00 00 14 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 F0 00
00 64 FD EB 48 00 00 7B C7 01 F1 00 00 64 FD AA
C9 D1 48 8C 3B 01 F2 00 00 64 FD 8E 00 98 61 DF
B6 09 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 48 02 00 73
03 00 01 00 01 72 02 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 02 03 03 03 03 03 03 03
03 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00
00 00 00 00 00 00 00 00 7E B5 1F B1 2F 3D 00 00
00 00 00 00 01 00 B8 ED AA C9 D1 48 8C 3B 01 00
8E 00 98 61 DF B6 09 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 DB 26 00 00 01 00 00 00
00 00 00 00 D8 14 00 00 00 00 00 00 00 00 00 01
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FC
И да, OC FreeBSD 9.1.