From owner-freebsd-stable@FreeBSD.ORG Wed Mar 16 03:31:53 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38FDE16A4CE for ; Wed, 16 Mar 2005 03:31:53 +0000 (GMT) Received: from mailhost.u-strasbg.fr (mailhost.u-strasbg.fr [130.79.200.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DED143D3F for ; Wed, 16 Mar 2005 03:31:52 +0000 (GMT) (envelope-from pda@crc.u-strasbg.fr) Received: from vagabond.ma.maison (vpnclient6.u-strasbg.fr [130.79.1.6]) id j2G3Vjtk058567 ; Wed, 16 Mar 2005 04:31:50 +0100 (CET) Received: from vagabond.ma.maison (localhost.ma.maison [127.0.0.1]) j2G3Vidf004567 ; Wed, 16 Mar 2005 04:31:44 +0100 (CET) Received: (from pda@localhost) by vagabond.ma.maison (8.13.3/8.13.3/Submit) id j2G3VcuS004566; Wed, 16 Mar 2005 04:31:38 +0100 (CET) (envelope-from pda) Date: Wed, 16 Mar 2005 04:31:38 +0100 From: Pierre DAVID To: "Constant, Benjamin" Message-ID: <20050316033138.GA4160@vagabond.ma.maison> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (mailhost.u-strasbg.fr [130.79.200.154]); Wed, 16 Mar 2005 04:31:50 +0100 (CET) X-Antivirus: scanned by sophos at u-strasbg.fr cc: stable@freebsd.org Subject: Re: Panic with amr and 5.4-PRERELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 03:31:53 -0000 On Tue, Mar 15, 2005 at 11:12:49AM +0100, Constant, Benjamin wrote: > > Fyi, > > The tool is working fine but doesn't show up rebuild state (just removed a > drive and card bios is showing up rebuild on hotspare). > I think it's coming from the driver as it doesn't say that logical device is > in rebuild state. > > root@liemaster01:~: dmesg | grep amrd0 > amrd0: on amr0 > amrd0: 35073MB (71829504 sectors) RAID 1 (degraded) > Mounting root from ufs:/dev/amrd0s1a > > root@liemaster01:~: ./amrstat -l0 > Drive 0: 34.25 GB, RAID1 > degraded > You're right. The driver doesn't report the rebuild state. > > By the way, this tool seems promising, thanks for the effort! > Coupled with a simple perl script which periodically calls amrstat on all volumes, it has been proved very useful by the past. However, under heavy I/O load, the amr driver returns meaningful information. This is the reason why amrstat.c make a few attempts. Since this is only to send a mail for an alert, We ignore these "false positive". Pierre David