Subject: Re: Bad Sectors on IBM Drive
To: None <port-i386@netbsd.org, netbsd-help@netbsd.org>
From: Mike Cheponis <mac@Wireless.Com>
List: port-i386
Date: 06/27/2001 16:39:51
I tried the "badsect" program and made some progress; but still no cigar.  Is
there some other way to get this to work?

Thanks!  -Mike


# cd /usr
# mkdir BAD
# badsect BAD  36063056 36063060 35772622 35772608 35772621 36063024 36063025
badsect: block 36063056 in non-data area: cannot attach
badsect: block 36063060 in non-data area: cannot attach
badsect: block 35772622 in non-data area: cannot attach
badsect: block 35772608 in non-data area: cannot attach
badsect: block 35772621 in non-data area: cannot attach
badsect: block 36063024 in non-data area: cannot attach
badsect: block 36063025 in non-data area: cannot attach
badsect: Don't forget to run ``fsck /dev/rwd0e''
# cd /
# fsck /dev/rwd0e
** /dev/rwd0e
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes

CANNOT READ: BLK 35772608
CONTINUE? [yn] y

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 35772621, 35772622,

CANNOT READ: BLK 36063040
CONTINUE? [yn] y

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 36063060,
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
243268 files, 16449135 used, 10956466 free (53882 frags, 1362823 blocks, 0.2% f\
ragmentation)

MARK FILE SYSTEM CLEAN? [yn] y

***** FILE SYSTEM MARKED CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****
#