From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 27 20:03:49 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA3241065672 for ; Wed, 27 Jun 2012 20:03:49 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 71E058FC12 for ; Wed, 27 Jun 2012 20:03:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Date:References:Subject:To:Content-Type; bh=65WMy77W9X92VcWKzPzlhdwkeXq8VSSYNtkvreUPwZ0=; b=e6sCKEGzVJMNxyvfNl6pDTYDhH4lBNDhkU67243N4I+jdze/NRwNaz7NUM1Fd7fHHgS/yUJgQs0Ou2gLHr/bNCAQohWUQ6cOrK1AvM6FNGx8Ax90CFtMfMBlwqQhB6ma; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SjySq-000I5a-5i for freebsd-hackers@freebsd.org; Wed, 27 Jun 2012 15:03:48 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1340827422-94480-94479/5/69; Wed, 27 Jun 2012 20:03:42 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-hackers@freebsd.org References: <4FE9B01C.30306@yandex.ru> <201206261337.11741.jhb@freebsd.org> Date: Wed, 27 Jun 2012 15:03:41 -0500 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: <201206261337.11741.jhb@freebsd.org> User-Agent: Opera Mail/12.00 (FreeBSD) X-SA-Score: -1.5 Subject: Re: [CFC/CFT] large changes in the loader(8) code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 20:03:49 -0000 On Tue, 26 Jun 2012 12:37:11 -0500, John Baldwin wrote: > I'm > hesitant to encourage the use of this as I do think putting GPT inside > of a > gmirror violates the GPT spec. I personally think this use case is a bit ... odd, anyway. I have only request to those that manage GPT/GEOM/etc -- as I'm used to doing multiple mdadm RAID components on Linux for maximum flexibility, using gmirror upon multiple GPT partitions upon the same physical device is OK with me. My only complaint is that recovery is very, very stupid. We should by default detect and only rebuild ONE gmirror device at a time on the same physical provider. You get nothing but a smokin' angry head if you allow multiple to rebuild at the same time because it's fighting over sequential writes all the way across the platters. It would also be nice if gmirror rebuild could also be detected by fsck and fsck could either hold off or gmirror could be paused until a consistent filesystem state exists. It's probably best for the background fsck to go first so you can get the system up and running, but then when it's finished gmirror should continue. Otherwise I have no issues with gmirror -- it does exactly the job I need it to.