smartctl获取raid卡下intel ssd寿命

通过smartctl工具,使用-d sat+megaraid参数,可以查看Intel SSD在MegaRAID阵列中每个设备的详细状态,包括健康状况、已使用小时数、通电周期、错误统计等关键指标,从而评估SSD的寿命和稳定性。
摘要由CSDN通过智能技术生成

http://blog.yufeng.info/archives/1096

http://blog.csdn.net/gold2008/article/details/18500699


/opt/MegaRAID/MegaCli/MegaCli64 -LdPdInfo -aALL | grep "Device Id:"

得到 4个 物理磁盘的 Device Id

Device Id: 28
Device Id: 29
Device Id: 30
Device Id: 31

smartctl -a -d megaraid,28 /dev/sda

提示:

/dev/sda [megaraid_disk_28] [SAT]: Device open changed type from 'megaraid' to 'sat'
Smartctl open device: /dev/sda [megaraid_disk_28] [SAT] failed: SATA device detected,
MegaRAID SAT layer is reportedly buggy, use '-d sat+megaraid,N' to try anyhow

smartctl -a -d sat+megaraid,28 /dev/sda  显示成功

Device Model:     INTEL SSDSC2BB120G4
Serial Number:    BTWL337309L0120LGN
LU WWN Device Id: 5 5cd2e4 04b4a3c50
Firmware Version: D2010355

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   097   097   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       2687
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       15
170 Unknown_Attribute       0x0033   100   100   010    Pre-fail  Always       -       0
171 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
174 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       13
175 Program_Fail_Count_Chip 0x0033   100   100   010    Pre-fail  Always       -       69371167380
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   090    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   063   059   000    Old_age   Always       -       37 (Min/Max 21/41)
192 Power-Off_Retract_Count 0x0032   100  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值