building a mirror in a partition

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Sep 25 06:41:14 PDT 2004


On Sat, Sep 25, 2004 at 03:00:18PM +0200, Willem Jan Withagen wrote:
+> >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.

Because those two providers share the same last sector, so they share
the same metadata and there is no information by default, which provider
is the right one (you should add '-h' option).
IMHO this is a better behaviour, because you can move your disk, copy it
to another disk via dd(1), etc. and it will be still recognized by gmirror.

-- 
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/20040925/4eba0995/attachment.bin


More information about the freebsd-geom mailing list