From owner-freebsd-questions@FreeBSD.ORG Wed Nov 3 17:57:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ED9216A4CE for ; Wed, 3 Nov 2004 17:57:23 +0000 (GMT) Received: from allrounder.lame.at (mail.softlink.at [195.58.166.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id D047F43D31 for ; Wed, 3 Nov 2004 17:57:22 +0000 (GMT) (envelope-from haimat@lame.at) Received: from itchy (home.lame.at [80.78.254.138]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by allrounder.lame.at (Postfix) with ESMTP id 121E82FE87 for ; Wed, 3 Nov 2004 18:56:43 +0100 (CET) From: "Matthias F. Brandstetter" To: freebsd-questions@freebsd.org Date: Wed, 3 Nov 2004 19:57:19 +0200 User-Agent: KMail/1.7 References: <200410292355.43148.haimat@lame.at> <200410312333.44999.haimat@lame.at> <200411010415.47282.4711@chello.at> In-Reply-To: <200411010415.47282.4711@chello.at> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411031857.19970.haimat@lame.at> Subject: Re: howto software raid under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 17:57:23 -0000 ---------- 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