How can one associate a 3ware controller with the corresponding /dev/tw?? device?
        Posted  
        
            by 
                barbaz
            
        on Super User
        
        See other posts from Super User
        
            or by barbaz
        
        
        
        Published on 2012-09-10T15:00:11Z
        Indexed on 
            2012/09/10
            15:40 UTC
        
        
        Read the original article
        Hit count: 321
        
I have a few 3ware RAID controllers installed in a system. Is there any way to figure out the mapping between the following identifiers, each describing in a way the very same RAID controller?
- The tw_cli reported controller id (e.g. c0,c1,c2,...)
 - The corresponding device nodes that allow smartctl access via the 3ware driver (e.g. /dev/twa0, /dev/twa1, /dev/twl0)
 - The block device presented to the system representing a RAID unit (/dev/sda, /dev/sdb,...)
 
© Super User or respective owner