From owner-freebsd-geom@FreeBSD.ORG Tue Feb 5 15:58:39 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 D0F3416A419 for ; Tue, 5 Feb 2008 15:58:39 +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 D84FA13C447 for ; Tue, 5 Feb 2008 15:58:38 +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 D82E516C73D; Tue, 5 Feb 2008 16:58:36 +0100 (CET) Received: from carrot.studby.ntnu.no (unknown [IPv6:2001:700:300:3::185]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 2F86816C697; Tue, 5 Feb 2008 16:58:36 +0100 (CET) Date: Tue, 5 Feb 2008 16:58:35 +0100 From: Ulf Lilleengen To: Paolo Tealdi Message-ID: <20080205155835.GA72917@carrot.studby.ntnu.no> Mail-Followup-To: Paolo Tealdi , freebsd-geom@freebsd.org References: <20080205143622.GA72541@carrot.studby.ntnu.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: freebsd-geom@freebsd.org Subject: Re: raid of a concat in gvinum X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "..."@carrot.studby.ntnu.no List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2008 15:58:39 -0000 On tir, feb 05, 2008 at 04:08:07pm +0100, Paolo Tealdi wrote: > At 15.36 05/02/2008 +0100, Ulf Lilleengen wrote: >> . By your calculation I assume you >> want to do raid5 on the data. (Getting 300 + 300 + 300 where 1/3 is used for > > Yes i would like to create a raid 5 disk of 600GB > >> perform the following operations: >> >> 1. Use the current concatenated volume you already have, >> 2. Create three new disks, one of them pointing to the volume and the two >> other pointing to you new disks. >> 3. Create a raid5 plex and volume. >> >> The additional configuration would be something like: >> >> drive r1 device /dev/gvinum/ >> drive r2 device /dev/ >> drive r3 device /dev/ > > I thought that it was a conf like that, but i wasn't sure that the > configuration program accept a gvinum device instead of a real device. > It should work, but there will be some overhead since a request to that provider will have to pass through gvinum twice. And, since your version of gvinum is quite different from my patched version, it might work in just one of them. > >> I have not tried this myself, so I can't guarantee that it works. I'd >> appreciate if you send your current configuration so I can make sure my tips >> here will be correct to your wishes. > > I will do a good backup and i'll try in the next few days. > > >> As a last note, I recommend trying out my patches for gvinum in case you run >> into any problems. It also contains the mentioned manpage-update. They can be >> found here: >> http://people.freebsd.org/~lulf/patches/gvinum/ >> Currently I only have >= RELENG_7 patches though. I can generate >> RELENG_6-patches if you really want :) > > when will you commit that patches in the release ? These patches will not be committed to the 7.0-RELEASE since it need sufficient review first, and since we're almost at RC2 it's way to late to put it in now :) However, I'll be working on getting it in for 7.1. > > In any case i'll try the configuration and tell you the result. > Great. Good luck :) -- Ulf Lilleengen