From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 18:31:13 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 9A91F16A4CE for ; Tue, 18 Jan 2005 18:31:13 +0000 (GMT) Received: from mail.minutemenu.com (mail.minutemenu.com [69.93.74.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2834743D1D for ; Tue, 18 Jan 2005 18:31:13 +0000 (GMT) (envelope-from jreeder@minutemenu.com) Received: from localhost (localhost.minutemenu.com [127.0.0.1]) by mail.minutemenu.com (Postfix) with ESMTP id 27E612288AD for ; Tue, 18 Jan 2005 12:22:12 -0600 (CST) Received: from mail.minutemenu.com ([69.93.74.12]) by localhost (lisa.minutemenu.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48430-02 for ; Tue, 18 Jan 2005 12:22:11 -0600 (CST) Received: from jreed (office.minutemenu.com [216.138.72.218]) by mail.minutemenu.com (Postfix) with SMTP id 8BE142288AA for ; Tue, 18 Jan 2005 12:22:11 -0600 (CST) From: "Jonathan Reeder" To: Date: Tue, 18 Jan 2005 12:33:14 -0600 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by amavisd-new at mail.minutemenu.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Problems with dump of an atacontrol-ed RAID1 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: Tue, 18 Jan 2005 18:31:13 -0000 I have an ICH6 SATA RAID controller that I have set up with atacontrol to behave as a RAID1 array. The array (ar0) consists of ad4 and ad6. Last night I started a dump like so: # dump -0Luaf /dev/da0s1 / to *hopefully* dump my root filesystem (ar0s1a) to a usb storage device. Now here is where things get a little fuzzy... The dump started just fine, and I was able to stick around until dump reported that it was about 10% done. At that point, I left for the night and then woke up to calls from users saying that they couldn't access services on that box. When I got to the terminal, I noticed that the last couple of dump's output messages on screen had to do with being unable to read from ar0s1a. I hit ^C to kill the dump and was asked if I wanted to abort. I said yes and that was the end of that terminal. I couldn't Alt+Fx or ssh in, so I had to power down the machine and bring it back up. When I did, ar0 was gone! So obviously the boot process told me it couldn't find its root filesystem and asked me for another one. I gave it ad4s1a and the machine came up just fine, albeit without RAID. So... has anyone had any experience with this? Does a rigged atacontrol software RAID not play well with a dump? I'm trying to figure out: a) why my dump failed b) why my ar0 RAID array was destroyed in the process I described above Lastly, if anyone with experience with atacontrol can tell me the best way to rebuild my array without losing any data. I *think* that I need to just create an "array" that only consists of one of my two drives (probably ad4 since its the one that's live right now), then add a hotspare (ad6), and rebuild. Is that right? The only real step I'm worried about is the "atacontrol create" statement, because I'm afraid it will wipe the drive right off the bat. Thanks a bunch, Jonathan Reeder