From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 09:25:33 2003 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 B7B3A16A4BF for ; Wed, 3 Sep 2003 09:25:33 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3814E43F75 for ; Wed, 3 Sep 2003 09:25:32 -0700 (PDT) (envelope-from mail23@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.9/8.12.9) with ESMTP id h83GQFna038621; Wed, 3 Sep 2003 18:26:16 +0200 (CEST) (envelope-from mail23@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.12.9/8.12.9/Submit) id h83GQEGB038620; Wed, 3 Sep 2003 18:26:14 +0200 (CEST) X-Authentication-Warning: ei.bzerk.org: bulk set sender to mail23@bzerk.org using -f Date: Wed, 3 Sep 2003 18:26:14 +0200 From: Ruben de Groot To: jesse reynolds Message-ID: <20030903162614.GB38375@ei.bzerk.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: RAID1 is DEGRADED, but which disk is faulty? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ruben de Groot List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 16:25:33 -0000 On Wed, Sep 03, 2003 at 10:45:05PM +1000, jesse reynolds typed: > Hi > > How do you tell which disk has problems in a hardware RAID1 array? My > machine has been up for nearly six months, and only the last three > weeks of messages logs are retained. There is nothing any in the last > three weeks of system logs about any kind of hardware error, or > warning, or anything mentioning ar0, ad4, or ad6. > > atacontrol is showing a DEGRADED status of the mirror: > > # atacontrol status ar0 > ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED > > > How does one tell which disk is faulty? Or is it possible that > they've become out of sync and need rebuilding, in which case which > one do I detach and reattach? > > I'm scared to reboot as it's a running server. What can I do???? You can try this: umount /dev/ar0 fsck -f -n /dev/ad4 fsck -f -n /dev/ad6 This way (hopefully) you'll be able to establish which one of the disks in the array has developed problems. Then reboot and rebuild the array from the other disk using the controllers firmware. Ruben > Cheers > > Jesse > > PS: > > FreeBSD 4.6.2-RELEASE > > atapci1: port > 0xdc00-0xdc3f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 > mem 0xdffe0000-0xdfffffff irq 11 at device 16.0 on pci0 > > ar0: 76293MB [9726/255/63] status: READY subdisks: > 0 READY ad4: 76319MB [155061/16/63] at ata2-master UDMA100 > 1 READY ad6: 76319MB [155061/16/63] at ata3-master UDMA100 > > > # atacontrol list > ATA channel 0: > Master: no device present > Slave: no device present > ATA channel 1: > Master: acd0 ATA/ATAPI rev 0 > Slave: no device present > ATA channel 2: > Master: ad4 ATA/ATAPI rev 5 > Slave: no device present > ATA channel 3: > Master: ad6 ATA/ATAPI rev 5 > Slave: no device present > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"