HDSentinel:你的硬盘健康吗?

因为硬盘承载着我们的重要数据,所以时常查看硬盘的健康状况是很有必要的。要达成此目的,你可以使用 HDSentinel 这个命令行程序。HDSentinel 支持 IDE、S-ATA(SATA II)、SCSI、USB 等类型的硬盘,利用它你可以即时查看硬盘的健康信息。HDSentinel 输出的信息十分简明,让人一目了然。身边常备 HDSentinel,可以使你及早防范,以免造成重要数据的丢失。

下载及安装

首先,你可以从 http://www.hdsentinel.com/hdslin/hdsentinel.gz 下载 HDSentinel。然后使用以下命令解包:

gunzip hdsentinel.gz

你将得到 hdsentinel 二进制文件。接着,为它赋予可执行权限:

chmod a+x hdsentinel

并拷贝到 /usr/local/bin 目录:

cp hdsentinel /usr/local/bin

一般使用

在执行 hdsentinel 后(注意需要 root 权限),你可以获得类似下面的输出信息:

Hard Disk Sentinel for LINUX console 0.02 (c) 2008 info@hdsentinel.com Start with -r [reportfile] to save data to report, -h for help

Examining hard disk configuration ...

HDD Device 1: /dev/sda HDD Model ID : ST380815AS HDD Serial No: 6QZ25EF2 HDD Revision : 3.AAD HDD Size : 76319 MB Interface : S-ATA Temperature : 35 °C Health : 100 % Performance : 100 % Power on time: 234 days, 9 hours Est. lifetime: more than 1000 days

从中,我们除了可以了解到硬盘健康状况之外,还可以了解诸如硬盘大小、温度、性能等其他信息。

进阶使用

如果你想把 HDSentinel 输出的信息保存下来,不用复制和粘贴,只需执行以下命令即可:

hdsentinel -r report.txt

在 report.txt 文件中,你将可以了解到更为全面的信息,包括硬盘信息、S.M.A.R.T 信息等。

Linux 中,有另一个包 smartmontools,也可以让你查看硬盘的相关信息,具体参见 bread 的《Ubuntu中的Load/Unload Cycle Count问题及解决方案》一文。

Read More:

  • No related posts

29 Comments

  1. 1 z.wy Commented @ 2008-11-10 10:23Reply to this comment

    Hard Disk Summary ----------------- Hard Disk Number. . . . . . . . . . . . . . . . . 0 Hard Disk Device. . . . . . . . . . . . . . . . . /dev/sda Interface . . . . . . . . . . . . . . . . . . . . S-ATA Hard Disk Model ID. . . . . . . . . . . . . . . . HTS541080G9SA00 Hard Disk Revision. . . . . . . . . . . . . . . . MB4IC60R Hard Disk Serial Number . . . . . . . . . . . . . MPBDPAXNGE3RWM Hard Disk Total Size. . . . . . . . . . . . . . . 73773 MB Current Temperature . . . . . . . . . . . . . . . 42 �C (108 �F) Power On Time . . . . . . . . . . . . . . . . . . 304 days, 13 hours Estimated Remaining Lifetime. . . . . . . . . . . more than 1000 days Health. . . . . . . . . . . . . . . . . . . . . . ###################- 97 % (Excellent)

    Performance . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)

    才 97%,可怜。该换了

  2. 2 fangvv Commented @ 2008-11-10 10:35Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : Maxtor 6E040L0 HDD Serial No: E90FHJSE HDD Revision : NAR61EA0 HDD Size : 39206 MB Interface : IDE/ATA Temperature : 18 °C Health : 100 % Performance : 92 % Power on time: 1063 days, 14 hours, 34 minutes Est. lifetime: more than 761 days

  3. 3 想入非非 Commented @ 2008-11-10 11:03Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : ST9120822AS HDD Serial No: 5LZ232Y0 HDD Revision : 3.ALC HDD Size : 114473 MB Interface : S-ATA Temperature : 31 °C Health : 83 % Performance : 100 % Power on time: 198 days, 13 hours Est. lifetime: more than 1000 days lss的哥们还是不需要换了。。。我的才83%

  4. 4 恶臭的 Commented @ 2008-11-10 11:27Reply to this comment

    HDD Device 0: /dev/hda HDD Model ID : ST960812A HDD Serial No: 5PJ071JM HDD Revision : 3.06 HDD Size : 57232 MB Interface : IDE/ATA Temperature : 38 °C Health : 100 % Performance : 100 % Power on time: 268 days, 22 hours Est. lifetime: more than 1000 days

  5. 5 panchoat Commented @ 2008-11-10 11:36Reply to this comment

    根本不准么~ Temperature : 36 °C Health : 95 % Performance : 100 % Power on time: 10 days, 9 hours, 46 minutes Est. lifetime: more than 1000 days

    都用了3年了,怎么会才10天……

  6. 6 rhfcaesar Commented @ 2008-11-10 11:39Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : IC25N030ATMR04-0 HDD Serial No: MRG215KBGNHUSJ HDD Revision : MOAOAD4A HDD Size : 28616 MB Interface : IDE/ATA Temperature : 35 °C Health : 96 % Performance : 99 % Power on time: 723 days, 16 hours Est. lifetime: more than 1000 days

  7. 7 amoo Commented @ 2008-11-10 12:10Reply to this comment

    Examining hard disk configuration ...

    HDD Device 0: /dev/sda HDD Model ID : FUJITSU MHY2120BH HDD Serial No: K410T7C2MHVS HDD Revision : 890B HDD Size : 114473 MB Interface : S-ATA Temperature : 38 °C Health : 100 % Performance : 100 % Power on time: 0 days, 0 hours, 22 minutes Est. lifetime: more than 1000 days

  8. 8 Gong Commented @ 2008-11-10 12:12Reply to this comment

    专有软件,我们不用。

  9. 9 xzhang Commented @ 2008-11-10 12:38Reply to this comment

    在本本的FreeBSD上跑了下没成功,先是说“可执行文件类型不认识”,改了之后又说“找不到ATA兼容硬盘,请在root下执行”,我就是在root下阿……

  10. 10 keenan chen Commented @ 2008-11-10 13:02Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : WDC WD1200BEVS-75LAT0 HDD Serial No: WD-WXEZ06009209 HDD Revision : 02.06M02 HDD Size : 114473 MB Interface : S-ATA Temperature : 29 °C Health : 51 % Performance : 100 % Power on time: 167 days, 5 hours Est. lifetime: 431 days

    还51%了,怎么办阿

  11. 11 qft Commented @ 2008-11-10 14:13Reply to this comment

    Health和Performance指的是什么好像没有定义

  12. 12 qft Commented @ 2008-11-10 14:27Reply to this comment

    smartmontools比这个软件好多了,提供的信息比这个全的多,而且至少是开源的。

    我非常讨厌像health、performance这种一看就是marketing的话。至少要给个精确点的定义吧,建立在可测量的数据上。

  13. 13 fkinfo Commented @ 2008-11-10 15:50Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : TOSHIBA MK6034GAX HDD Serial No: 46MT2432S HDD Revision : AC101A HDD Size : 57232 MB Interface : IDE/ATA Temperature : 41 \u00b0C Health : 20 % Performance : 100 % Power on time: 336 days, 14 hours Est. lifetime: 53 days

    不会吧,我的快挂了?!用smartstl检测好像有坏道,请问怎么修复啊?谢谢了!Arch的系统。

  14. 14 fkinfo Commented @ 2008-11-10 16:13Reply to this comment

    @fkinfo: sorry,the cmd is: smartctl -a /dev/sda,is belonged to smartmontools suits.

  15. 15 dogfox Commented @ 2008-11-10 16:46Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : ST380011A HDD Serial No: 4JV339YK HDD Revision : 8.01 HDD Size : 76319 MB Interface : IDE/ATA Temperature : 31 °C Health : 100 % Performance : 70 % Power on time: 456 days, 11 hours Est. lifetime: more than 1000 days

  16. 16 studay Commented @ 2008-11-10 19:36Reply to this comment

    两个工具都使用了一下。两者合起来,能获得更多的信息。

  17. 17 iceFire Commented @ 2008-11-10 20:56Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : Maxtor 6E040L0 HDD Serial No: E1KDLP4E HDD Revision : NAR61590 HDD Size : 39206 MB Interface : IDE/ATA Temperature : 50 °C Health : 99 % Performance : 92 % Power on time: 283 days, 18 hours, 54 minutes Est. lifetime: more than 1000 days

  18. 18 iceFire Commented @ 2008-11-10 20:58Reply to this comment

    我的温度似乎是最高的 ~

  19. 19 chroot Commented @ 2008-11-10 20:59Reply to this comment

    运行之后,机器卡得要死,还活不过来了:(

  20. 20 zhuqin Commented @ 2008-11-10 22:19Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : HTS541060G9AT00 HDD Serial No: MPB3AAX5HA8LWF HDD Revision : MB3OA60A HDD Size : 57232 MB Interface : IDE/ATA Temperature : 32 °C Health : 99 % Performance : 100 % Power on time: 863 days, 9 hours Est. lifetime: more than 942 days

    HDD Device 1: /dev/sdb HDD Model ID : ST9120822AS HDD Serial No: 5LZ2ZLBG HDD Revision : 3.AXC HDD Size : 114473 MB Interface : Oxford/SAT USB/ATA Temperature : 38 °C Health : 100 % Performance : 100 % Power on time: 132 days, 23 hours Est. lifetime: more than 1000 days

  21. 21 huang Commented @ 2008-11-10 23:24Reply to this comment

    HDD Device 0: /dev/sda HDD Model ID : Maxtor 6Y080L0 HDD Serial No: Y2PY8XZE HDD Revision : YAR41BW0 HDD Size : 78167 MB Interface : IDE/ATA Temperature : 36 °C Health : 3 % Performance : 92 % Power on time: 1015 days, 1 hours, 39 minutes Est. lifetime: 3 days

    太牛了吧!!!

  22. 22 huang Commented @ 2008-11-10 23:26Reply to this comment

    这个到底靠谱么、、

  23. 23 cnlons Commented @ 2008-11-11 0:44Reply to this comment

    huang的硬盘挺有意思。看看我的,哈哈。 HDD Device 0: /dev/sda HDD Model ID : ST340016A HDD Serial No: 3HS49WDV HDD Revision : 3.19 HDD Size : 38167 MB Interface : IDE/ATA Temperature : 41 °C Health : 72 % Performance : 100 % Power on time: 387 days, 19 hours Est. lifetime: 745 days

    HDD Device 1: /dev/sdb HDD Model ID : ST380011A HDD Serial No: 4JV01HTM HDD Revision : 8.01 HDD Size : 76319 MB Interface : IDE/ATA Temperature : 40 °C Health : 100 % Performance : 100 % Power on time: 243 days, 7 hours Est. lifetime: more than 1000 days

  24. 24 qquchn Commented @ 2008-11-11 1:47Reply to this comment

    看来我的硬盘算是比较老的了,不过USB还是不支持SMART HDD Device 0: /dev/sda HDD Model ID : IC25N040ATCS05-0 HDD Serial No: CLP410F4H38G0D HDD Revision : CS4OA61A HDD Size : 38154 MB Interface : IDE/ATA Temperature : 36 °C Health : 100 % Performance : 100 % Power on time: 821 days, 4 hours Est. lifetime: more than 1000 days

  25. 25 freezero Commented @ 2008-11-11 2:39Reply to this comment

    Examining hard disk configuration ...

    HDD Device 0: /dev/sda HDD Model ID : ST380011A HDD Serial No: 4JV4CG2B HDD Revision : 8.01 HDD Size : 76319 MB Interface : IDE/ATA Temperature : 33 °C Health : 98 % Performance : 100 % Power on time: 429 days, 9 hours Est. lifetime: more than 1000 days

    HDD Device 1: /dev/sdb HDD Model ID : MAXTOR 6L040J2 HDD Serial No: 662135337647 HDD Revision : AR1.0400 HDD Size : 38173 MB Interface : IDE/ATA Temperature : 41 °C Health : 100 % Performance : 100 % Power on time: 375 days, 1 hours, 7 minutes Est. lifetime: more than 1000 days

    HDD Device 2: /dev/sdc HDD Model ID : TOSHIBA MK8026GAX HDD Serial No: X5HH4122T HDD Revision : PA002D HDD Size : 76319 MB Interface : IDE/ATA Temperature : 31 °C Health : 65 % Performance : 100 % Power on time: 221 days, 5 hours Est. lifetime: 625 days

  26. 26 acpi Commented @ 2008-11-11 10:38Reply to this comment

    powr on time是這次運作的時間吧

  27. 27 独立的圆 Commented @ 2008-11-11 12:10Reply to this comment

    @acpi 显然不是,虽然字面上好像是

  28. 28 huang Commented @ 2008-11-11 12:37Reply to this comment

    @acpi 好像说的是硬盘加电时间吧,就是硬盘用了多久

  29. 29 charwin Commented @ 2008-11-13 11:37Reply to this comment

    Hard Disk Number. . . . . . . . . . . . . . . . . 0 Hard Disk Device. . . . . . . . . . . . . . . . . /dev/sda Interface . . . . . . . . . . . . . . . . . . . . S-ATA II Hard Disk Model ID. . . . . . . . . . . . . . . . WDC WD5001ABYS-01YNA0 Hard Disk Revision. . . . . . . . . . . . . . . . 59.01D01 Hard Disk Serial Number . . . . . . . . . . . . . WD-WCAS84745268 Hard Disk Total Size. . . . . . . . . . . . . . . 476940 MB Current Temperature . . . . . . . . . . . . . . . 35 蚓 (95 蚌) Power On Time . . . . . . . . . . . . . . . . . . 106 days, 6 hours Estimated Remaining Lifetime. . . . . . . . . . . more than 1000 days Health. . . . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent) Performance . . . . . . . . . . . . . . . . . . . #################### 100 % (Excellent)