我不得不使用新的硬盘。
smartctl -i /dev/sda
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 INFORMATION SECTION ===
Device Model: ST1000LX015-1U7172
Serial Number: WES3C2P0
LU WWN Device Id: 5 000c50 0a87cea5e
Firmware Version: SDM1
User Capacity: 1.000.204.886.016 bytes [1,00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-3 T13/2161-D revision 3b
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sat Jun 10 10:11:39 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
我尝试更新数据库。
update-smart-drivedb
/var/lib/smartmontools/drivedb/drivedb.h.error: rejected by /usr/sbin/smartctl, probably no longer compatible
我将 Download-src 更改为
# Download URL for sourceforge code browser
SRCEXPR='http://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw'
在 /usr/sbin/update-smart-drivedb 中
相同的结果。我尝试从unstable安装smartmontools,但是我的系统更多的是来自unstable而不是jessie。所以我想我可以使用 wget 下载包并合并文件。因为我有一些较旧的 HD IDE,我不确定它们是否在不稳定的较新的drivedb中。
file /var/lib/smartmontools/drivedb/drivedb
/var/lib/smartmontools/drivedb/drivedb: HTML document, UTF-8 Unicode text, with very long lines
这可能吗?是的,怎么办?