Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 15:26:45 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Marty Landman <martster@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: recovery after power outage
Message-ID:  <20070209202645.GA31381@gizmo.acns.msu.edu>
In-Reply-To: <70063950702090906u1504a085j60dc7abc5121c28c@mail.gmail.com>
References:  <70063950702090446x712d7a94vb3b2a613a426d760@mail.gmail.com> <20070209152714.GA30383@gizmo.acns.msu.edu> <70063950702090906u1504a085j60dc7abc5121c28c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 09, 2007 at 12:06:20PM -0500, Marty Landman wrote:

> On 2/9/07, Jerry McAllister <jerrymc@msu.edu> 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:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
> %


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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070209202645.GA31381>