building a mirror in a partition

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Sep 24 00:49:27 PDT 2004


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.

+>    - What does error=17 mean in the logging?

errno(2): EEXIST - File exists.
It means that gstripe detects two (or more) providers which claim to be
your stripe components.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20040924/110c94eb/attachment.bin


More information about the freebsd-geom mailing list