correct way to setup gmirror on 7.4?

Helmut Schneider jumper99 at gmx.de
Wed Apr 27 20:43:29 UTC 2011


Michael Proto wrote:

> On Wed, Apr 27, 2011 at 3:35 PM, Helmut Schneider <jumper99 at gmx.de>
> wrote:
> > Michael Proto wrote:
> >> Am I using the correct process to create this array?
> > 
> > No. While this works with MBR it fails with GPT as GPT and GEOM both
> > want to use the last sector of the disk.
> > 
> > First create the mirror and after that gpart it.
>
> In my setup I am mirroring only partitions, creating partitions ad4p1,
> ad6p1, ad4p2 and ad6p2 with gpart first, and then mirrors gm0p1 and
> gm0p2 on top of those.
[...]
> Or perhaps I'm misunderstanding what you're saying.

1. Create the mirror
2. Create the partition(s)

Or do the steps described in section 19.4.2 at
http://eis.bris.ac.uk/~mexas/geom-mirror.html

HTH, Helmut



More information about the freebsd-stable mailing list