我有一台有 7 个硬盘的服务器,除第 7 个硬盘 (/dev/sdg) 外,每个硬盘都启用了 smartmontools。尝试强制启用它,但没有成功。
[email protected]:~# smartctl -a /dev/sdg
[unusually long delay]
=== START OF INFORMATION SECTION ===
Device Model: CçS
Serial Number: T- ^Rֻdª ª)EM½µr¢
Firmware Version: QÅ{õM
User Capacity: 1,257,344,326,144 bytes [1.25 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 19867 rpm
Form Factor: Unknown (0xf9e3)
Device is: Not in smartctl database [for details use: -P showall]
...
SMART support is: Unavailable - Packet Interface Devices [this device:
Reserved] don't support ATA SMART
A mandatory SMART command failed: exiting.
冉:
[email protected]:~# smartctl -H /dev/sdg
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke,
www.smartmontools.org
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.
甚至尝试强制启用 smartctl:
[email protected]:~# smartctl -T permissive -s on /dev/sdg1
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke,
www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
unable to fetch IEC (SMART) mode page [unsupported field in scsi command]