SSD - amount of remaining life

By kimot, 27 December, 2023

If you have SSDs on your LPAR. You can use this command to check if their lifetime is not about to expire :

CALL PGM(QSMGSSTD) PARM('SSDGAUGE' X'00000008' 'SSTD0100' X'00000000')

in spool you will find result in QPCSMPRT :

     RID                                                                                           
****** MACRO CALLED:SSDGAUGE                                                                       
RUNNING MACRO: RASSYSTEMINFO                                                                       
INVOCATION ............................ RASSYSTEMINFO                                              
SYSTEM TYPE/MODEL/SERIAL NUMBER ....... 9009-42A-7855XXX                                           
CURRENT SYSTEM TIME (LIVE) ............ 12/27/2023 22:52:59.6639240000                             
LOGICAL PARTITION NUMBER .............. 4                                                          
IS PARTITION PHYP OR I5/OS? ........... I5/OS                                                      
IS SYSTEM PHYP OR HYPERVISOR? ......... PHYP                                                       
IS THIS A MAIN STORE DUMP SESSION? .... NO                                                         
SLIC RELEASE .......................... 740                                                        
SLIC DRIVER ........................... 0                                                          
PIRANHA TYPE .......................... PIRANHA -NATIVE                                            
MACRO EXECUTION MODE .................. NATIVE                                                     
DRIVER TYPE ........................... GA                                                         
DRIVER LEVEL .......................... 06N0406                                                    
RUNNING MACRO: DDTOOLS                       SSDFUELGAUGE                                          
SYSTEM TYPE 9009 / MODEL 42A / FEATURE CODE EP1E / SERIAL NUMBER 78-55XXX   / RELEASE V7R4M0       
1. RESOURCE NAME: DMP001                                                                           
   LOCATION CODE: U78D2.001.WZS0AKT-P2-D1                               
   PART NUMBER: 01LU830                                                 
   SERIAL NUMBER: 4KV0ER8X                                              
   FIRMWARE LEVEL: B52G                                                 
   NUMBER OF BYTES WRITTEN TO SSD: 185343 GB                            
   NUMBER OF WRITTEN BYTES SUPPORTED: 3588096 GB                        
   LIFE REMAINING GAUGE: 95%                                            
   PFA TRIP (PREDICTIVE FAILURE ANALYSIS WARNING HAS BEEN LOGGED): NO   
   POWER ON DAYS: 1616                                                  
2. RESOURCE NAME: DMP005                                                
   LOCATION CODE: U78D2.001.WZS0AKT-P2-D2                               
   PART NUMBER: 01LU830                                                 
   SERIAL NUMBER: 4KV0ARMX                                              
   FIRMWARE LEVEL: B52G                                                 
   NUMBER OF BYTES WRITTEN TO SSD: 199836 GB                            
   NUMBER OF WRITTEN BYTES SUPPORTED: 3588096 GB                        
   LIFE REMAINING GAUGE: 95%                                            
   PFA TRIP (PREDICTIVE FAILURE ANALYSIS WARNING HAS BEEN LOGGED): NO   
   POWER ON DAYS: 1616                                                  
3. RESOURCE NAME: DMP003                                                
   LOCATION CODE: U78D2.001.WZS0AKT-P2-D3                               
   PART NUMBER: 01LU830                                                 
   SERIAL NUMBER: 4KV0H2WX                                              
   FIRMWARE LEVEL: B52G                                                 
   NUMBER OF BYTES WRITTEN TO SSD: 194191 GB                            
   NUMBER OF WRITTEN BYTES SUPPORTED: 3588096 GB                        
   LIFE REMAINING GAUGE: 95%                                            
   PFA TRIP (PREDICTIVE FAILURE ANALYSIS WARNING HAS BEEN LOGGED): NO   
   POWER ON DAYS: 1616                                                  
4. RESOURCE NAME: DMP007                                                
   LOCATION CODE: U78D2.001.WZS0AKT-P2-D4                               
   PART NUMBER: 01LU830                                                 
   SERIAL NUMBER: 4KV0EL4X                                              
   FIRMWARE LEVEL: B52G                                                 
   NUMBER OF BYTES WRITTEN TO SSD: 183329 GB                            
   NUMBER OF WRITTEN BYTES SUPPORTED: 3588096 GB                        
     RID                                                                
   LIFE REMAINING GAUGE: 95%                                               
   PFA TRIP (PREDICTIVE FAILURE ANALYSIS WARNING HAS BEEN LOGGED): NO   
   POWER ON DAYS: 1616    
****** END OF DUMP ******                                                       

If you have LIFE REMAINING GAUGE: 0%  on any of disk then :
The SSD has reached the limit for the number of write operations that are supported. The SSD is now a read-only drive and should be replaced. When the operating system writes to the SSD, the write operations are rejected, and the operating system treats the drive as if a failure occurred. Replace the drive.

 

You can run similar command for NVMe device :

CALL PGM(QSMGSSTD) PARM('NVMEGAUGE' X'00000009' 'SSTD0100' X'00000000')