From owner-freebsd-geom@FreeBSD.ORG Tue Jan 23 19:07:23 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 136AA16A401 for ; Tue, 23 Jan 2007 19:07:23 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id DDA2713C461 for ; Tue, 23 Jan 2007 19:07:22 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l0NJ7IT6094104 for ; Tue, 23 Jan 2007 13:07:18 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45B65CE5.2010600@freebsd.org> Date: Tue, 23 Jan 2007 13:07:17 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070121) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <200701231848.l0NImq37089654@lurza.secnetix.de> In-Reply-To: <200701231848.l0NImq37089654@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2480/Tue Jan 23 05:21:51 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Subject: Re: clear metadata using dd? 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, 23 Jan 2007 19:07:23 -0000 On 01/23/07 12:48, Oliver Fromme wrote: > Eric Anderson wrote: > > Oliver Fromme wrote: > > > Fernan Aguero wrote: > > > > adxs1, swap > > > > adxs2, gmirror > > > > adxs3, gstripe > > > > > > Can someone please explain why such a setup makes sense? > > > > > > As far as I can tell, the purpose of gmirror is to provide > > > redundancy in the case of drive failure. I.e. if one > > > drive fails, the system keeps running happily instead of > > > crashing. > > > > > > But if only part of the disk is mirrored, then the system > > > will still crash if one drive fails. So what is the point > > > of using gmirror, if not on whole disks? > > > > You might crash, but the data on the mirror on one of the disks is still > > there, so you haven't lost all the data. > > Right, but you have lost all the data in the partitions that > are not mirrored. The system is basically unusable and will > need to be restored from backup. > > In this particular case, if I understood Fernan correctly, > the mirror contains the root file system, while all other > data is on a gstripe (not mirrored). So if a drive fails, > the system crashes and all of the actual user data is > lost. The fact that you still have a good root file > system on one of the disks doesn't help much in that > situation. Unless you don't care about the data on that partition. For instance, a cvs mirror, or ftp mirror, or ISO storage area, or build directory, etc. Maybe you want the mirror because you'll put home areas on it, or custom configs, or something else. Anyway, the point is that you can do whatever you wish, even if it doesn't make sense to somebody else.. :) Hooray for UNIX! Eric