recovery after power outage

Jerry McAllister jerrymc at msu.edu
Fri Feb 9 20:28:23 UTC 2007


On Fri, Feb 09, 2007 at 12:06:20PM -0500, Marty Landman wrote:

> On 2/9/07, Jerry McAllister <jerrymc at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list