From owner-freebsd-stable@FreeBSD.ORG Thu Sep 8 11:59:41 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72DD516A41F for ; Thu, 8 Sep 2005 11:59:41 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pastinakel.tue.nl (pastinakel.tue.nl [131.155.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6D7843D45 for ; Thu, 8 Sep 2005 11:59:40 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by pastinakel.tue.nl (Postfix) with ESMTP id 7C42E14D8F8; Thu, 8 Sep 2005 13:59:39 +0200 (CEST) Received: from pastinakel.tue.nl ([127.0.0.1]) by localhost (pastinakel.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41499-03-4; Thu, 8 Sep 2005 13:59:27 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by pastinakel.tue.nl (Postfix) with ESMTP id 6083214D86D; Thu, 8 Sep 2005 13:59:27 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.4/8.13.4/Submit) id j88BxReb027164; Thu, 8 Sep 2005 13:59:27 +0200 (CEST) (envelope-from stijn) Date: Thu, 8 Sep 2005 13:59:27 +0200 From: Stijn Hoop To: Tomas Palfi Message-ID: <20050908115927.GG20229@pcwin002.win.tue.nl> References: <119D03CDAA26274786799627855EC43D403548@indy.enzo.phoenixmedical.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ftEhullJWpWg/VHq" Content-Disposition: inline In-Reply-To: <119D03CDAA26274786799627855EC43D403548@indy.enzo.phoenixmedical.co.uk> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Virus-Scanned: amavisd-new at tue.nl Cc: freebsd-stable@freebsd.org Subject: Re: vinum or gvinum X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 11:59:41 -0000 --ftEhullJWpWg/VHq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, First: do _NOT_ use vinum on 5.4, use gvinum. On Thu, Sep 08, 2005 at 12:43:01PM +0100, Tomas Palfi wrote: > I am still struggling to set up a one way mirror on two 72GB disks on > 5.4 intel platform, however, there seems to be a lot of confusion about > what to use in the first place. this is vinum v gvinum. gvinum. Just to be safe you could move the vinum command and kernel modules out of the way. > Tried to configure the same with gvinum replicating the vinum.conf, > however, still nothing. Did you start from scratch by wiping the former configuration without loadi= ng gvinum? Use # dd if=3D/dev/zero of=3D/dev/da0 bs=3D1m count=3D128 to be sure. Do this WITHOUT loading any of the vinum modules. > You know, when you are creating the vinum > volume in bsdlabel and offsetting it with 16 blocks giving it vinum > format, do you change this for gvinum as well??? my config would not > have it, I can save it? I don't understand this. Here is my gvinum.conf for my mirrored system at home: %%% drive pain device /dev/ad4s1e drive panic device /dev/ad6s1e volume root plex org concat sd length 192m drive pain plex org concat sd length 192m drive panic volume swap plex org concat sd length 2080m drive pain plex org concat sd length 2080m drive panic volume usr plex org concat sd length 6g drive pain plex org concat sd length 6g drive panic volume var plex org concat sd length 256m drive pain plex org concat sd length 256m drive panic volume local plex org concat sd length 0 drive pain plex org concat sd length 0 drive panic %%% Be aware that gvinum's configuration syntax only allows the short forms for many keywords. /dev/ad4s1 and /dev/ad6s1 have this label: %%% [stijn@firsa] <~> sudo bsdlabel ad4s1 # /dev/ad4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 393216 281 4.2BSD 0 0 0 c: 156249009 0 unused 0 0 # "raw" part, don'= t edit e: 156248993 16 vinum %%% > I also tried the geom_vinum_load=3D"YES" in the /boot/loader.conf, > however, should I have vinum.autostart=3D"YES" there as well for the > gvinum?? No, vinum.autostart is for legacy vinum. > On another occasion I have edited /etc/rc.d/vinum changing the > start_cmd to "gvinum start" - nothing happened??? Don't do that, it's not necessary to edit anything in /etc/rc.d. > Also in the vinum.conf file that I laboriously create each time I try, > is the=20 >=20 > drive Master device /dev/da0s1h=20 >=20 > with the h which is the slice which I create in the bsdlabel or is it > the device name /dev/da0s1a for the root volume?? Non of it worked for > me. Use only vinum BSD partitions for gvinum drive declarations. > Help me out from here please. This is supposed to be a production > server and I have spent two days on it already. =20 Keep at it until it makes sense, that's what I did. There are a lot of concepts to get until it clicks. HTH, --Stijn --=20 My server has more fans than Britney. -- Steve Warwick, from a posting at questions@freebsd.org --ftEhullJWpWg/VHq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDICeeY3r/tLQmfWcRAosbAJ48QIvoNJCfFNCVwkTNJtryAWvz1gCdFHPr bMPmY9rpZ9Ayna9QFZkXUH0= =pjIB -----END PGP SIGNATURE----- --ftEhullJWpWg/VHq--