building a mirror in a partition

Willem Jan Withagen wjw at withagen.nl
Sat Sep 25 06:00:22 PDT 2004


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



More information about the freebsd-geom mailing list