From owner-freebsd-geom@FreeBSD.ORG Mon Aug 14 07:32:11 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 4450216A4F2 for ; Mon, 14 Aug 2006 07:32:11 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from fri.itea.ntnu.no (fri.itea.ntnu.no [129.241.7.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id B964343DE2 for ; Mon, 14 Aug 2006 07:31:30 +0000 (GMT) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 852B58187 for ; Mon, 14 Aug 2006 09:31:28 +0200 (CEST) Received: from gaupe.stud.ntnu.no (gaupe.stud.ntnu.no [129.241.56.184]) by fri.itea.ntnu.no (Postfix) with ESMTP for ; Mon, 14 Aug 2006 09:31:28 +0200 (CEST) Received: by gaupe.stud.ntnu.no (Postfix, from userid 2312) id 4D593CFFFC; Mon, 14 Aug 2006 09:31:28 +0200 (CEST) Date: Mon, 14 Aug 2006 09:31:28 +0200 From: Ulf Lilleengen To: freebsd-geom@FreeBSD.org Message-ID: <20060814073128.GA27499@stud.ntnu.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: Subject: 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: Mon, 14 Aug 2006 07:32:11 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 drivegro= ups are not very big right now, but I've started to work on the first command t= hat will take utilization of drivegroups. The concat command creates a concatenated volume, and from old vinum, it us= es 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 t= hen 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 bei= ng done right. If I have overlooked anything, feel free to comment. Other improvements in gvinum is mentioned in the lastest status report. --=20 Mvh Ulf Lilleengen --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFE4CbQCILg8nMIdCURAj1yAJ0Yya5w19mOHGucEqW/nev6Rr4TXwCfcUUU V4u/whOB8MvKUJL3CgWVsfA= =WJ7n -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--