From owner-freebsd-questions@FreeBSD.ORG Thu Sep 29 19:59:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7F7A916A41F for ; Thu, 29 Sep 2005 19:59:23 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from relay01.roc.ny.frontiernet.net (relay01.roc.ny.frontiernet.net [66.133.182.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id D90FD43D49 for ; Thu, 29 Sep 2005 19:59:21 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter03.roc.ny.frontiernet.net (filter03.roc.ny.frontiernet.net [66.133.183.70]) by relay01.roc.ny.frontiernet.net (Postfix) with ESMTP id D65663640C3; Thu, 29 Sep 2005 19:59:20 +0000 (UTC) Received: from relay01.roc.ny.frontiernet.net ([66.133.182.164]) by filter03.roc.ny.frontiernet.net (filter03.roc.ny.frontiernet.net [66.133.183.70]) (amavisd-new, port 10024) with LMTP id 18105-03-27; Thu, 29 Sep 2005 19:59:20 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-51-164-214.dsl1.elk.ca.frontiernet.net [67.51.164.214]) by relay01.roc.ny.frontiernet.net (Postfix) with ESMTP id 61FE836402B; Thu, 29 Sep 2005 19:59:04 +0000 (UTC) Received: from [165.107.42.123] (unknown [165.107.42.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 051CB154A34; Thu, 29 Sep 2005 12:59:03 -0700 (PDT) Message-ID: <433C4718.6050809@mykitchentable.net> Date: Thu, 29 Sep 2005 12:57:12 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD usergroup References: <57416b300509290428dc2bc97@mail.gmail.com> <334F213D-52A9-4157-B6B8-E961EF47DC31@amadeus.demon.nl> In-Reply-To: <334F213D-52A9-4157-B6B8-E961EF47DC31@amadeus.demon.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter03.roc.ny.frontiernet.net Cc: Peter Clutton , FreeBSD Questions Subject: Re: Help setting up Vinum mirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 19:59:23 -0000 On 9/29/2005 10:04 AM FreeBSD usergroup wrote: > > On 29 sep 2005, at 13:28, Peter Clutton wrote: > > >> Hi, I have gone through the docs on this but am just missing a >> couple of points >> conceptually, and would be grateful for any help. >> >> Basically i have created two slices on two IDE drives and mounted them >> (through fdisk, label etc), and had that all up and running correctly. >> I then went into Vinum in interactive mode and (hopefully) created a >> mirror by typing >> mirror -d /dev/ad0s2d /dev/ad1s1d . It then gave me successful >> messages and gave the drive a name and said it's "up". >> >> I'm just wondering after this point, can i just type quit and it's up >> and running? I noticed on reboot the directories that were my mount >> point for these partitions say they are "not a directory" now. Do i >> need to go on and mount the mirror? Or did i make a mistake mounting >> these partitions before creating the mirror. How do i utilize it after >> issuing the mirror command. >> Many thanks in advance. >> > > Which FBSD release do you use? > > basically (FBSD < 5.3) > for vinum you just have to type: > vinum start > after a reboot and it'll read the config from the disks and put the > volume in /dev/vinum/ > from there you can mount it manually or add a line to /etc/fstab Neither of this is probably necessary. Vinum started automatically when 'vinum' was typed on the console to create the mirror. Once the mirror was created and shown as 'up', the volume was created in /dev/vinum. However there is something you need to add to /etc/rc.conf to have vinum start automatically upon booting and thus make your volume available for mounting. Seems it was 'vinum_enable = "yes"' or something like that. Search /etc/defaults/rc.conf for the exact line. HTH, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com