gmirror problems

Michael Riexinger michael.riexinger at de.clara.net
Mon Nov 8 06:39:34 PST 2004


On Monday 08 November 2004 13:46, Pawel Jakub Dawidek wrote:
> On Mon, Nov 08, 2004 at 01:05:13PM +0100, Terje Elde wrote:
> +> On Mon, Nov 08, 2004 at 12:55:06PM +0100, Pawel Jakub Dawidek
> wrote: +> > Ok, everything is clear now. You disconnected ad1, but
> ad0 was marked +> > for synchronization. It that case gmirror cannot
> find any valid component, +> > because the only one it can find is
> stale.
> +> > So:
> +> > 1. You should test it when mirror is in complete state (then you
> can remove +> >    any component).
> +> > 2. You can remove ad0 and put ad1 to make your test.
> +>
> +> Hi,
> +>
> +> This makes a interesting question pop up in my head.
> +>
> +> If his ad1 had been reformatted, burned or lost, if there any way
> he could try +> to partially recover from this?
>
> Yes, he can just:
>
>  # gmirror create <name> ad0
>
> Only new metadata will be written, data are not touched.
>
> Then just add a new disk and synchronization will start
> automatically:
>
>  # gmirror insert <name> ad1
I did several tests now and all went fine, gmirror is what i was looking 
for :) 
Now a last question: For setting up gmirror on my 2 hd's (the first 
contained a fresh freebsd installation), I had to boot from cd, using 
the fixit cd, chrooting a bit for loading gmirror etc. Is there an 
easier way for doing this? First i tried using the single user mode but 
there was an operation not permitted when i tried to do a 'gmirror 
label'. Can I for example say: Create a mirror on ad1 with the data on 
ad0, wait till it's built, reboot the machine from the gmirror and then 
insert ad0? 


Best regards,

Michael Riexinger
systems engineer

-- 
claranet gmbh   internet service provider
tel   +49 (0) 69  - 40 80 18 - 300
email: michael.riexinger at de.clara.net  http://www.claranet.de/


More information about the freebsd-geom mailing list