INVRAID

Use the INVRAID program to dump all of the RAID controller configuration information to an output file. For information about the RAID controllers that are supported by INVRAID, refer to the section Table 1.

Environment requirements

INVRAID works by parsing the output of other RAID configuration utilities. To accomplish this, the utilities used by INVRAID must be located in the system search path.

Usage

invraid [-I | -P] -F
Table 1. INVRAID parameters
Parameter Description
-I
Displays information about all host adapters in the system in an .ini file format.
-P
Dumps information about all host adapters in a system in a keyword=value format.
-F	:filename
Directs the output of invraid to the specified file.

Return values

Table 2 lists the values returned by INVRAID.

Table 2. Values returned by INVRAID
Return Value Description
0 Success
1 Syntax error
2 Program error

Examples

To dump the information about all RAID controllers in a system to an .ini file with the name myraid.ini, use the -I parameter as shown here:
invraid.exe -i -f:myraid.ini
Returns:
[System]                                             
Machine_Type = 7233                                  
Serial_Number = 23A0075                              
Total_Number_Of_Controllers = 2                      
                                                     
[RAIDController.1]                                   
Model = LSI-SAS-1078-IR                              
BIOSVersion = 6.22.00.00                             
FirmwareVersion = 1.25.82.00                         
DriverVersion =                                      
RebuildRate = HIGH                                   
StripeSize =                                         
ReadAhead = ADAPTIVE                                 
PCI = 4:0:0:1000:0062:FFFF:FFFF                      
                                                     
[RAIDController.1.Array]                             
Total_Number_Of_Arrays = 1                           
ID.1 = A                                             
Members.1 = 1,2                                      
                                                     
[RAIDController.1.Hotspares]                         
Total_Number_Of_Hotspares = 0                        
                                                     
[RAIDController.1.Logical]                           
Total_Number_Of_Logicals = 1                         
                                                     
Array.1 = A                                          
Size.1 = 139236                                      
Raid_Level.1 = 1                                     
WriteCache.1 = AUTO                                  
State.1 = Okay (OKY)                                 
Derived_State.1 = GOOD                               
                                                     
[RAIDController.1.Physical]                          
Total_Number_Of_Physicals = 4                        
                                                     
Channel.1 = 1                                        
ID.1 = 0                                             
Size.1 = 140013                                      
Type.1 = SAS                                         
Serial_Number.1 = 3NM2SQED0000980322JB               
State.1 = Online (ONL)                               
Derived_State.1 = GOOD                               
                                                     
Channel.2 = 1                                        
ID.2 = 1                                             
Size.2 = 140013                                      
Type.2 = SAS                                         
Serial_Number.2 = 3NM223CV0000974732Y9               
State.2 = Online (ONL)                               
Derived_State.2 = GOOD                               
                                                     
Channel.3 = 1                                        
ID.3 = 2                                             
Size.3 = 140013                                      
Type.3 = SAS                                         
Serial_Number.3 = 3NM2000900009746H8BY               
State.3 = Ready (RDY)                                
Derived_State.3 = GOOD                               
                                                     
Channel.4 = 1                                        
ID.4 = 3                                             
Size.4 = 140013                                      
Type.4 = SAS                                         
Serial_Number.4 = 3NM23J1J00009746XNSB               
State.4 = Ready (RDY)                                
Derived_State.4 = GOOD                               
                                                     
[RAIDController.2]                                   
Model = ServeRAID-MR10M                              
BIOSVersion = 2.02.00                                
FirmwareVersion = 1.40.12-0551                       
DriverVersion =                                      
PCI = 30:0:0:1000:0060:1014:0379                     
                                                     
[RAIDController.2.Array]                             
Total_Number_Of_Arrays = 0                           
                                                     
[RAIDController.2.Hotspares]                         
Total_Number_Of_Hotspares = 0                        
                                                     
[RAIDController.2.Logical]                           
Total_Number_Of_Logicals = 0                         
                                                     
                                                     
[RAIDController.2.Physical]                          
Total_Number_Of_Physicals = 0
Using the -p parameter returns the same information, but the section title from the properties file is shown for each value:
invraid -p -f:myfile.ini
Returns:
System_Machine_Type = 7233                                        
System_Serial_Number = 23A0075                                    
RAIDController.1.Model = LSI-SAS-1078-IR                          
RAIDController.1.BIOSVersion = 6.22.00.00                         
RAIDController.1.FirmwareVersion = 1.25.82.00                     
RAIDController.1.DriverVersion =                                  
RAIDController.1.RebuildRate = HIGH                               
RAIDController.1.StripeSize =                                     
RAIDController.1.ReadAhead = ADAPTIVE                             
RAIDController.1.PCI = 4:0:0:1000:0062:FFFF:FFFF 
                 
RAIDController.1.Array.ID.1 = A                                   
RAIDController.1.Array.Members.1 = 1,2                            

RAIDController.1.Logical.Array.1 = A                              
RAIDController.1.Logical.Size.1 = 139236                          
RAIDController.1.Logical.Raid_Level.1 = 1                         
RAIDController.1.Logical.WriteCache.1 = AUTO                      
RAIDController.1.Logical.State.1 = Okay (OKY)                     
RAIDController.1.Logical.Derived_State.1 = GOOD                   

RAIDController.1.Physical.Channel.1 = 1                           
RAIDController.1.Physical.ID.1 = 0                                
RAIDController.1.Physical.Size.1 = 140013                         
RAIDController.1.Physical.Type.1 = SAS                            
RAIDController.1.Physical.Serial_Number.1 = 3NM2SQED0000980322JB  
RAIDController.1.Physical.State.1 = Online (ONL)                  
RAIDController.1.Physical.Derived_State.1 = GOOD                  
                                                                  
RAIDController.1.Physical.Channel.2 = 1                           
RAIDController.1.Physical.ID.2 = 1                                
RAIDController.1.Physical.Size.2 = 140013                         
RAIDController.1.Physical.Type.2 = SAS                            
RAIDController.1.Physical.Serial_Number.2 = 3NM223CV0000974732Y9  
RAIDController.1.Physical.State.2 = Online (ONL)                  
RAIDController.1.Physical.Derived_State.2 = GOOD                  
                                                                  
RAIDController.1.Physical.Channel.3 = 1                           
RAIDController.1.Physical.ID.3 = 2                                
RAIDController.1.Physical.Size.3 = 140013                         
RAIDController.1.Physical.Type.3 = SAS                            
RAIDController.1.Physical.Serial_Number.3 = 3NM2000900009746H8BY  
RAIDController.1.Physical.State.3 = Ready (RDY)                   
RAIDController.1.Physical.Derived_State.3 = GOOD                  
                                                                  
RAIDController.1.Physical.Channel.4 = 1                           
RAIDController.1.Physical.ID.4 = 3                                
RAIDController.1.Physical.Size.4 = 140013                         
RAIDController.1.Physical.Type.4 = SAS                            
RAIDController.1.Physical.Serial_Number.4 = 3NM23J1J00009746XNSB  
RAIDController.1.Physical.State.4 = Ready (RDY)                   
RAIDController.1.Physical.Derived_State.4 = GOOD                  
                                                                  
RAIDController.2.Model = ServeRAID-MR10M                          
RAIDController.2.BIOSVersion = 2.02.00                            
RAIDController.2.FirmwareVersion = 1.40.12-0551                   
RAIDController.2.DriverVersion =                                  
RAIDController.2.PCI = 30:0:0:1000:0060:1014:0379