From owner-freebsd-current@FreeBSD.ORG Sat Jun 12 21:29:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D707516A523 for ; Sat, 12 Jun 2004 21:29:12 +0000 (GMT) Received: from imap.univie.ac.at (mail.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21BD943D2F for ; Sat, 12 Jun 2004 21:29:12 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from leelou (adslle.cc.univie.ac.at [131.130.102.11]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i5CLStKJ1282184 for ; Sat, 12 Jun 2004 23:28:57 +0200 Date: Sat, 12 Jun 2004 23:28:55 +0200 (CEST) From: Lukas Ertl To: current@FreeBSD.org Message-ID: <20040612232725.N35614@leelou.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mail 4248; Body=1 Fuz1=1 Fuz2=1 Subject: HEADSUP: geom_vinum committed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 21:29:13 -0000 Dear hackers, I've just committed a first geomified version of vinum, surprisingly called geom_vinum. Please read on before you all go out and run your cvsups, as there are some things to note: *) It's not yet connected to the build, as it is not really finished yet, but I wanted to give you something to play around with. Some functions of the 'old' vinum aren't implemented yet, some will never be, as they aren't needed anymore, or where I don't see a real reason to bring them over. *) As if you wouldn't have guessed: don't use it on important data. It probably won't set your box on fire, but you never know. *) You can use it on your existing vinum setup, as it uses the same on-disk configuration format. But don't run both vinum and geom_vinum and the same time. *) You shouldn't need to label any desired slice as type vinum with bsdlabel(8) anymore. In theory, you should be able to dedicate a whole disk to geom_vinum (i.e. 'drive bigstuff device /dev/ad2'). *) Don't unload the module if you have valid objects in your setup. Due to a bug in GEOM this will either panic or deadlock. You can pick up a patch at and rebuild your kernel, then you can safely unload the KLD again. *) If you want to test it: cd /sys/modules/geom/geom_vinum make && make install cd /usr/src/sbin/gvinum make && make install You can then run 'gvinum' (which will load the KLD) and create objects like in the 'old' vinum. The volumes will appear as devices in /dev/gvinum/. Bug reports, suggestions, critics and flames are happily awaited, even more so when they have patches attached. :-) Thanks, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/