From owner-freebsd-geom@FreeBSD.ORG Thu Aug 24 11:53:44 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36A7916A4DD for ; Thu, 24 Aug 2006 11:53:44 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F09343D53 for ; Thu, 24 Aug 2006 11:53:41 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k7OBreb1071038; Thu, 24 Aug 2006 06:53:40 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44ED9343.20402@centtech.com> Date: Thu, 24 Aug 2006 06:53:39 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Ulf Lilleengen References: <20060814073128.GA27499@stud.ntnu.no> In-Reply-To: <20060814073128.GA27499@stud.ntnu.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1721/Wed Aug 23 19:06:46 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: gvinum drivegroups and concat command 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: Thu, 24 Aug 2006 11:53:44 -0000 On 08/14/06 02:31, Ulf Lilleengen wrote: > Hi, > > I'm doing work on gvinum these days, and I've implemented a possibility of > drivegroups. It is possible to add drives to group at creation, but it will also > be possible to add drives to groups afterwards. The advantage with drivegroups > are not very big right now, but I've started to work on the first command that > will take utilization of drivegroups. > > The concat command creates a concatenated volume, and from old vinum, it uses > drives as parameter. With drivegroups one can now still specify drives, or > groups or you don't even have to specify anything but the size, as gvinum then > will use the default drivegroup and create a volume for you there. > > This is how i think the concat command should be like: > - if name not specified, use drivegroup-volnum (maybe somethingelse) > - size must be specified, or maybe a "fill drives/group" argument? > - if group specified, it tries to create subdisks on all drives in the > drivegroup. > - if drivegroup not specified, and neither drives; use > defaultdrivegroup. > - if drives specified, use them. overrides drivegroups. > > The general usage will be: > concat [-f] [-n name] [-v] [-g group] [drives] > > Further advantages with drivegroups can be the mirror and stripe commands, as > well as the possibility to move drivegroups between different machines and group > your drives into logical collections. There will be more on this later. > > If anyone have any suggestions, I would like to hear it, as I'm starting on > implementing these commands now and think it's very important that it's being > done right. If I have overlooked anything, feel free to comment. Other > improvements in gvinum is mentioned in the lastest status report. > Will you also be able to remove/move drives from drivegroups? This sounds like a neat feature. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------