From owner-freebsd-geom@FreeBSD.ORG Mon Apr 25 02:47:23 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3345E16A4CE for ; Mon, 25 Apr 2005 02:47:23 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BF1E43D53 for ; Mon, 25 Apr 2005 02:47:22 +0000 (GMT) (envelope-from jclaeson@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so894252nzo for ; Sun, 24 Apr 2005 19:47:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E9jBbw6obBRRsXmOZLs/SQ4uiBEdR96jM9V2O8AKpwxTZqqBmZUJccqViLUYuoCTPOwFs34JIX0XVJegue88usRQeLpAx9mnLxIQn57jTmJ10rFQrrHxcwQ9TdP4FOIBXK5p8fNIlau9FHVfD1r3r6OCYcjBEE/SIXdp51slFJE= Received: by 10.36.91.2 with SMTP id o2mr363454nzb; Sun, 24 Apr 2005 19:47:22 -0700 (PDT) Received: by 10.36.103.4 with HTTP; Sun, 24 Apr 2005 19:47:21 -0700 (PDT) Message-ID: <16a400ac050424194712d4eca0@mail.gmail.com> Date: Sun, 24 Apr 2005 22:47:21 -0400 From: Jeremy Claeson To: freebsd-geom@freebsd.org In-Reply-To: <16a400ac05041317272eb1ea01@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4250A400.50200@videotron.ca> <4250F778.3040903@zvala.cz> <4251F631.3050707@videotron.ca> <20050404213800.A29631@denninger.net> <16a400ac05041317272eb1ea01@mail.gmail.com> Subject: Re: mirroring two data disks (no system files on them) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeremy Claeson List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 02:47:23 -0000 I'm still confused. I've seen some great emails on some things that seem pretty complicated to me, but I've yet to hear from anyone who can walk me through what I'm doing wrong. Maybe I'm doing something too complicated, can someone let me know that at least? Thanks! Please help and thanks in advance! On 4/13/05, Jeremy Claeson wrote: > I'm trying to do the same thing but I've not had any luck still. I'm > messing up somewhere in preparing the drives. I've got two 250GB > drives (ad4 and ad6). I'd like to mirror them as data disks. >=20 > Here's what I'm doing: > $ /stand/sysinstall > (fdisk and label ad4 as /usr/sambashares/data and writing that out to > disk. this works and I can access the disk) > $ /stand/sysinstall > (fdisk ad6 and write that out to disk) > $ gmirror label -v -n -b round-robin gm0s1 /dev/ad3s1 > $ gmirror load > (Here everything looks ok but I get a warning: > "WARNING: Expected rawoffset 0, found 63" > "GEOM_MIRROR: Cannot add disk mirror/gm0s1c to gm0s1 (error=3D17).") > $ gmirror configure -a gm0s1 > (at this point I get an error that says "Bad address" and then nothing > else works.) >=20 > [root@epiphyte jclaeson]# ls /dev/ad4* /dev/ad6* > /dev/ad4 /dev/ad4s1 /dev/ad4s1c /dev/ad4s1d /dev/ad6 >=20 > [root@epiphyte jclaeson]# ll /dev/mirror/ > total 1 > dr-xr-xr-x 2 root wheel 512 Apr 13 20:19 ./ > dr-xr-xr-x 5 root wheel 512 Apr 13 16:13 ../ > crw-r----- 1 root operator 4, 30 Apr 13 20:13 gm0 > crw-r----- 1 root operator 4, 31 Apr 13 20:13 gm0s1 > crw-r----- 1 root operator 4, 31 Apr 13 20:13 gm0s1 > crw-r----- 1 root operator 4, 33 Apr 13 20:13 gm0s1c > crw-r----- 1 root operator 4, 33 Apr 13 20:13 gm0s1c >=20 > [root@epiphyte jclaeson]# bsdlabel ad4s1 > # /dev/ad4s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 488392002 0 unused 0 0 # "raw" part, > don't edit > d: 488392002 0 4.2BSD 2048 16384 28552 >=20 > [root@epiphyte jclaeson]# bsdlabel ad6s1 > bsdlabel: /dev/ad6s1: No such file or directory > [root@epiphyte jclaeson]# bsdlabel ad6 > bsdlabel: /dev/ad6: no valid label found > [root@epiphyte jclaeson]# >=20 > So, I'm sure I'm preppring the disks wrong, I'm just not sure what I'm > doing wrong. >=20 > Thanks in advance for your help and advice! >=20 > ~jeremy >=20 >=20 > On 4/4/05, Karl Denninger wrote: > > On Mon, Apr 04, 2005 at 10:21:37PM -0400, Christian Caron wrote: > > > Tomas Zvala a =E9crit : > > > > did /dev/ad3s1 contain filesystem already? did you do newfs > > > > /dev/mirror/gm0s1 ? what does it mean "dies"? what does it say? > > > > > > Ok... man newfs shed some light on how to prepare a new disk... > > > > > > newfs -U /dev/mirror/gm0s1 > > > mkdir /mirror > > > mount /dev/mirror/gm0s1 /mirror > > > > > > did the trick. It boots ok and it seems to work (gmirror list does > > > return something, although it says "DIRTY" which doesn't sound > > > excellent...). > > > > > > I'll read the manual. > > > > > > Thanks! > > > > > > Christian > > > > "Dirty" is normal. It means the volume is mounted and has data on it, = and > > is not "clean", just as a mounted disk is "dirty" while it is actually > > mounted. > > > > -- > > -- > > Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights A= ctivist > > http://www.denninger.net My home on the net - links to everythin= g I do! > > http://scubaforum.org Your UNCENSORED place to talk about DIV= ING! > > http://www.spamcuda.net SPAM FREE mailboxes - FREE FOR A LIMITE= D TIME! > > http://genesis3.blogspot.com Musings Of A Sentient Mind > > > > > > _______________________________________________ > > freebsd-geom@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > > >