From owner-freebsd-questions@FreeBSD.ORG Fri Oct 22 16:30:10 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 C4D0A16A4CE for ; Fri, 22 Oct 2004 16:30:10 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7080F43D4C for ; Fri, 22 Oct 2004 16:30:08 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (pool-151-199-90-129.roa.east.verizon.net [151.199.90.129]) by gromit.dlib.vt.edu (8.13.1/8.13.1) with ESMTP id i9MGTk7L047938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Oct 2004 12:29:47 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from zappa.Chelsea-Ct.Org (localhost.Chelsea-Ct.Org [127.0.0.1]) by zappa.Chelsea-Ct.Org (8.13.1/8.13.1) with ESMTP id i9MGTe6o019047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Oct 2004 12:29:41 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: (from paul@localhost) by zappa.Chelsea-Ct.Org (8.13.1/8.13.1/Submit) id i9MGTdRf019046; Fri, 22 Oct 2004 12:29:39 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) X-Authentication-Warning: zappa.Chelsea-Ct.Org: paul set sender to paul@gromit.dlib.vt.edu using -f From: Paul Mather To: freebsd-questions@freebsd.org In-Reply-To: <20041022120848.DA08616A4D6@hub.freebsd.org> References: <20041022120848.DA08616A4D6@hub.freebsd.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1098462577.43225.24.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 22 Oct 2004 12:29:39 -0400 cc: Mark Frasa Subject: Re: (g_)vinum] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 16:30:10 -0000 On Fri, 22 Oct 2004 10:55:37 +0200, Mark Frasa wrote: > On 2004.10.22 10:26:25 +0000, Mark Frasa wrote: > > > On Thursday 21 October 2004 12:21, Mark Frasa wrote: > > can you or anyone tell me how to make gvinum load automatically? > > > > In /boot/loader.conf I set: > > > > vinum_load="YES" > > vinum.autostart="YES" > > > > This doest not work, even: > > > > gvinum_load="YES" > > gvinum.autostart="YES" > > > > When i boot in single user mode and i mount the gvinum volumes, > everything is OK! > > Thus it really is the problem of the autoload and start of vinum. > > > > Mark. > > AH, i found the error: > > the configfile was named gvinum.conf > > Thus vinum _did_ load but could nog find any disks. > > Now i renamed it to /etc/vinum.conf it starts up, reconizes all the > plexes and disks and tells every part is up. > > The error is see is: > > Mounting root from ufs:/dev/gvinum/root > set root by name failed > ffs_mountroot: can't find rootvp > Root mount failed: 6 > > Then it goes to manual root filesystem specification. > > Any ID? It looks from the above that you are loading the vinum kernel module, not the geom_vinum kernel module. To load the correct one, add the following to your /boot/loader.conf file: geom_vinum_load="YES" That's all you need. You should remove any extraneous cruft from /etc/rc.conf that might cause the vinum kernel module to be loaded, e.g., remove "start_vinum" if it's there. Also remove any non-geom_vinum Vinum entries from /boot/loader.conf. E.g., remove "vinum_load" and "vinum.autostart" if still present. Note that the Vinum configuration resides on the drives, so you shouldn't need an "/etc/vinum.conf" or similar to configure your Vinum volumes on subsequent reboots. You only need it initially to create the Vinum configuration. Geom_vinum will scan the drives during boot and activate any Vinum configuration it discovers. Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa