Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 08:05:42 GMT
From:      Anton Stamenov <ais@epiq.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/71755: vinum bootstrapping problem
Message-ID:  <200409150805.i8F85gsH030562@www.freebsd.org>
Resent-Message-ID: <200409150810.i8F8ATa4089469@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409150805.i8F85gsH030562>