Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 12:51:57 -0700
From:      Darren Pilgrim <list_freebsd@bluerosetech.com>
To:        Alexey Egorov <electreg@list.ru>, freebsd-hackers@freebsd.org
Subject:   Re: determine drive's SAS port
Message-ID:  <5262E2DD.6030703@bluerosetech.com>
In-Reply-To: <1382192148.119437035@f257.i.mail.ru>
References:  <1382192148.119437035@f257.i.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/19/2013 7:15 AM, Alexey Egorov wrote:
> 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).

Many RAID cards can indicate a port by blinking the activity light.  If 
not, perhaps you can trace the cables and get a PCB diagram?  This is 
exactly why I write the WWN, serial and, for ZFS/graid, GPT label on a 
visible edge of the disk/sled.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5262E2DD.6030703>