From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 19:26:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 750F5106568F for ; Fri, 22 Jan 2010 19:26:36 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D6A3D8FC12 for ; Fri, 22 Jan 2010 19:26:35 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0MIXbux022986; Fri, 22 Jan 2010 13:33:37 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o0MIXbSt022985; Fri, 22 Jan 2010 13:33:37 -0500 (EST) (envelope-from jerrymc) Date: Fri, 22 Jan 2010 13:33:37 -0500 From: Jerry McAllister To: Billy Newsom Message-ID: <20100122183337.GB22905@gizmo.acns.msu.edu> References: <4B59E61B.3090504@nlcc.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B59E61B.3090504@nlcc.us> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: How to troubleshoot a frozen boot sequence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 19:26:36 -0000 On Fri, Jan 22, 2010 at 11:53:31AM -0600, Billy Newsom wrote: > I am doing a test run on a production server. It has 2 hard drives. > > ad0 (mounted on /disk250 in a single slice plus SWAP) > twed0 (mounted on / /var /usr and a SWAP) > > The twed0 is a hardware mirror and my main drive. > ad0 is just for backups. > > What the issue is, and you probably know where I'm heading. The boot > process freezes if I remove the ad0 (to test a drive failure condition) > > It freezes after saying: > BTX boot loader.... etc. I don't see any indication that your ad0 has any provision for hotswap. It isn't in any raid setup. Try taking everything from /dev/ad0 out of /etc/fstab - including both the big partition and the swap partition and then rebooting. ////jerry > > FreeBSD/i386 bootstrap loader 1.1 > It spins for a second, then stops... unless I have ad0 in the computer. > /boot/kernel/kernel text=0x7b03a0 data=0xcdee0 / > > And it never gets to the boot menu. > > So: > > 1. Should I put a new boot0config on the twed0 drive? If so do I boot from > a CD to do that? > > I need to potentially do something also to my disk labels and my fstab so > that I don't boot to single user mode if drive ad0 fails. I haven't done > this exact type of thing before, so I am looking for a little help. > > my fstab: > /dev/ad0s1b none swap sw 0 0 > /dev/twed0s1b none swap sw 0 0 > /dev/twed0s1a / ufs rw 1 1 > /dev/ad0s1d /disk250 ufs rw 2 2 > /dev/twed0s1e /tmp ufs rw 2 2 > /dev/twed0s1f /usr ufs rw 2 2 > /dev/twed0s1d /var ufs rw 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > > I tried to read the MBR from the twed0 drive, and the program couldn't read > it. The one from the ad0 drive is readable and I saved a copy of it. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"