From owner-freebsd-geom@FreeBSD.ORG Mon Sep 8 13:58:21 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C95831065670 for ; Mon, 8 Sep 2008 13:58:21 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from bene1.itea.ntnu.no (bene1.itea.ntnu.no [IPv6:2001:700:300:3::56]) by mx1.freebsd.org (Postfix) with ESMTP id 200308FC21 for ; Mon, 8 Sep 2008 13:58:20 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 1CD97400A; Mon, 8 Sep 2008 15:58:19 +0200 (CEST) Received: from nobby (unknown [IPv6:2001:700:300:3::184]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 96B4D4007; Mon, 8 Sep 2008 15:58:18 +0200 (CEST) Date: Mon, 8 Sep 2008 15:57:41 +0200 From: Ulf Lilleengen To: Daniel Scheibli Message-ID: <20080908135741.GA2567@nobby.lan> References: <48C47AD0.50905@edelbyte.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C47AD0.50905@edelbyte.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: freebsd-geom@freebsd.org Subject: Re: Interaction of geom_vinum & geom_eli X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "..."@nobby.lan List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2008 13:58:21 -0000 On Sun, Sep 07, 2008 at 06:07:28PM -0700, Daniel Scheibli wrote: > > Hi all, > > I'am currently considering setting up a FreeBSD based file server > using geom_vinum and geom_eli. > > The stackable approach of GEOM sounds very powerful, so I would > like to better understand (a) if the planned setup is sound and > (b) how the classes would interact in case of an error. > > The configuration I'am looking for is the following stack: > [...] > > My question is how does geom_vinum react on this? > > I suspect it will reconstruct the data from the parity written > to the other disks to service the request. > > But how is the disk - with the corrupt block - handled? Is the > entire disk marked as bad? Or does it only mark that single block? > Does it attempt to rewrite the corrupt data with the reconstructed > data? > Hi, Gvinum will set the state of the drive to "down" (And you will get a "GEOM_VINUM: lost drive XXX" message). It will then as you say reconstruct the data if it's part of a RAID-5 plex. It will not however "salvage" the data on the drive like for instance ZFS. -- Ulf Lilleengen