determine drive's SAS port

Alexey Egorov electreg at list.ru
Sat Oct 19 14:16:25 UTC 2013


 Hello all,

I have a server with LSI HBA card, and when I remove drive I can see following messages in log:

(da0:mps0:0:5:0): lost device - 0 outstanding, 2 refs
(da0:mps0:0:5:0): removing device entry

Is there a way to determine physical port (number "5" in "(da0:mps0:0:5:0)") when drive is inserted? (I need this to be able to create device symlinks based on physical port).

Thanks in advance. 


More information about the freebsd-hackers mailing list