From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 00:18:10 2003 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 23CC416A4B3 for ; Sat, 4 Oct 2003 00:18:10 -0700 (PDT) Received: from front3.mail.megapathdsl.net (front3.mail.megapathdsl.net [66.80.60.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DA7543FE1 for ; Sat, 4 Oct 2003 00:18:09 -0700 (PDT) (envelope-from aarong@megapathdsl.net) Received: from [64.32.182.44] (HELO megapathdsl.net) by front3.mail.megapathdsl.net (CommuniGate Pro SMTP 4.1.3) with ESMTP id 101970735 for freebsd-questions@freebsd.org; Sat, 04 Oct 2003 00:18:09 -0700 Date: Sat, 4 Oct 2003 00:17:44 -0700 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: aarong To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) Subject: Issues mirroring drives with Vinum in FreeBSD 4.8-RELEASE 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: Sat, 04 Oct 2003 07:18:10 -0000 I've successfully installed and converted a FreeBSD 4.8 install into a bootable Vinum volume many times; however mirroring that volume onto a second identical drive is proving difficult. Per Greg Lehey's instructions in chapter 12 of "The Complete FreeBSD 4th Edition", I've setup a bootable Vinum volume and then attempted to mirror it by creating a second Vinum config file, detailing the second drive and how the new volumes should be setup. This works fine, and Vinum will successfully complete mirroring the all the volumes, however fsck will fail everytime. Hence when rebooting, everything goes to hell and a hand basket. I can fsck the volumes before mirroring without a problem, it's only after Vinum completes mirroring the volumes that fsck complains. Both drives are identical Seagate Cheetah X15's, with swap taking 1000M, root 125M, var taking 4000M, and usr taking the rest. I tried installing FreeBSD, and creating both Vinum volumes at the same time with the same effect. /boot/loader.conf: vinum_load="YES" vinum.drives="/dev/da0 /dev/da1" vinum.root="root" disklabel da0s1: # size offset fstype [fsize bsize bps/cpg] a: 256000 2048000 4.2BSD 2048 16384 94 # (Cyl. 127*- 143*) b: 2047719 281 swap # (Cyl. 0*- 127*) c: 71681967 0 unused 0 0 # (Cyl. 0 - 9728*) e: 8192000 2304000 4.2BSD 2048 16384 89 # (Cyl. 143*- 653*) f: 61185967 10496000 4.2BSD 2048 16384 89 # (Cyl. 653*- 9728*) h: 71681967 16 vinum # (Cyl. 0*- 9728*) disklabel da1s1: # size offset fstype [fsize bsize bps/cpg] a: 256000 2048000 4.2BSD 2048 16384 94 # (Cyl. 127*- 143*) b: 2047719 281 swap # (Cyl. 0*- 127*) c: 71681967 0 unused 0 0 # (Cyl. 0 - 9728*) e: 8192000 2304000 4.2BSD 2048 16384 89 # (Cyl. 143*- 653*) f: 61185967 10496000 4.2BSD 2048 16384 89 # (Cyl. 653*- 9728*) h: 71681967 16 vinum # (Cyl. 0*- 9728*) /vinum.config: drive alpha device /dev/da0s1h drive beta device /dev/da1s1h volume root plex org concat sd len 256000s driveoffset 2047984s drive alpha plex org concat sd len 256000s driveoffset 2047984s drive beta volume swap plex org concat sd len 2047719s driveoffset 265s drive alpha plex org concat sd len 2047719s driveoffset 265s drive beta volume var plex org concat sd len 8192000s driveoffset 2303984s drive alpha plex org concat sd len 8192000s driveoffset 2303984s drive beta volume usr plex org concat sd len 145800322s driveoffset 10495984s drive alpha plex org concat sd len 145800322s driveoffset 10495984s drive beta vinum create /vinum.config vinum start root.p1 vinum start var.p1 vinum start swap.p1 vinum start usr.p1 Obviously I'm missing a vital step here but I'm completely at a loss as to what it may be. The Handbook clearly outlines how to mirror volumes and as far as I can tell, the above should work flawlessly. I run into the same issues with 5.1-RELEASE. Comments, criticism, and answers are all appreciated. Please CC me as I am not subscribed to this list. -aarong