-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix SSD health percentage issue for vendor Virtium #407
Conversation
Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
@stephenxs please attach the output of |
Hi @prgeor VSFDM8XC240G-V11-T
StorFly VSF302XC016G-MLX
|
Signed-off-by: Stephen Sun <[email protected]>
* Fix SSD health issue for a certain vendor Signed-off-by: Stephen Sun <[email protected]> * Remove a line Signed-off-by: Stephen Sun <[email protected]> --------- Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
@dgsudharsan thanks. @stephenxs could you help to file separate PR for cherry pick conflict to 202305? |
Description Fix SSD health percentage issue for vendor Virtium device VSFDM8XC240G-V11-T This is to backport #407 to 202305 branch Motivation and Context The SSD health percentage is calculated using 100 * (1 - NAND_endurance / Average_Erase_Count) or Remaining Life Left if either of the attributes is undefined. On this device, NAND endurance is not defined, and Remaining Life Left is not recognized by SmartCmd or smartctl. We have to parse the health percentage using the ID of Remaining Life Left which is 231 according to the vendor. How Has This Been Tested? Unit test and manually test on different Virtium devices (VSFDM8XC240G-V11-T and StorFly VSF302XC016G-MLX1
Hi @StormLiangMS Here is the PR and its merged #408 |
ignore my ask, just found it, sorry folks. #408 |
Description
Fix SSD health percentage issue for vendor Virtium device
VSFDM8XC240G-V11-T
Motivation and Context
The SSD health percentage is calculated using
100 * (1 - NAND_endurance / Average_Erase_Count)
orRemaining Life Left
if either of the attributes is undefined.On this device,
NAND endurance
is not defined, andRemaining Life Left
is not recognized bySmartCmd
orsmartctl
. We have to parse the health percentage using the ID ofRemaining Life Left
which is 231 according to the vendor.How Has This Been Tested?
Unit test and manually test on different Virtium devices (
VSFDM8XC240G-V11-T
andStorFly VSF302XC016G-MLX1
Additional Information (Optional)
The output of
smartctl
for aVSFDM8XC240G-V11-T
deviceThe output of
SmartCmd
of aVSFDM8XC240G-V11-T
device