From owner-freebsd-geom@FreeBSD.ORG Fri Jan 6 13:19:18 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 E4DCD16A41F; Fri, 6 Jan 2006 13:19:18 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58A6F43D45; Fri, 6 Jan 2006 13:19:18 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k06DJHSi061801; Fri, 6 Jan 2006 07:19:17 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43BE6E41.1060509@centtech.com> Date: Fri, 06 Jan 2006 07:18:57 -0600 From: Eric Anderson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060104) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brent Hostetler References: <20060104201149.GC17950@garage.freebsd.pl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1232/Fri Jan 6 05:04:05 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: pjd@freebsd.org, freebsd-geom@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 13:19:19 -0000 Brent Hostetler wrote: >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 ==== /dev/mirror/disk0 >ad4s1 + ad6s1 ==== /dev/mirror/disk1 >ad8s1 + ad10s1 ==== /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??? > > You might just have to reload the mbr. Read man boot0cfg for more details.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------