RAID1 with gmirror

Axel S. Gruner axel.gruner at
Mon Oct 11 01:37:38 PDT 2004


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.
If i use another disk, da2 and da3, umount them, gmirror labeling will
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.


More information about the freebsd-current mailing list