From owner-freebsd-stable@FreeBSD.ORG Fri Mar 30 09:19:53 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F585106567A for ; Fri, 30 Mar 2012 09:19:53 +0000 (UTC) (envelope-from mpumford@mpcdata.com) Received: from owa.bsquare.com (vpn.bsquare.com [12.107.117.66]) by mx1.freebsd.org (Postfix) with ESMTP id 650718FC18 for ; Fri, 30 Mar 2012 09:19:53 +0000 (UTC) Received: from [10.150.16.163] (81.2.99.171) by BREAL.camelot.bsquare.com (192.168.100.67) with Microsoft SMTP Server (TLS) id 14.1.218.12; Fri, 30 Mar 2012 02:18:41 -0700 Message-ID: <4F757A67.5080302@mpcdata.com> Date: Fri, 30 Mar 2012 10:18:31 +0100 From: Mike Pumford User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120322 Firefox/12.0 SeaMonkey/2.9 MIME-Version: 1.0 To: References: <4F68FC3E.2090401@icritical.com> <4F71FEAE.3090506@icritical.com> <4F72C588.2000204@icritical.com> <4F7309E2.4000502@icritical.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [81.2.99.171] Subject: Re: SAS Drive identification LEDs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 09:19:53 -0000 Fred Liu wrote: >> >> How would you identify such a drive on any other system? >> > > Normally, there are printed labels as the backup solution. > You can identify SAS drives in an enclosure if the drive and enclosure provide the information needed. If you issue an INQUIRY EVPD read of page 0x83 on the drive it should give you the WWN and target SAS addresses of the drive. You should then be able to tie this up with the array element in the enclosure by matching it up with data in the SES diagnostic page 0xA from the enclosure. sg3_utils provides command line tools that can perform these queries. Mike -- Mike Pumford, Senior Software Engineer MPC Data Limited e-mail: mpumford@mpcdata.com web: www.mpcdata.com tel: +44 (0) 1225 710600 fax: +44 (0) 1225 710601 ddi: +44 (0) 1225 710635