Linux – How to identify failed drive/port on 3ware card

3warelinuxraid

I have a 3ware 9650-SE controller with 2 drives in RAID-1 configuration. The drive on "port 1" has an error but the drive cages aren't labeled. I tried using the cli to "identify" the drive but tw_cli just spits out "N/A". I thought this might blink the drive activity LED but no:

# tw_cli /c7/p1 set identify=on
Setting port Identify on /c7/p1 to [on] ... N/A

How can I blink the drive activity of the individual port to find out which drive in the array is the one which is bad?

Best Answer

Found a way to do it using the "show all" command on a shell loop:

# while [ 1 ] ;do  tw_cli  /c7/p0 show all; done

This creates sufficient access to the individual drive (p0) to blink the light on the drive bay.