From owner-freebsd-geom@FreeBSD.ORG Wed Jul 1 15:29:40 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8099B1065673; Wed, 1 Jul 2009 15:29:40 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id 695E88FC13; Wed, 1 Jul 2009 15:29:40 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed Received: from macbook-pro.lan.xcllnt.net ([75.101.29.67]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KM400B4S0CZ4O50@asmtp023.mac.com>; Wed, 01 Jul 2009 08:29:30 -0700 (PDT) From: Marcel Moolenaar In-reply-to: <20090701135338.GE4372@garage.freebsd.pl> Date: Wed, 01 Jul 2009 08:29:23 -0700 Message-id: References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <2FFFB36F-EFA3-4D92-98A3-692BA2D6F63E@mac.com> <20090629210003.GA24038@keira.kiwi-computer.com> <704EE47D-F0C4-4C63-AA3C-3ADF92CC8379@mac.com> <20090701135338.GE4372@garage.freebsd.pl> To: Pawel Jakub Dawidek X-Mailer: Apple Mail (2.1068) Cc: rick-freebsd2008@kiwi-computer.com, freebsd-geom@freebsd.org Subject: Re: gmirror gm0 destroyed on shutdown; GPT corrupt X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 15:29:40 -0000 On Jul 1, 2009, at 6:53 AM, Pawel Jakub Dawidek wrote: >> Answer the following: >> >> foo0 is a provider with 3 sectors. >> bar is a geom class that puts meta-data in the first sector. >> baz is a geom class that puts meta-data in the last sector. >> >> Both bar and baz get to taste foo0. Which one should go first? > > Marcel, I don't think you expect than entire world will agree on one > place where metadata should be stored? No, I don't expect it. But we do need to realize that there is a race and unless we keep track of the ordering (outside of GEOM), we will always run into some scenarios where the tasting results in warnings or errors... -- Marcel Moolenaar xcllnt@mac.com