From owner-freebsd-geom@FreeBSD.ORG Fri Jan 6 06:07:50 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org 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 4A5C316A41F for ; Fri, 6 Jan 2006 06:07:50 +0000 (GMT) (envelope-from brenthostetler@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79C4F43D55 for ; Fri, 6 Jan 2006 06:07:49 +0000 (GMT) (envelope-from brenthostetler@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so3245989nzo for ; Thu, 05 Jan 2006 22:07:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LUWHWeC9UsO4GCNdJ5pSg7kEGB7vTfX9VdUUaemvbJOtYLMmva5/fEln+2JOhQ1xvY14USW+dL04M1CLdr+zePkW0MitI1wnxG0Vxnb5BMwcFvdTm5sVWwipcrydS/3/x4lrJhUimk04iCosatoBl1RqdqLEG7a4qPC1DcsDX/U= Received: by 10.36.247.78 with SMTP id u78mr7626459nzh; Thu, 05 Jan 2006 22:07:48 -0800 (PST) Received: by 10.36.88.9 with HTTP; Thu, 5 Jan 2006 22:07:48 -0800 (PST) Message-ID: Date: Thu, 5 Jan 2006 22:07:48 -0800 From: Brent Hostetler To: freebsd-geom@freebsd.org In-Reply-To: <20060104201149.GC17950@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060104201149.GC17950@garage.freebsd.pl> Cc: pjd@freebsd.org Subject: Re: Problems setting up gmirror of live system X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2006 06:07:50 -0000 On 1/4/06, Pawel Jakub Dawidek wrote: > On Tue, Jan 03, 2006 at 03:30:08PM -0800, Brent Hostetler wrote: > +> > +> partition to mount to /usr/home. I believe I can stack the Geom > +> classes correct so > +> > +> this should be possible? > > Yes, sure. How exactly do I do this? Assume I have: ad0s2 + ad2s2 =3D=3D=3D=3D /dev/mirror/disk0 ad4s1 + ad6s1 =3D=3D=3D=3D /dev/mirror/disk1 ad8s1 + ad10s1 =3D=3D=3D=3D /dev/mirror/disk2 disk0 is already has a filesystem which is mounted /usr/home.. Is it just a matter of: # umount /usr/home # gconcat label -v bigdisk /dev/mirror/disk0 /dev/mirror/disk1 /dev/mirror/= disk2 # growfs /dev/concat/bigdisk # mount /dev/concat/bigdisk /usr/home # cp -p /mnt/etc/fstab /mnt/etc/fstab.orig # sed -e 's/dev\/mirror\/disk0/dev\/concat\/bigdisk/g' /mnt/etc/fstab > The output of 2.7 and 2.8 is different, because those disks aren't > really equal in size. This has nothing to do with gmirror. > Try: > > # diskinfo -v /dev/ad[46] They were the same. The error was mine. I have been able to get the mirror working properly! Yeah! ** BIG PROBLEM ** However, I need to move the mirrored disks from the test machine to the server and this is causing bootstrap problems. The drives on the test machine are connected to a pci ide card. On the actual server they will be connected to the onboard ide controller. Tried the switch and it gets to the BTX loader but halts real quick. How do I resolve this issue? Is this just on config file issue or something with MBR? Since when done, the machine will be using the onboard ide, two ide pci cards and a serial ide pci card will I be having issues with the drive order getting screwy??? Thanks for any help and pointers! Brent H.