From owner-freebsd-geom@FreeBSD.ORG Sun Jan 8 21:43:09 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 0469E16A420 for ; Sun, 8 Jan 2006 21:43:09 +0000 (GMT) (envelope-from brenthostetler@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E1EC43D48 for ; Sun, 8 Jan 2006 21:43:07 +0000 (GMT) (envelope-from brenthostetler@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so3744314nzo for ; Sun, 08 Jan 2006 13:43:07 -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=UGUfJUbxxzL+awA5WVEbQZdaNNco2ehs0Hb2oqZHElL2+78KxHjtHgyRmRG7Y+V9INYj3JkNNmG0O4QP+RD9hJgzcFAkC8EZHwIpMUjAqFRElnfkCd1MT5PSp214S8IGQIyou+oRc3QR1XNZou4lA4k3PgH12RZiYXfNEodl2Wo= Received: by 10.36.221.48 with SMTP id t48mr11625160nzg; Sun, 08 Jan 2006 13:43:07 -0800 (PST) Received: by 10.36.88.9 with HTTP; Sun, 8 Jan 2006 13:43:06 -0800 (PST) Message-ID: Date: Sun, 8 Jan 2006 13:43:06 -0800 From: Brent Hostetler To: Eric Anderson In-Reply-To: <43BE6E41.1060509@centtech.com> 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> <43BE6E41.1060509@centtech.com> 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: Sun, 08 Jan 2006 21:43:09 -0000 On 1/6/06, Eric Anderson wrote: > Brent Hostetler wrote: > > >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 detail= s.. > > Eric Well, I have discovered that I am very confused on how FreeBSD handles its boot stages... Now I have managed to hose the drive to the point that it will not boot with drives on either controller. I did did a boot0cfg -B on both drives and then moved them to the new controller and rebooted. I get to the first two stages fine: >> FreeBSD/i386 BOOT Default: 0:ad(0,a)/boot/loader boot: I can issue the following: boot: 0:ad(0,a)/boot/? and see the listing of the files including loader. However, once the loader tries to go my machine hangs with the following: BTX loader 1.00 BTX version 1.01 Consoles: internal video/keyboard BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS 640kb/490432kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@x64.samsco.home, Thu Nov 3 07:33:10 UTC 2005) - And the machine goes no further... At this point I have pulled one of the mirrored disks so hopefuly in the process of learning whats going on I keep one valid drive. I can boot with fixit CDROM and mount the drive and see all the data is fine and dandy, just cant boot.. Seems there is a config issue with the loader?? Any help would be appreciated! Im pulling my hair out reading the man pages trying to figure this out... Thanks, Brent ----- Misc Info. Fixit# fdisk -s ad0 /dev/ad0: 4961616 cyl 1 hd 63 sec Part Start Size Type Flags 1: 63 83885697 0xa5 0x80 2: 83886201 228695607 0xa5 0x00 Fixit# boot0cfg -v ad0 # flag start chs type end chs offset =20 size 1 0x80 0: 1: 1 0xa5 275: 15:63 63 8388= 5697 2 0x00 276 7: 1 0xa5 852L 15:63 83886201 228695607 version=3D1.0 drive=3D0x80 mask=3D0xf ticks=3D182 options=3Dpacket,update,nosetdrv default_selection=3DF1 (Slice 1) Fixit# mount /dev/ad0s1a /mnt Fixit# cd /mnt/boot Fixit# ls beastie.4th boot2 kernel/ loader.rc screen.4th boot cdboot loader* mbr support.= 4th boot0 defaults/ loader.4th modules/ boot0sio device.hints loader.conf pxeboot boot1 frames.4th loader.help reboot.core Fixit# cat loader.conf geom_mirror_load=3D"YES"