From owner-freebsd-questions@FreeBSD.ORG Mon Mar 14 19:16:10 2005 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 D8F7416A4CE for ; Mon, 14 Mar 2005 19:16:10 +0000 (GMT) Received: from shiva.nextrials.com (shiva.nextrials.com [64.81.74.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2A3343D2D for ; Mon, 14 Mar 2005 19:16:10 +0000 (GMT) (envelope-from dannyman@toldme.com) Received: from [192.168.1.102] (mito.sr.nextrials.com [192.168.1.102]) by shiva.nextrials.com (Postfix) with ESMTP id 5F7A63C2826 for ; Mon, 14 Mar 2005 11:16:10 -0800 (PST) Message-ID: <4235E2F9.2070002@toldme.com> Date: Mon, 14 Mar 2005 11:16:09 -0800 From: Danny Howard User-Agent: Mozilla Thunderbird 1.0 (X11/20041209) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: probe dmesg status of RAIDs -- twe and amr 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: Mon, 14 Mar 2005 19:16:11 -0000 Hello, I have a bunch of FreeBSD systems, many with hardware RAIDs. The problem is, I have no easy way of checking to see that they are okay. I tried once to get the 3ware binary to work with the 3ware kernel module to get to work with the 3ware firmware update that I had to ... ARGHH! It was awful. On the other hand, in /var/run/dmesg : twed0: on twe0 twed0: 114472MB (234439600 sectors) twe0: command interrupt Or, on another system: amrd0: on amr0 amrd0: 140012MB (286744576 sectors) RAID 5 (optimal) I know from experience that the "Normal" on the twed0 means "nothing broken" and I like to think the "optimal" on the amrd0 means "RAID5 is doing fine." This is enough information for me . . . if a RAID is in a failure state, I can live with gracefully failing a server, if need be, and booting in to the BIOS to get the real information. The problem is, I only get these messages when I boot . . . and I don't boot very often, of course. I have tried poking around sysctl, atacontrol, camcontrol . . . all to see how I might probe out these messages on a regular basis, but I can not figure it out. Can someone give me a tip on how to pull up bits of dmesg output while the system is running? Or if someone has better advice on checking up on the status of various flavors of RAID . . . Thanks in Advance, -danny