Disk repair

Richard Jones freebsd at jonze.com
Wed Jul 13 09:49:43 GMT 2005


Hello,

I have a disk which seems to have developed some faults or bad sectors.
fsck yields the following:

> ** /dev/ccd0
> ** Last Mounted on /export
> ** Phase 1 - Check Blocks and Sizes
> 
> CANNOT READ BLK: 50795296
> CONTINUE? yes
> 
> THE FOLLOWING DISK SECTORS COULD NOT BE READ: 50795409,

etc. there's about 4 sectors/blocks that can't be read. Now I know I
should go and buy a new disk, but I just need this one to keep limping
along for a month or so more.

So my question is, how can I get the OS/BIOS to recognize the disk
sectors as bad, and get over it?

Here's the details

Sun Ultra 10, FreeBSD sol.jonze.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: 
Fri Nov  5 19:30:40 UTC 2004
root at bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64
ad1: 38182MB <MAXTOR 4K040H2/A08.1500> [77578/16/63] at ata3-master WDMA2

And yes, I know I shouldn't be running non-Sun disks in a Sun box, but,
well, it works most of the time :-)

Regards,

Richard

-- 
Richard Jones
http://www.jonze.com


More information about the freebsd-questions mailing list