From owner-freebsd-questions@FreeBSD.ORG Fri Feb 9 20:28:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05EAB16A400 for ; Fri, 9 Feb 2007 20:28:23 +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 B037213C494 for ; Fri, 9 Feb 2007 20:28:22 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) 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 l19KQj6g031426; Fri, 9 Feb 2007 15:26:45 -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 l19KQj5W031425; Fri, 9 Feb 2007 15:26:45 -0500 (EST) (envelope-from jerrymc) Date: Fri, 9 Feb 2007 15:26:45 -0500 From: Jerry McAllister To: Marty Landman Message-ID: <20070209202645.GA31381@gizmo.acns.msu.edu> References: <70063950702090446x712d7a94vb3b2a613a426d760@mail.gmail.com> <20070209152714.GA30383@gizmo.acns.msu.edu> <70063950702090906u1504a085j60dc7abc5121c28c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70063950702090906u1504a085j60dc7abc5121c28c@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: recovery after power outage 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, 09 Feb 2007 20:28:23 -0000 On Fri, Feb 09, 2007 at 12:06:20PM -0500, Marty Landman wrote: > On 2/9/07, Jerry McAllister wrote: > > > >On Fri, Feb 09, 2007 at 07:46:10AM -0500, Marty Landman wrote: > > > >> %sudo fsck -F ad1s1c > >> fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file > >or > >> directory > >> fsck: exec fsck_unused for /dev/ad1s1c in /sbin:/usr/sbin: No such file > >or > >> directory > >> > >> What is that telling me? > > > >Never saw that before, but it looks like it can't find /dev/ad1s1c > > > Ok. > > Did you copy/paste this or retype it in by hand > > > Retyped that by hand iirc, however now that I'm booting also have an ssh > session up so no more typos. Kind of guessed it was just a typo. > > Maybe using fdisk manually will give some more information. > >From root, run: fdisk ad1 > > > %sudo fdisk ad1 > Password: > ******* Working on device /dev/ad1 ******* > parameters extracted from in-core disklabel are: > cylinders=486344 heads=16 sectors/track=63 (1008 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=486344 heads=16 sectors/track=63 (1008 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 490223412 (239366 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 254/ sector 63 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > % Hmmm. That looks pretty normal to me. This does not look like the 'dangerously dedicated' disk that I mentioned earlier. What does bsd label show for it? As root, do: bsdlabel ad1s1 If that has a usable label, then I think the next thing is to try and read up and check the first and maybe a later superblock. That I would have to study on. I did that maybe 9 years ago and don't remember what I did. ////jerry > > Marty > > -- > Web Installed Formmail - http://face2interface.com/formINSTal/ > Webmaster's BBS - http://bbs.face2interface.com/ > _______________________________________________ > 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"