From owner-freebsd-scsi@FreeBSD.ORG Fri Jan 28 15:53:30 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04F3316A4D0 for ; Fri, 28 Jan 2005 15:53:30 +0000 (GMT) Received: from mail.software.plasmon.com (mail.software.plasmon.co.uk [194.130.136.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1BCA43D69 for ; Fri, 28 Jan 2005 15:53:29 +0000 (GMT) (envelope-from jconnett@software.plasmon.com) Received: from skylon.devel.pcs ([10.4.2.152]) by mail.software.plasmon.com with esmtp (Exim 3.35 #1 (Debian)) id 1CuYR2-0003yK-00 for ; Fri, 28 Jan 2005 15:53:24 +0000 Message-ID: <41FA5FE5.3040406@software.plasmon.com> Date: Fri, 28 Jan 2005 15:53:09 +0000 From: John Connett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 X-Accept-Language: en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: LSI53C1020 Integrated Mirroring and mpt? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 15:53:30 -0000 I have a system with an LSI53C1020 controller with the Integrated Mirroring firmware and two disks attached. This operates as a RAID1 array and appears to the rest of the system as a single scsi disk. What I am looking for is a simple utility roughly equivalent to raidutil used with asr(4). Our application uses a simple wrapper around raidutil to query the states of the array and disks; and to command a rebuild of the array. Here's some example output: -su-2.05b# raidutil -L raid Address Type Manufacturer/Model Capacity Status --------------------------------------------------------------------------- d0b0t0d0 RAID 1 (Mirrored) ADAPTEC RAID-1 70149MB Optimal d0b0t0d0 Disk Drive (DASD) MAXTOR ATLASU320_73_SC70149MB Optimal d0b0t1d0 Disk Drive (DASD) MAXTOR ATLASU320_73_SC70149MB Optimal The only information used is from the "Address" and "Status" fields. We also use "raidutil -a rebuild d0" to command a rebuild of the array. What I want is either a similar utility or sufficient information to use the mpt(4) driver to obtain this information. The target platform is FreeBSD 4.x on i386. Any pointers to this information would be gratefully received. -- John Connett