From owner-freebsd-questions@FreeBSD.ORG Wed Nov 3 14:52:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 971BE16A4CE for ; Wed, 3 Nov 2004 14:52:08 +0000 (GMT) Received: from hermes.math.ohio-state.edu (hermes.math.ohio-state.edu [140.254.92.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A2A943D45 for ; Wed, 3 Nov 2004 14:52:08 +0000 (GMT) (envelope-from alden@math.ohio-state.edu) Received: from zaphod.math.ohio-state.edu (zaphod.math.ohio-state.edu [140.254.93.75])iA3Eq5Iw002584 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Wed, 3 Nov 2004 09:52:05 -0500 Received: from zaphod.math.ohio-state.edu (localhost [127.0.0.1]) iA3Eq5td020593 for ; Wed, 3 Nov 2004 09:52:05 -0500 Received: (from alden@localhost)iA3Eq56U020591 for freebsd-questions@freebsd.org; Wed, 3 Nov 2004 09:52:05 -0500 Date: Wed, 3 Nov 2004 09:52:05 -0500 From: Dave Alden To: freebsd-questions@freebsd.org Message-ID: <20041103145205.GA20496@math.ohio-state.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-OSU-Math-MailScanner-Information: Please contact support for more information X-OSU-Math-MailScanner: Found to be clean X-MailScanner-From: alden@math.ohio-state.edu Subject: how do I get the status of a raid array? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 14:52:08 -0000 Hi, I'm new to FreeBSD (switching my primary NFS server over from RHEL) and I'm trying to figure out how I can get the current status of my RAID setup. I'm using an LSI MegaRAID 320-2x card and FreeBSD 5.3RC2 (don't worry, I'm just testing for now, I'm going to wait until 5.3 is officially released before I try to go live :-). What I need is to be able to write a script that checks the status of the RAID array and notifies me if it becomes degraded. I previously did it by using the /proc FS under linux to check the current status of the RAID array. Help? ...thnx, ...dave alden