From owner-freebsd-questions@FreeBSD.ORG Mon Sep 6 20:00:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9B4C16A4D0 for ; Mon, 6 Sep 2004 20:00:41 +0000 (GMT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2215643D39 for ; Mon, 6 Sep 2004 20:00:14 +0000 (GMT) (envelope-from j@uriah.heep.sax.de) Received: from sax.sax.de (localhost [127.0.0.1]) by sax.sax.de (8.12.10/8.12.10) with ESMTP id i86K051A027732; Mon, 6 Sep 2004 22:00:05 +0200 (CEST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.12.10/8.12.10/Submit) with UUCP id i86K05OC027731; Mon, 6 Sep 2004 22:00:05 +0200 (CEST) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (localhost.heep.sax.de [127.0.0.1]) by uriah.heep.sax.de (8.12.10/8.12.10) with ESMTP id i86JoA3R082090; Mon, 6 Sep 2004 21:50:10 +0200 (MET DST) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.12.10/8.12.10/Submit) id i86Jo62d082089; Mon, 6 Sep 2004 21:50:06 +0200 (MET DST) (envelope-from j) Date: Mon, 6 Sep 2004 21:50:06 +0200 From: Joerg Wunsch To: FreeBSD Daemon Message-ID: <20040906215006.F27859@uriah.heep.sax.de> References: <004601c490bf$5a5acd30$0401a8c0@kojo> <1094126812.87337.442.camel@CoolDude.VanValzah.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1094126812.87337.442.camel@CoolDude.VanValzah.Com>; from Bob@VanValzah.Com on Thu, Sep 02, 2004 at 07:06:52AM -0500 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GnuPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 X-Spam-Status: No, hits=-0.0 required=7.5 tests=BAYES_40 autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on uriah.heep.sax.de cc: freebsd-questions@freebsd.org cc: vinum-devel@auug.org.au Subject: Re: [Vinum-devel] loader.conf variables for vinum X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Wunsch List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 20:00:42 -0000 [root@vinum with FreeBSD 4.x] As Bob Van Valzazh wrote: > Short answer: don't set vinum.autostart > Long answers: 5.x contains code to discover all attached disk drives > whereas 4.x does not. Hence 4.x needs to be told were to look for > disks (that's the vinum.drives setting). Vinum.autostart just tells > 5.x to run the discovery code. Addition: the code to parse the name of the root device in 4.x is too narrow-minded to parse a string like /dev/vinum/root, it can only parse [/dev/]DDU[sS]P-style root device names (DD - driver name, U - unit number, sS - slice number, P - partition letter). Thus you need to set the vinum.root variable so the vinum subsystem pre-determines the name of the root device, and the parser for the root device name will be bypassed. FreeBSD 5.x contains a much more flexible parser for the root device name, which allows each subsystem to place hooks into it, and try translating a name like /dev/vinum/root into the respective major/minor device number. That's why vinum.root is no longer needed under 5.x either. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)