How can one associate a 3ware controller with the corresponding /dev/tw?? device?
- by barbaz
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,...)