安安茶茶

没有谁会为你踏雪而来,喜欢的风景要躬亲筚路。人生有什么意义,接受赠予+22181803=VQ

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理

sas硬盘查看健康度记录raid卡直通看不到SMART信息

硬盘出现坏块,全盘扫描之后修复了,想看看还不能用

由于是raid卡直通的,一般软件看不到,下载 smartmontools-7.5.win32-setup ,地址在www.smartmontools.org,或者https://sourceforge.net/projects/smartmontools/。

 

smartctl --scan

在结果里面选择盘:
# 如果是 LSI Megaraid 卡:
smartctl -a -d megaraid,0 /dev/sda

# 如果是普通的 SAS/SCSI 直通模式:
smartctl -a /dev/sdb

信息给ai看了说不能用了,随时可能挂:

C:\Users\Administrator>smartctl -a /dev/sde
smartctl 7.5 2025-04-30 r5714 [x86_64-w64-mingw32-2019-1809] (AppVeyor)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               TOSHIBA
Product:              MG04SCA40EN
Revision:             DS06
Compliance:           SPC-4
User Capacity:        4,000,787,030,016 bytes [4.00 TB]
Logical block size:   512 bytes
Formatted with type 2 protection
8 bytes of protection information per logical block
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000039748603f71
Serial number:        96S0A1HFFVNC
Device type:          disk
Transport protocol:   SAS (SPL-4)
Local Time is:        Thu Jun 04 15:24:50 2026
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: Hardware impending failure data error rate too high [asc=5d, ascq=12]

Current Drive Temperature:     41 C
Drive Trip Temperature:        65 C

Accumulated power on time, hours:minutes 82251:14
Manufactured in week 39 of year 2016
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  233
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  3282
Elements in grown defect list: 2

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:          0     1306      9595      1306     695463    5699508.236        8289
write:         0     3511      3511      3511      11076      86474.061           0
verify:        0      130       149       130       2203    1663566.976          19

Non-medium error count:       69

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

Long (extended) Self-test duration: 26198 seconds [7.3 hours]

不过ai比较激进

posted on 2026-06-04 15:25  长虫山小木屋  阅读(4)  评论(0)    收藏  举报