input/output error on hd

Jerry McAllister jerrymc at msu.edu
Sun Feb 25 03:19:17 UTC 2007


On Fri, Feb 23, 2007 at 05:13:37PM -0500, Marty Landman wrote:

> On 2/23/07, Jerry McAllister <jerrymc at msu.edu> wrote:
> >
> >
> >I would go back to that  bsdlabel ad1s1  and edit the 'a' partition
> >
> 
> Also changed the size and offset to match the 'c' partition. Looks like
> progress here but still haven't gotten all the way to a mount as you can
> see:
> 
> 
> %sudo bsdlabel -e /dev/ad1s1
> # /dev/ad1s1:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>  a: 490223412        0    4.2BSD        0     0
>  c: 490223412        0    unused        0     0         # "raw" part, don't
> edit
> ~
> ~
> ~
> /tmp/EdDk.YyKf4oHslF: 5 lines, 223 characters.
> %sudo fsck /dev/ad1s1a
> ** /dev/ad1s1a
> 
> CANNOT READ BLK: 128
> CONTINUE? [yn] y
> 
> THE FOLLOWING DISK SECTORS COULD NOT BE READ: 128, 129, 130, 131, 132, 133,
> 134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
> /dev/ad1s1a: INCOMPLETE LABEL: type 4.2BSD fsize 0, frag 0, cpg 0, size
> 490223412
> %sudo mount /dev/ad1s1a /hoss
> mount: /dev/ad1s1a: Input/output error
> %sudo fsck -y /dev/ad1s1
> fsck: Could not determine filesystem type
> %

Well, I think you are past any label problems now and on to the
bad sectors and/or finding superbocks.    Although I am not quite clear
from above what resulted in the 'INCOMPLETE LABEL...'  message.

////jerry

> 
> 
> Marty


More information about the freebsd-questions mailing list