From owner-freebsd-questions@FreeBSD.ORG Fri May 23 15:11:33 2008 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 84D9C1065677 for ; Fri, 23 May 2008 15:11:33 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 439E18FC1B for ; Fri, 23 May 2008 15:11:33 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id m4NFBU7C021740; Fri, 23 May 2008 08:11:32 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: =?iso-8859-2?Q?Nejc_=A9koberne?= Date: Fri, 23 May 2008 08:12:38 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <48368904.8090503@skoberne.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Fri, 23 May 2008 08:11:32 -0700 (PDT) Cc: 'User Questions' Subject: RE: RAID 0+1 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, 23 May 2008 15:11:33 -0000 > -----Original Message----- > From: Nejc Škoberne [mailto:nejc@skoberne.net] > Sent: Friday, May 23, 2008 2:06 AM > To: Ted Mittelstaedt > Cc: 'User Questions' > Subject: Re: RAID 0+1 > > > Hey, > > > don't use gmirror and atacontrol at the same time. Use one or > the other. > > I don't. As I said: > > > Then I would merge the second > > slice of all 4 drives into a 0+1 array (first gstriping and > > then gmirroring them). I somehow succeeded this, but I also > > get a WARNING when booting the system: > > So I am gstriping first and then gmirroring the stripes. > And I am getting this warning message: > > >> WARNING: Expected rawoffset 0, found 63 > > I don't know if I should worry about this or not. > You mentioned you used atacontrol to create the array, that's not part of gmirror. However in any case, you are not done. What you need to do now is write some data to the array, then unplug one of the sata connectors to the drive. The array will go into fault mode. Then you need to add the disk back in and see if the array will accept it, or if the array ends up scotching everything. A mirror is no good if it can't actually survive a fault. I used to do this when selling servers to HP Proliants. I'd have a customer with me and go to one of our production, running HP servers, eject a drive from the array, give it to the customer for inspection, then plug it back in. Other than the red light appearing on the drive for a few minutes, the rebuild operation was entirely in hardware, the server wouldn't even blink. If your array can't do that, your just basically technically masterbating with your system to feel good - it is in actuality a completely worthless mirror setup. Ted