From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 15 08:10:37 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F39916A4DC for ; Wed, 15 Sep 2004 08:10:37 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FEF743D6D for ; Wed, 15 Sep 2004 08:10:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8F8AT0l089477 for ; Wed, 15 Sep 2004 08:10:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8F8ATa4089469; Wed, 15 Sep 2004 08:10:29 GMT (envelope-from gnats) Resent-Date: Wed, 15 Sep 2004 08:10:29 GMT Resent-Message-Id: <200409150810.i8F8ATa4089469@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anton Stamenov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89FCE16A4CE for ; Wed, 15 Sep 2004 08:05:47 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C7F43D45 for ; Wed, 15 Sep 2004 08:05:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8F85gf6030563 for ; Wed, 15 Sep 2004 08:05:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i8F85gsH030562; Wed, 15 Sep 2004 08:05:42 GMT (envelope-from nobody) Message-Id: <200409150805.i8F85gsH030562@www.freebsd.org> Date: Wed, 15 Sep 2004 08:05:42 GMT From: Anton Stamenov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/71755: vinum bootstrapping problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 08:10:37 -0000 >Number: 71755 >Category: misc >Synopsis: vinum bootstrapping problem >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 15 08:10:28 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Anton Stamenov >Release: FreeBSD 5.3 BETA 4 >Organization: EPIQ EA >Environment: FreeBSD aislap 5.3-BETA4 FreeBSD 5.3-BETA4 #0: Tue Sep 14 14:48:06 EEST 2004 lidow@eth4.at.home:/usr/obj/home/src.curr/sys/hp i386 >Description: I have two mirrored disks set up to bootstrapping vinum. Worked perfect with 5.2-Current ("FreeBSD perko 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jul 27 18:44:41 GMT 2004 root@perko:/usr/src/sys/i386/compile/perko i386"), but when I upgraded to 5.3 BETA4, vinum couldn't find the second disks (ad2) at a boot time with vinum.autostart="YES" and vinum_load="YES" enviroment variables set in loader.conf. If I unset vinum.autostart and start vinum afterwards ... works fine. Even tried to upgrade to Freebsd 6-Currnet, the problem there is bigger. Didn't start vinum at all. Again starting manually afterwards worked. >How-To-Repeat: Create two mirrored disk following the instructions from The Handbook, chapter "17.9 Using Vinum for the Root Filesystem" my vinum create file: drive mitko device /dev/ad0h drive petko device /dev/ad2h volume root plex org concat sd length 150m drive mitko plex org concat sd length 150m drive petko volume var plex org concat sd length 150m drive mitko plex org concat sd length 150m drive petko volume usr plex org concat sd length 1200m drive mitko plex org concat sd length 1200m drive petko lables of ad0 and ad2: # /dev/ad0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 307200 283409 4.2BSD 0 0 0 b: 283128 16 swap c: 8249472 0 unused 0 0 # "raw" part, don't edit h: 7966328 283144 vinum # bsdlabel ad2 # /dev/ad2: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 307200 283409 4.2BSD 2048 16384 19208 b: 283128 16 swap c: 8249472 0 unused 0 0 # "raw" part, don't edit h: 7966328 283144 vinum >Fix: >Release-Note: >Audit-Trail: >Unformatted: