From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 11:43:08 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 297752AA for ; Wed, 30 Jan 2013 11:43:08 +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 4154B1B9 for ; Wed, 30 Jan 2013 11:43:06 +0000 (UTC) Received: (qmail 20718 invoked from network); 30 Jan 2013 15:42:58 +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 15:42:58 +0400 Message-ID: <51090721.2010606@itlegion.ru> Date: Wed, 30 Jan 2013 15:42:25 +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> 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 11:43:08 -0000 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. > >> 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. > As i understand from the man page -n setup the device not to auto rebuild ever. So, this is probably the thing i want. I need to setup a test system and play with it a bit. Artem