アレイ内のディスクのSMART paramsを見つけようとしていますが、簡単な方法では機能しないようです。
% smartctl -d sat --all /dev/sg0 -H
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-8-AMD64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error unsupported scsi opcode
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
root@wrzos ~ % smartctl -d sat -T permissive -T permissive --all /dev/sg0 -H
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-8-AMD64] (local build)
Copyright (C) 2002-16, 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: Tue Jan 29 15:32:21 2019 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.
Checking to be sure by trying SMART RETURN STATUS command.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
% smartctl -d scsi --all /dev/sg0 -H
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-8-AMD64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: HP
Product: P410
Revision: 6.40
Serial number: 111111111111
Device type: storage array
Local Time is: Tue Jan 29 15:29:34 2019 CET
SMART support is: Unavailable - device lacks SMART capability.
それらの(SATA)ディスクのステータスを照会する他の方法はありますか?
HPサーバーでsmartctlを使用する必要はありません。
HPにはこれらの専用ツールがあるため、ssacli
およびssaducli
ユーティリティが最も役立ちます。
https://downloads.linux.hpe.com/SDR/project/mcp/
配列のステータスを取得するには、ssacli ctrl all show config detail
のようなものがそれを提供します。