RAID1 with gmirror

Emanuel Strobl Emanuel.Strobl at gmx.net
Mon Oct 11 01:43:37 PDT 2004


Am Montag, 11. Oktober 2004 10:39 schrieb Axel S. Gruner:
> Hi.
>
> Christian Hiris schrieb am Monday, den 11. October 2004:
> > > On Sun, Oct 10, 2004 at 03:22:28PM +0200, Christian Hiris wrote:
> > > > # gmirror configure -v -b load mirror0 ad0
> > >
> > >             ^^^^^^^^^
> > >            label?
> >
> > Yes, that should read "label" - sorry!
>
> I tried it with "label" in single user mode, but i do not get it work.
> The error message is: "too few paramaters".
>
> > An example in 'man gmirror' describes how to set up a gmirror array on a
> > disk with valid data. It uses 'gmirror lable' w/o extra labeling. I
> > understand it the way that the term 'valid data' means 'existing
> > (non-gmirror-)data on an already (before-gmirror-)labeled disk'. Maybe my
> > understanding is wrong and you gave me the hint to the reason why my
> > mirrors break on startup. I will do some testing on this.
>
> I also understand it that way. The problem is, or seems to be, "gmirror
> label -v -b load mirror0 da0" does not work for me on a mounted device.

You can set kern.geom.debugflags to 16. Then the command should succeed but no 
guarantee that you shoot yourself into the foot!

-Harry

> If i use another disk, da2 and da3, umount them, gmirror labeling will
> work.
> So, in my understanding, i have to boot from another bootable device,
> and set up gmirror on da0 (where / is sitting an waiting to get
> mirrored) and da1 while these devices are not mounted.
>
> Axel
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
-------------- 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-current/attachments/20041011/2fd5e3c4/attachment.bin


More information about the freebsd-current mailing list