Re: RAID1 with gmirror

From: Emanuel Strobl <Emanuel.Strobl_at_gmx.net>
Date: Mon, 11 Oct 2004 10:43:27 +0200
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"

Received on Mon Oct 11 2004 - 06:43:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC