gmirror problems
Mark Frasa
bsd at frasa.net
Mon Nov 8 12:20:47 PST 2004
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 at 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.
More information about the freebsd-geom
mailing list