From nobody@FreeBSD.org  Wed Sep 15 08:05:47 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 89FCE16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <ais@epiq.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: vinum bootstrapping problem
X-Send-Pr-Version: www-2.3

>Number:         71755
>Category:       kern
>Synopsis:       [vinum] vinum bootstrapping problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    le
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 15 08:10:28 GMT 2004
>Closed-Date:    Sun Aug 21 15:37:37 GMT 2005
>Last-Modified:  Sun Aug 21 15:37:37 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-bugs->le 
Responsible-Changed-By: le 
Responsible-Changed-When: Wed Sep 15 16:51:53 GMT 2004 
Responsible-Changed-Why:  
Take another vinum PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71755 
State-Changed-From-To: open->feedback 
State-Changed-By: le 
State-Changed-When: Sat Nov 27 15:17:46 GMT 2004 
State-Changed-Why:  
Please put  

geom_vinum_load="YES" 

into /boot/loader.conf and report how that works for you. 

Thanks. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=71755 
State-Changed-From-To: feedback->closed 
State-Changed-By: le 
State-Changed-When: Sun Aug 21 15:37:26 GMT 2005 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71755 
>Unformatted:
