From owner-freebsd-questions@FreeBSD.ORG Tue Jan 29 21:01:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C4E07736 for ; Tue, 29 Jan 2013 21:01:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 88E787E5 for ; Tue, 29 Jan 2013 21:01:17 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r0TL1GKZ031034; Tue, 29 Jan 2013 14:01:16 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r0TL1DqQ031031; Tue, 29 Jan 2013 14:01:16 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 29 Jan 2013 14:01:13 -0700 (MST) From: Warren Block To: Artem Kuchin Subject: Re: Software raid VS hardware raid In-Reply-To: <5107FC3C.4030701@itlegion.ru> Message-ID: References: <5106E301.4070707@itlegion.ru> <5107A500.4030902@itlegion.ru> <5107FC3C.4030701@itlegion.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 29 Jan 2013 14:01:16 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2013 21:01:17 -0000 On Tue, 29 Jan 2013, Artem Kuchin wrote: > > 29.01.2013 18:57, Warren Block: >> On Tue, 29 Jan 2013, Artem Kuchin wrote: >> >> The Handbook chapter on gmirror talks about the problems with GPT and GEOM >> metadata. In short: right now, they conflict. It's possible to mirror GPT >> partitions, but be aware that if you mirror more than one partition on a >> drive, a rebuild after replacing a drive could thrash the heads as mirrors >> are rebuilt simultaneously. >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html >> >> > > So, > gmirror+GPT=conflict on last sector > GPT+gmirror = hardrive head kill > > nice... > > So, for no more than 2TB disks the best way to go is GMIRROR of the drive > +PARTITION on top of it? GPT partitions should work, just limit it to one mirrored partition per drive. > Or maybe there is a way to instruct gmirror do rebuild only what i say > (manual rebuild) ? 'gmirror configure -n' ? Have not tried it. The trick would be to do that before multiple mirrors start rebuilding, which they will as soon as geom_mirror.ko is loaded.