From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 14:32: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 7A268283 for ; Wed, 30 Jan 2013 14:32:17 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id B5D0ED72 for ; Wed, 30 Jan 2013 14:32:16 +0000 (UTC) Received: (qmail 21821 invoked from network); 30 Jan 2013 18:32:12 +0400 Received: from localhost-artem.itlegion.ru (HELO ?192.168.0.12?) (192.168.0.12) by 84.21.226.211 with SMTP; 30 Jan 2013 18:32:12 +0400 Message-ID: <51092ECA.6070808@itlegion.ru> Date: Wed, 30 Jan 2013 18:31:38 +0400 From: Artem Kuchin Organization: IT Legion User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Warren Block Subject: Re: Software raid VS hardware raid References: <5106E301.4070707@itlegion.ru> <5107A500.4030902@itlegion.ru> <5107FC3C.4030701@itlegion.ru> <51090721.2010606@itlegion.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Wed, 30 Jan 2013 14:32:17 -0000 30.01.2013 18:06, Warren Block: > On Wed, 30 Jan 2013, Artem Kuchin wrote: > >> >> 30.01.2013 1:01, Warren Block: >>> 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. >> >> Please, clarify what you mean here. > > If only one GPT partition on a drive is mirrored with another GPT > partition on another drive, head contention never comes up. There is > only one mirror. > > It does nearly eliminate the usefulness of GPT partitioning. > Um... and how can i do that if i have a simple mirror with two drives and want to mirror everything on them? As i understand i will have at least bootable, swap and ufs parttions on those drives, that is 3 partitions at least. Artem