Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Nov 2004 19:57:19 +0200
From:      "Matthias F. Brandstetter" <haimat@lame.at>
To:        freebsd-questions@freebsd.org
Subject:   Re: howto software raid under FreeBSD?
Message-ID:  <200411031857.19970.haimat@lame.at>
In-Reply-To: <200411010415.47282.4711@chello.at>
References:  <200410292355.43148.haimat@lame.at> <200410312333.44999.haimat@lame.at> <200411010415.47282.4711@chello.at>

next in thread | previous in thread | raw e-mail | index | archive | help
---------- quoting Christian Hiris ----------
> If you use the whole disk as provider and your disk has left free 512
> bytes after the end of the last slice, gmirror setup works very easy and
> fast (no need to use dump/restore or dd):
>
> - Boot into the live-filesystem.
> - Do a 'gmirror load' and label your "old" disk with 'gmirror label -v
> ...'. - Mount the (now mirrored) / partition on /mnt.
> - echo 'geom_mirror_load="YES"' >> /mnt/boot/loader.conf
> - echo 'swapoff="YES"' >> /mnt/etc/rc.conf
> - Edit /mnt/etc/fstab to reflect the newly created mirror devices.
> - Reboot.
> - Add a second disk to the mirror: 'gmirror insert -v ...'.
> - If you use gdm replace 'reboot' by 'shutdown -r now'.

thanks for this, it worked liked a charm!
greets, Matthias

-- 
I don't want to look like a weirdo.  I'll just go with a muumuu.

  -- Homer Simpson
     King-Size Homer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411031857.19970.haimat>