From owner-freebsd-geom@FreeBSD.ORG Tue Jan 2 10:01:38 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 2885016A407 for ; Tue, 2 Jan 2007 10:01:38 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30310.mail.mud.yahoo.com (web30310.mail.mud.yahoo.com [209.191.69.72]) by mx1.freebsd.org (Postfix) with SMTP id E616F13C457 for ; Tue, 2 Jan 2007 10:01:37 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 87142 invoked by uid 60001); 2 Jan 2007 10:01:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=viGP73ZQ27MJeAdnAMl63pcysxHmolB5+0nMhqAio6AEXwFsWMSt2QWDjqffz3JG8h/FfFWhqcaU5qVwSh7Fd8tlqP+xYrkukDR/ZE/6KHHuS5FxKV0IUqJETABr4ZrcvU7yDZ8VrF3rFT0wgBflh+40zkTw8trtYlF4PfnF0FU= ; Message-ID: <20070102100137.87140.qmail@web30310.mail.mud.yahoo.com> X-YMail-OSG: _3zPCXYVM1mJr8FskiQa1VeJUPbYsVbJJrJj.pygFxNtntUSZ_Ao3F2EfnRzbVke6eKMlsS4jrd9YsNKE_qM_6ivB11Z4ZtdSYj3tFf0NyPQD1V_atrWOtVQEkMICOwspLKLauJhXPJhh3w- Received: from [213.54.170.50] by web30310.mail.mud.yahoo.com via HTTP; Tue, 02 Jan 2007 02:01:37 PST Date: Tue, 2 Jan 2007 02:01:37 -0800 (PST) From: "R. B. Riddick" To: Ivan Voras , freebsd-geom@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: 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: Tue, 02 Jan 2007 10:01:38 -0000 --- Ivan Voras wrote: > Gary Palmer wrote: > > > 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. > > Well, yes... though the "only" things lost in this case are the > processes using the swap :) But you're right in the general case. > Hmm... I wonder what gmirror is good for, when one of its consumers fails... 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 think an infinite page/swap-out transaction is quite bad for a FreeBSD, so that we will need a reboot anyway... I think, graid5 (http://home.tiscali.de/cmdr_faako/geom_raid5.tbz) would handle that better... But I did not test that for some weeks... Now I will reboot, in order to get rid of the "dd"... :-) -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com