From owner-freebsd-questions@FreeBSD.ORG Fri Feb 10 13:15:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C035E1065678 for ; Fri, 10 Feb 2012 13:15:56 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mx1.webtent.net (esmtp1.webtent.net [208.38.145.6]) by mx1.freebsd.org (Postfix) with ESMTP id 9035C8FC13 for ; Fri, 10 Feb 2012 13:15:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id D85622E27D for ; Fri, 10 Feb 2012 08:15:55 -0500 (EST) Received: from mx1.webtent.net ([127.0.0.1]) by localhost (mx1.webtent.net [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 66868-01 for ; Fri, 10 Feb 2012 08:15:55 -0500 (EST) Received: from [192.168.1.67] (media.rfitz.com [72.64.244.53]) (Authenticated sender: robert@mx1.webtent.net) by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id 5E5D62E23A for ; Fri, 10 Feb 2012 08:15:55 -0500 (EST) Message-ID: <4F35187D.4090902@webtent.org> Date: Fri, 10 Feb 2012 08:15:41 -0500 From: Robert Fitzpatrick Organization: WebTent Networking, Inc. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: WebTent Mailguard 1.0.2a Subject: Resetting RAID1 drive as Non-RAID X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 13:15:56 -0000 I have a FreeBSD 9.0 server with an Intel RAID card that has two array mirrors of which one has failed. The remote host was not responding and had it reset to find in the RAID utility one of the drives had failed one of the RAID 1 arrays. Perhaps I shouldn't have, but I told the utility to use the drive again and it added back to the array with the 'Rebuild' message on the array, which means to rebuild the array within the OS. I went into the system as single user mode and did a 'fsck -y' on all the /etc/fstab mounts... > backup# cat /etc/fstab > # Device Mountpoint FStype Options > Dump Pass# > /dev/ar0s1b none swap sw 0 0 > /dev/ar0s1a / ufs rw 1 1 > /dev/ar0s1f /home ufs rw 2 2 > /dev/ar0s1d /usr ufs rw 2 2 > /dev/ar0s1e /var ufs rw 2 2 > #/dev/ar1s1d /data ufs > rw,userquota,groupquota 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 The drive that failed is in the ar1 array. I can mount /data in single user mode and see all files fine, but it continues to report INCORRECT BLOCK COUNT messages and UNEXPECTED SOFT UPDATE INCONSISTENCY errors as well as allocated frags marked free and reports CLEAN no matter how many times I run fsck on the drive. I can mount the /data partition in normal mode, but will receive errors about 'lock order reversal' when doing umount on the drive or it will lock the system after several minutes with panic error if left mounted. Assuming my problem is that the drive needs to be replaced, now that the drive is in the array again, the utility no longer indicates which drive is bad. I believe I remember which it was, but not 100% sure. Is there a way to determine which physical drive is bad using FreeBSD? If able to reset to Non-RAID, would that allow FreeBSD to mount the DEGRADED array and continue to access to the data or does the drive need to be pulled in order to possibly satisfy FreeBSD to allow me to mount RAID-1 array DEGRADED? In the end, I am hoping to mount this array with the one drive until I can get the replacement drive installed. Thanks for any help, I realize some of this is related to the Intel RAID, just wanted to see if someone was familiar with how to recover from such a situation.