gmirror failed with error 19.

Nicolas Rachinsky fbsd-mas-0 at ml.turing-complete.org
Sun Oct 16 16:58:56 UTC 2011


* Lev Serebryakov <lev at FreeBSD.org> [2011-10-16 20:20 +0400]:
> You wrote 16 ??????? 2011 ?., 20:15:54:
> 
> >>> Of course you have to create the gpt inside the gmirror, not on the
> >>> same device the gmirror is based on. The warnings occur, when the gpt
> >>> is seen on the real disk. But later the gpt on the gmirror is used,
> >>> and on the device created by gmirror, gpt uses the last sector of that
> >>> device.
> >>> I hope this will not change.
> > Yes, it works as you have described.
>   As we can see, it doesn't work as described for some users. And,
> again, think about picking up GPT from mirror component, as reported
> by many others.

Hardcoding the providers should avoid this. Sadly glabel (and gpt and
its labels) cannot be hardcoded. At the moment I'm just using the
mirror name (with pX... attached) to avoid this.

Nicolas

-- 
http://www.rachinsky.de/nicolas


More information about the freebsd-geom mailing list