From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 17 16:10:04 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96CBF16A4CE for ; Sat, 17 Jan 2004 16:10:04 -0800 (PST) Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50FE443D1F for ; Sat, 17 Jan 2004 16:10:01 -0800 (PST) (envelope-from l.ertl@univie.ac.at) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) by mailbox.univie.ac.at (8.12.10/8.12.10) with ESMTP id i0I09tJh266192 for ; Sun, 18 Jan 2004 01:09:57 +0100 Date: Sun, 18 Jan 2004 01:09:50 +0100 (CET) From: Lukas Ertl To: hackers@freebsd.org Message-ID: <20040118010036.M599@korben.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-DCC-ZID-Univie-Metrics: imap 4243; Body=0 Fuz1=0 Fuz2=0 Subject: GEOM + Vinum X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 00:10:04 -0000 Hi -hackers, following the recent discussion about GEOM and Vinum I wrote some proof-of-concept code, or rather, I copy'n'pasted the necessary stuff for a prototype. Of course it's ugly, it's buggy, it's by far not complete, but at least it understands the most basic setup: a volume with a single plex and a single subdisk. This is how such a setup looks like: (this is the actual output from sysctl -b kern.geom.confdot | dot -Tps). And here's the code: . You still need vinum(8) to configure the setup; when you're done, unload vinum again and load geom_vinum. Then you can access your volumes in /dev/gvinum/. regards, le -- Lukas Ertl eMail: l.ertl@univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/