From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 14:06:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 21AF0A60 for ; Wed, 30 Jan 2013 14:06:46 +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 D1A8CBDC for ; Wed, 30 Jan 2013 14:06:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r0UE6jYv038020; Wed, 30 Jan 2013 07:06:45 -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 r0UE6jHB038017; Wed, 30 Jan 2013 07:06:45 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 30 Jan 2013 07:06:45 -0700 (MST) From: Warren Block To: Artem Kuchin Subject: Re: Software raid VS hardware raid In-Reply-To: <51090721.2010606@itlegion.ru> Message-ID: References: <5106E301.4070707@itlegion.ru> <5107A500.4030902@itlegion.ru> <5107FC3C.4030701@itlegion.ru> <51090721.2010606@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]); Wed, 30 Jan 2013 07:06:45 -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: Wed, 30 Jan 2013 14:06:46 -0000 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.