gmirror gm0 destroyed on shutdown; GPT corrupt

Marcel Moolenaar xcllnt at mac.com
Tue Jun 30 21:38:10 UTC 2009


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 at mac.com





More information about the freebsd-geom mailing list