Install necessary software yuminstall-yMegaCliLib_Utils to get deviceid/opt/MegaRAID/MegaCli/MegaCli64-LdPdInfo-aALL | grep-B30 & #39; SolidStateDevice & #39; | grep & #39; DeviceId & #39; what I get here is:
Install necessary software
yum install -y MegaCli Lib_Utils
Obtain the device id.
/opt/MegaRAID/MegaCli/MegaCli64 -LdPdInfo -aALL | grep -B 30 'Solid State Device' | grep 'Device Id'
What I get here is 1. when smartctl is used below, 1
smartctl -a -d sat+megaraid,1 /dev/sdc | grep Media_Wearout_Indicator
Wear Levelling Count (average number of particle writes): The last column is 0, that is, the total number of writes/erases (P/E) on this hard disk is 0, and there is still 100% lifetime.
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0