★ Manually query the lifespan of an SSD with an LSI RAID card

2023-09-20 01:36:22 Published
  • 0 Followed
  • 0Collected ,4834Browsed

Network Topology

Null

Problem Description

In the onsite environment with UIS 6.0 version, it is not possible to directly query the lifespan of SSD drives using the inspection tool. It requires manual querying. The RAID card model is LSI, and all hard drives are configured in an array.  


Process Analysis

1. Use the command "lsscsi" to retrieve the model of the RAID card.  


2. In UIS 6.0 version, the disks are configured in RAID mode instead of JBOD mode. Therefore, use the following command to query the corresponding DID of the SSD drive:
/opt/MegaRAID/stocli/stocli64 /call/eall/sall show  


3. To query the lifespan of the SSD drive specifically, use the command "smartctl -a -d megaraid,0 /dev/sdX" (replace 0 with the specific DID and sdX with the corresponding drive letter). For Intel drives, pay attention to the parameter corresponding to ID 233.  


Solution

Using the above command, the remaining lifespan of the corresponding SSD drive was found to be 98%.  



Please rate this case:   
0 Comments

No Comments

Add Comments: