From owner-freebsd-geom@FreeBSD.ORG Sat Sep 25 13:00:22 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F45216A4CE; Sat, 25 Sep 2004 13:00:22 +0000 (GMT) Received: from freebee.digiware.nl (dsl439.iae.nl [212.61.63.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id B669D43D49; Sat, 25 Sep 2004 13:00:20 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from [212.61.27.71] (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with ESMTP id i8PD0I9S047670; Sat, 25 Sep 2004 15:00:19 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <41556BE2.5060803@withagen.nl> Date: Sat, 25 Sep 2004 15:00:18 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <4153441A.9010303@withagen.nl> <20040924074925.GD9550@darkness.comp.waw.pl> In-Reply-To: <20040924074925.GD9550@darkness.comp.waw.pl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-geom@freebsd.org Subject: Re: building a mirror in a partition X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Sep 2004 13:00:22 -0000 Pawel Jakub Dawidek wrote: >On Thu, Sep 23, 2004 at 11:46:02PM +0200, Willem Jan Withagen wrote: >+> Hi, >+> >+> I'm trying to build a geom mirror on 2 partitions on 2 different disks. >+> Below you can see that the partitioning should be correct. >+> But everytime I try to create the mirror, it seems to forget the 'h' on >+> the second disk and take the whole disk a second part of the mirror. >+> This strikes me a a sort of odd. >+> >+> Questions: >+> - should this work? >+> - should it work this way? > >Yes. It is because gstripe store metadata in the last provider's sector >and if two providers ends in the same place - you have a problem. >In that case, you should create you stripe by adding '-h' option, which >will add provider's name to metadata, so only this provider will be >connected to your stripe. > > the -h was my friend..... I do not really understand why it was trying to use the whole slice for mirroring?? But that might be my ignorance. --WjW