Hallo,
vielen Dank für den Link. So habe ich es auch versucht. Mit keiner der angegebenen Möglichkeiten kommt was vernünftiges:
Code:
root@rescue:~# sudo smartctl -A /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64-rescue] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Smartctl open device: /dev/sda failed: AMCC/3ware controller, please try adding '-d 3ware,N',
you may need to replace /dev/sda with /dev/twlN, /dev/twaN or /dev/tweN
root@rescue:~# smartctl -a -d 3ware,0 -a /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64-rescue] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== 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]
ATA Standard is: [No Information Found]
Local Time is: Tue Dec 31 15:50:29 2013 CET
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.
root@rescue:~# smartctl -a -d 3ware,0 /dev/twe0
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64-rescue] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Smartctl: Device Read Identity Failed: Input/output error
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
root@rescue:~# smartctl -a -d 3ware,0 /dev/twa0
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64-rescue] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
No major number for /dev/twa listed in /proc/devices. Is the 3w-9xxx driver loaded?
Smartctl open device: /dev/twa0 [3ware_disk_00] failed: setup_3ware_nodes("twa", "3w-9xxx") failed
root@rescue:~# smartctl -a -d 3ware,0 /dev/twl0
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64-rescue] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
No major number for /dev/twl listed in /proc/devices. Is the 3w-sas driver loaded?
Smartctl open device: /dev/twl0 [3ware_disk_00] failed: setup_3ware_nodes("twl", "3w-sas") failed
root@rescue:~# smartctl -a -d 3ware,0 /dev/tws0
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.10.23-xxxx-std-ipv6-64-rescue] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
Smartctl open device: /dev/tws0 [3ware_disk_00] failed: No such device
Mit cat /var/log/syslog sieht man:
Code:
Dec 31 15:50:29 rescue kernel: program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
Dec 31 15:50:29 rescue kernel: 3w-xxxx: SCSI_IOCTL_SEND_COMMAND deprecated, please update your 3ware tools.
Dec 31 15:50:29 rescue kernel: 3w-xxxx: SCSI_IOCTL_SEND_COMMAND deprecated, please update your 3ware tools.
Dec 31 15:50:29 rescue kernel: 3w-xxxx: SCSI_IOCTL_SEND_COMMAND deprecated, please update your 3ware tools.
Dec 31 15:50:29 rescue kernel: 3w-xxxx: SCSI_IOCTL_SEND_COMMAND deprecated, please update your 3ware tools.
Dec 31 15:50:29 rescue kernel: 3w-xxxx: SCSI_IOCTL_SEND_COMMAND deprecated, please update your 3ware tools.
Dec 31 15:50:29 rescue kernel: 3w-xxxx: SCSI_IOCTL_SEND_COMMAND deprecated, please update your 3ware tools.
Anscheinend vertragen sich die Versionen von smartctl und 3ware tools, die im Rescue System enthalten sind, nicht. Ein Update im Rescue Modus scheitert aber, da anscheinend keine Schreibrechte vorhanden sind. Als Hauptsystem ist Windows Core installiert, so dass ich dort leider keine Andere Linux Versionen probieren kann.
EDIT: Habe neben der 5.41, die im Rescue System enthalten ist, noch die folgenden Versionen von smartmontools probiert: 6.2, 6.1, 5.26 und 5.0-42. Mit allen dasselbe Ergebnis. Kein Unterschied ob mit oder ohne sudo. Genau gleiche Ergebnisse mit dem Parameter "3ware,0" (Disk 0-OK) oder mit "3ware,1" (Disk 1-DEGRADED).
EDIT2: Mit tw_cli bekommt man die folgenden Hex-Werte der SMART Daten:
Code:
//rescue> /c0/p1 show smart
/c0/p1 Drive Smart Data:
0A 00 01 0F 00 63 63 55 86 D3 0D 00 00 00 03 03
00 5F 5E 00 00 00 00 00 00 00 04 32 00 64 64 66
00 00 00 00 00 00 05 33 00 64 64 12 00 00 00 00
00 00 07 0F 00 4E 3C 3A EE 8A 04 00 00 00 09 32
00 41 41 C1 7A 00 00 00 00 00 0A 13 00 64 64 00
00 00 00 00 00 00 0C 32 00 64 64 33 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 01 01 64
00 00 00 00 00 00 BC 32 00 64 63 02 00 01 00 01
00 00 BD 3A 00 63 63 01 00 00 00 00 00 00 BE 22
00 3B 28 29 00 27 3C 5E 00 00 C2 22 00 29 3C 29
00 00 00 10 00 00 C3 1A 00 17 06 55 86 D3 0D 00
00 00 C5 12 00 63 63 36 00 00 00 00 00 00 C6 10
00 63 63 36 00 00 00 00 00 00 C7 3E 00 C8 C8 00
00 00 00 00 00 00 F0 00 00 64 FD 25 3F 00 00 43
B1 A7 F1 00 00 64 FD B7 5D 31 60 00 00 00 F2 00
00 64 FD D2 AA B8 0F 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 58 02 00 7B
03 00 01 00 01 B4 02 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 03 06 04 06 06 06 06 06
06 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00
00 00 00 00 00 00 0F 00 3A 93 1D F2 F0 66 00 00
00 00 00 00 01 00 FF FF B7 5D 31 60 59 00 00 00
D2 AA B8 0F 22 00 00 00 00 00 00 00 FF FF FF FF
00 00 00 62 62 00 00 00 2D 21 00 00 36 00 0E 00
00 00 00 00 44 1E 00 00 00 00 00 00 00 00 00 3A
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43
//rescue> /c0/p0 show smart
/c0/p0 Drive Smart Data:
0A 00 01 0F 00 6C 5D 0F 4C D7 01 00 00 00 03 03
00 64 64 00 00 00 00 00 00 00 04 32 00 64 64 23
00 00 00 00 00 00 05 33 00 64 64 1F 00 00 00 00
00 00 07 0F 00 52 3C 6B 8E 02 0B 00 00 00 09 32
00 43 43 ED 70 00 00 00 00 00 0A 13 00 64 64 00
00 00 00 00 00 00 0C 32 00 64 64 23 00 00 00 00
00 00 B8 32 00 64 64 00 00 00 00 00 00 00 BB 32
00 01 01 91 02 00 00 00 00 00 BC 32 00 64 64 00
00 00 00 00 00 00 BD 3A 00 2B 2B 39 00 00 00 00
00 00 BE 22 00 3A 24 2A 00 23 40 B1 02 00 C2 22
00 2A 40 2A 00 00 00 1C 00 00 C3 1A 00 31 11 0F
4C D7 01 00 00 00 C5 12 00 64 64 3F 00 00 00 00
00 00 C6 10 00 64 64 3F 00 00 00 00 00 00 C7 3E
00 C8 C8 00 00 00 00 00 00 00 F0 00 00 64 FD E1
70 00 00 85 07 15 F1 00 00 64 FD 1E 66 D9 92 00
00 00 F2 00 00 64 FD D0 6B 83 17 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 69 02 00 7B
03 00 01 00 01 CE 02 00 00 00 00 00 00 00 00 00
00 00 00 00 54 04 00 00 03 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00
00 00 00 00 00 00 15 00 9A F4 88 8C AA 5E 00 00
00 00 00 00 01 00 FF FF 1E 66 D9 92 9E 01 00 00
D0 6B 83 17 3A 14 00 00 00 00 00 00 C3 D4 1A 00
00 00 00 00 02 00 00 00 54 22 00 00 30 00 03 00
00 00 00 00 0E D6 02 00 00 00 00 00 00 00 00 17
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 D5