From owner-freebsd-geom@FreeBSD.ORG Tue Jun 30 21:38:10 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 2F6CE1065673; Tue, 30 Jun 2009 21:38:10 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 185338FC1C; Tue, 30 Jun 2009 21:38:09 +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 asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KM2004Y0MR7RQ90@asmtp029.mac.com>; Tue, 30 Jun 2009 14:38:06 -0700 (PDT) From: Marcel Moolenaar In-reply-to: <20090629210003.GA24038@keira.kiwi-computer.com> Date: Tue, 30 Jun 2009 14:37:55 -0700 Message-id: <704EE47D-F0C4-4C63-AA3C-3ADF92CC8379@mac.com> 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> To: rick-freebsd2008@kiwi-computer.com X-Mailer: Apple Mail (2.1068) Cc: Ivan Voras , 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: Tue, 30 Jun 2009 21:38:10 -0000 On Jun 29, 2009, at 2:00 PM, Rick C. Petty wrote: > [[ Removing the double cross-post, since this is GEOM-specific ]] > > On Sat, Jun 27, 2009 at 06:20:49PM -0700, Marcel Moolenaar wrote: >> >> Using the last sector is not only flawed because it creates a race >> condition, > > It shouldn't create a race condition. It does. 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 Moolenaar xcllnt@mac.com