From owner-freebsd-hardware@FreeBSD.ORG Wed Dec 19 20:00:37 2007 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47C0116A420 for ; Wed, 19 Dec 2007 20:00:37 +0000 (UTC) (envelope-from freebsd-hardware@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C27B013C478 for ; Wed, 19 Dec 2007 20:00:36 +0000 (UTC) (envelope-from freebsd-hardware@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J54vm-0005gi-QP for freebsd-hardware@freebsd.org; Wed, 19 Dec 2007 19:50:14 +0000 Received: from 78-1-107-175.adsl.net.t-com.hr ([78.1.107.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Dec 2007 19:50:14 +0000 Received: from ivoras by 78-1-107-175.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Dec 2007 19:50:14 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hardware@freebsd.org From: Ivan Voras Date: Wed, 19 Dec 2007 20:30:37 +0100 Lines: 68 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9AD33FA5A582041F19BCCCA1" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-107-175.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-Enigmail-Version: 0.95.5 Sender: news Subject: Re: Questions about gmirror X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2007 20:00:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9AD33FA5A582041F19BCCCA1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ravi Pokala wrote: > (1) What is the procedure for swapping out a dead drive while the syste= m is > online? If the drive and the controller support hot swapping, remove it, put a new drive in and do: # atacontrol reinit channel # gmirror forget gm0 # gmirror insert gm0 /dev/newdrive Not many ATA drive+controller combinations are hot-swap-able. > (2) Say a drive dies as a result of a power event, and does not respond= to > probing during the subsequent boot. Once I swap out the drive, (how) ca= n I > get the system to re-probe, recognize the new drive, and start > reconstruction? Exactly the same as above. > (3) Will the stock bootloader and kernel be able to boot from just ad6 = if > ad4 dies, or is ad4 special because it was the original boot drive? (Or= is > this a function of the BIOS?) It's a function of the BIOS but once the kernel boots it will bring up gm0 and proceed from there "as usual". > (4) Say I have two identical machines Foo and Bar, and four identical d= rives > A, B, C, and D. I insert drive A into machine Foo as /dev/ad4 and insta= ll > 6.2-RELEASE. I then insert drive B into Foo as /dev/ad6 and mirror usin= g the > procedure described above. When mirroring completes, I shut Foo down. C= an I > then pull drive B out of Foo:/dev/ad6 and install it in machine > Bar:/dev/ad4, install drives C and D as /dev/ad6 on both machines to ac= t as > new mirrors, and effectively clone Foo's installation onto Bar? With creative use of "gmirror forget" and "gmirror insert", yes. --------------enig9AD33FA5A582041F19BCCCA1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaXFdldnAQVacBcgRAuXiAKCJ6n5vXR6ai7mvbHrlrZB/u2kcGwCgnKzG n6UJYj3xNRftL19wodKdmSg= =9ZHB -----END PGP SIGNATURE----- --------------enig9AD33FA5A582041F19BCCCA1--