From owner-freebsd-geom@FreeBSD.ORG Wed Jan 3 08:35:39 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE1DA16A403 for ; Wed, 3 Jan 2007 08:35:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 7616813C457 for ; Wed, 3 Jan 2007 08:35:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id DD69E45B26; Wed, 3 Jan 2007 09:35:36 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 7F1B045685; Wed, 3 Jan 2007 09:35:28 +0100 (CET) Date: Wed, 3 Jan 2007 09:35:05 +0100 From: Pawel Jakub Dawidek To: "R. B. Riddick" Message-ID: <20070103083505.GB6253@garage.freebsd.pl> References: <20070102100137.87140.qmail@web30310.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5QAgd0e35j3NYeGe" Content-Disposition: inline In-Reply-To: <20070102100137.87140.qmail@web30310.mail.mud.yahoo.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Ivan Voras , freebsd-geom@freebsd.org Subject: Re: Recommended gmirror solution with swap? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 08:35:40 -0000 --5QAgd0e35j3NYeGe Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 02, 2007 at 02:01:37AM -0800, R. B. Riddick wrote: > --- Ivan Voras wrote: > > Gary Palmer wrote: > >=20 > > > Except in the case where a drive holding some swapped out memory goes= bad > > > and the system panics or crashes as a result. It might not make as > > > much sense for desktops, but if I were (still) building servers I'd > > > mirror everything that the system depended on to run. > >=20 > > Well, yes... though the "only" things lost in this case are the > > processes using the swap :) But you're right in the general case. > >=20 > Hmm... I wonder what gmirror is good for, when one of its consumers fails= =2E.. >=20 > I just setup this test setting: > 1. gnop on ad0s1gd > 2. gmirror on ad0s1gd.nop (hardcoded (-h)) and ad0s1ge > 3. dd (writes from /dev/urandom to the mirror) > 4. gnop configure -v -f 100 ad0s1gd.nop > 5. dd becomes unresponsive; CTRL+t says: > load: 0.78 cmd: dd 11034 [physwr] 0.01u 0.68s 0% 612k I can't reproduce it. What block size did you use for dd(1)? I did a lot of testing in the past with gmirror/graid3 and gnop(8), actually, this is why I implemented gnop(8) in the first place. If it doesn't work, it's a bug in gmirror, but I can't reproduce it with quite recent current. From what I see you're not using recent current, because there is no '-f' option for gnop(8) anymore, but it should also work with RELENG_6, so more info which will allow me to reproduce the problem would be helpful. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --5QAgd0e35j3NYeGe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFm2q5ForvXbEpPzQRAmZHAJ4uXy2rF8H17S/sFLZ6ch196drhVwCcDaOk 3YFRwuB8TFkCp/x3LOWDNjo= =+ry4 -----END PGP SIGNATURE----- --5QAgd0e35j3NYeGe--