input/output error on hd

Marty Landman martster at gmail.com
Fri Feb 23 22:13:40 UTC 2007


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
%


Marty


More information about the freebsd-questions mailing list