From owner-freebsd-questions@FreeBSD.ORG Mon Sep 20 21:13:24 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 73CEA16A4CF for ; Mon, 20 Sep 2004 21:13:24 +0000 (GMT) Received: from its-mail1.massey.ac.nz (its-mail1.massey.ac.nz [130.123.128.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 967A743D45 for ; Mon, 20 Sep 2004 21:13:23 +0000 (GMT) (envelope-from bdh@inspire.net.nz) Received: from its-mm1.massey.ac.nz (its-mm1 [130.123.128.45]) by its-mail1.massey.ac.nz (8.9.3/8.9.3) with ESMTP id JAA31878; Tue, 21 Sep 2004 09:13:21 +1200 (NZST) Received: from its-campus2.massey.ac.nz (Not Verified[130.123.48.254]) by its-mm1.massey.ac.nz with NetIQ MailMarshal id ; Tue, 21 Sep 2004 09:13:21 +1200 Received: from [192.168.0.142] (it011069.massey.ac.nz [130.123.246.57]) by its-campus2.massey.ac.nz (8.9.3/8.9.3) with ESMTP id JAA07148; Tue, 21 Sep 2004 09:13:21 +1200 (NZST) Message-ID: <414F47F3.9060608@inspire.net.nz> Date: Tue, 21 Sep 2004 09:13:23 +1200 From: Bruce Harding User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-nz, en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: richard@net-solutions.net.nz Subject: vinum software raid as boot drive 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: Mon, 20 Sep 2004 21:13:24 -0000 We are currently trying to set up server with software raid using vinum on 5.3. We plan to use it as a Mirrored root filesystem So far we have followed Greg Lehey's instructions from http://www.daemonnews.org/200002/vinum.html and the handbook on vinum: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-root.html note we are only using a single / partition. output of bsdlabel: # size offset fstype [fsize bsize bps/cpg] a: 141315997 2048000 4.2BSD 2048 16384 28552 b: 2047719 281 swap c: 143363997 0 unused 0 0 # "raw" part, don't edit h: 143363981 16 vinum vinum Description File drive rootdev device /dev/da0s1h volume root plex org concat sd len 141315997s driveoffset 2047984s drive rootdev volume swap plex org concat sd len 2047719s driveoffset 265s drive rootdev We could not find stated exactly anywhere, but we are presuming the description file that you use with vinum create becomes /etc/vinum.conf When we execute vinum create it appears to work fine. The Devices are created in /dev/vinum/ and we can do a fsck -n -t ufs /dev/vinum/root which outputs no errors The problem is when we reboot the devices in /dev/vinum are destroyed ( presume this is normal behaviour ) but they are not created on boot. /boot/loader.conf vinum_load="YES" vinum.autostart="YES" Have also tried /boot/loader.conf with: vinum_load="YES" vinum.autostart="YES" vinum_root="root" vinum_drives="/dev/da0s1h" both with exactly the same result. When booting we get the message vinum: loaded vinum: no drives found any help much appreciated. please cc me in replies.