Date: Mon, 8 Nov 2004 21:20:42 +0100 From: Mark Frasa <bsd@frasa.net> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: freebsd-geom@freebsd.org Subject: Re: gmirror problems Message-ID: <20041108202042.GA2961@orion.frasa.net> In-Reply-To: <20041108164540.GF8120@darkness.comp.waw.pl> References: <200411081140.57792.michael.riexinger@de.clara.net> <20041108120513.GH11057@calleigh.elde.net> <20041108124606.GC8120@darkness.comp.waw.pl> <200411081540.05593.michael.riexinger@de.clara.net> <20041108164540.GF8120@darkness.comp.waw.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2004.11.08 17:45:40 +0000, Pawel Jakub Dawidek wrote: > On Mon, Nov 08, 2004 at 03:40:05PM +0100, Michael Riexinger wrote: > +> 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? > > Unfortunately, gmirror and other GEOM classes are not supported by our > installer. > > The safest way to do what you want is to: > > # gmirror label <name> ad1 > create slices and partitions on /dev/mirror/<name> > create file system > copy data from ad0 to <name> > change /etc/fstab to boot from /dev/mirror/<name>s1a or something > reboot > # gmirror insert <name> ad0 > > -- > Pawel Jakub Dawidek http://www.FreeBSD.org > pjd@FreeBSD.org http://garage.freebsd.pl > FreeBSD committer Am I Evil? Yes, I Am! Hello, After trying to setup gvinum for 2 weeks, i ran into problems which even Lukas Ertl couldn't solve. Now i am trying to setup geom_mirror, when i do the above things: "gmirror label data ad1" /dev/mirror is not available. Why is this? Am i missing something or what? Cheers Mark.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041108202042.GA2961>