1.确认硬盘是否支持smart
smartctl -i /dev/hda
C:\Program Files\smartmontools\bin>smartctl -i /dev/hda
smartctl 7.0 2018-12-30 r4883 [x86_64-w64-mingw32-w10-1809] (sf-7.0-1)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 3.5
Device Model: ST1000DM010-2EP102
Serial Number: ZN12K46N
LU WWN Device Id: 5 000c50 0b4534a15
Firmware Version: CC45
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Mar 13 23:50:39 2019
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
原文地址:https://www.cnblogs.com/hshy/p/10527585.html