无法从 Debian OS 上的 Seagate 磁盘获取 SMART 指标

无法从 Debian OS 上的 Seagate 磁盘获取 SMART 指标

提到问题这里,我也试图获取所有属性,正如本博客中解释的那样这里

我使用 Debian 6 作为操作系统,并使用 apt-get 安装了 smartmontools 版本 6.3。我的 6 个磁盘位于 RAID 上。我首先使用以下命令启用了统计信息

sudo smartctl -s on -o on -S on -d megaraid,0 /dev/sda
sudo smartctl -s on -o on -S on -d megaraid,1 /dev/sda
sudo smartctl -s on -o on -S on -d megaraid,2 /dev/sda
sudo smartctl -s on -o on -S on -d megaraid,3 /dev/sda
sudo smartctl -s on -o on -S on -d megaraid,4 /dev/sda
sudo smartctl -s on -o on -S on -d megaraid,5 /dev/sda

完成后,我将使用以下命令获取所有属性:

smartctl -a -i -d megaraid,0 /dev/sda

但我没有看到博客文章中所说的任何属性。

bash-4.1#     smartctl -a -i -d megaraid,0 /dev/sda
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-2.6.32-5-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST900MM0006
Revision:             LS08
Compliance:           SPC-4
User Capacity:        900,185,481,216 bytes [900 GB]
Logical block size:   512 bytes
LB provisioning type: unreported, LBPME=-1, LBPRZ=0
Rotation Rate:        10000 rpm
Form Factor:          2.5 inches
Logical Unit id:      0x5000c500767033b3
Serial number:        S0N1MEKG
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Wed Mar  4 13:17:30 2015 IST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     21 C
Drive Trip Temperature:        50 C

Manufactured in week 22 of year 2014
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  118
Specified load-unload count over device lifetime:  300000
Accumulated load-unload cycles:  314
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 965779306
  Blocks received from initiator = 2971611077
  Blocks read from cache and sent to initiator = 403576599
  Number of read and write commands whose size <= segment size = 11852771
  Number of read and write commands whose size     segment size = 121

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 4833.13
  number of minutes until next internal SMART test = 54

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:   3785944895        0         0  3785944895          0       2403.727           0
write:         0        0         0         0          0       4069.649           0
verify: 3308284580        0         0  3308284580          0      15953.521           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                  48       8                 - [-   -    -]
# 2  Reserved(7)       Completed                  32       8                 - [-   -    -]
# 3  Background short  Completed                  48       7                 - [-   -    -]

Long (extended) Self Test duration: 5616 seconds [93.6 minutes]

有什么线索吗?我在这里遗漏了什么?如何获取 SMART 指标?

答案1

您无法从 RAID 阵列中提取 SMART 信息。阵列确实有 SMART 信息,即组成阵列的驱动器。

Dev sda 是 RAID,而不是单元 (sd0、sd1 / sda1、sdb1 等)。因此,请从磁盘单元(而不是阵列)中提取信息。

相关内容